1. Conduid
  2. Developer Tools
  3. Statamic MCP
MCP server · Developer Tools

Statamic MCP

MCP (Model Context Protocol) server for Statamic CMS v6 — gives AI assistants structured access to content, blueprints, assets, and more.

Unclaimed MIT devtools
55Fair

Scored 13 days ago · breakdown

About Statamic MCP

Statamic MCP is an MCP server published by cboxdk in the Developer Tools category: mCP (Model Context Protocol) server for Statamic CMS v6 — gives AI assistants structured access to content, blueprints, assets, and more.

The repository has 37 stars and 12 forks, with the last commit 10 days ago. Recent commit activity is the strongest signal that reported issues will get attention.

Install

From source
git clone https://github.com/cboxdk/statamic-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Statamic MCP

Powered by Claude · Grounded in docs

I know everything about Statamic MCP. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 6 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • !Dependencies pinnedNo lockfile. Installs can pull different code over time.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

v3.2.1v3.2.1 — Dates at every level · 13 Oct 2026Fixed Dates inside grids, replicators and groups no longer block every update (#64, @alexmzk) — Statamic validates a date field in the format the Control Panel submits (ISO 8601 Zulu, or `Y-m-d` when the save format has no time), while the…
v3.2.0v3.2.0 — Editors as first-class MCP users · 7 Oct 2026Five pull requests from @JorisOrangeStudio, all found while giving a hotel's editors MCP access on a production site. That is the setup this server had seen least: a user who may write content but configures nothing. Added Scopes follow…
v3.1.0v3.1.0 — Issue fixes for 3.0.0 · 19 Sep 2026Six issues reported against 3.0.0, all with root-cause analysis good enough to go straight to the fix. Thanks to @JorisOrangeStudio and @revans-premier-education. Security `generate` no longer bypasses the write gates (#56) —…
v3.0.0v3.0.0 — Laravel MCP 1.0 · 16 Sep 2026Requires laravel/mcp ^1.0. Legacy MCP clients still connect: a client sending `initialize` with protocol 2025-06-18 or 2025-11-25 negotiates as before. Breaking `laravel/mcp` is now `^1.0` only. 1.0 replaces the `initialize` handshake with…
v2.10.1v2.10.1 · 12 Sep 2026Patch release. Two silent-failure bugs in the entry write path — both cases where a write returned `"success": true` and did not store what was sent. Fixed `create` no longer drops fields for every collection after the first (#52)…

README

Statamic MCP Server

A comprehensive MCP (Model Context Protocol) server for Statamic CMS v6 that provides AI assistants with structured access to Statamic's content management capabilities through a modern router-based architecture.

Requirements

  • PHP 8.3+
  • Laravel 12+
  • Statamic 6.6+
  • Laravel MCP ^1.0

Installation

# Install via Composer
composer require cboxdk/statamic-mcp

# Run the installation command
php artisan mcp:statamic:install

Recommended: Laravel Boost Integration

We recommend installing Laravel Boost alongside this addon for the best experience:

composer require laravel/boost --dev

Laravel Boost provides Laravel-specific tools (Eloquent, database, debugging), while Statamic MCP Server provides Statamic-specific tools (blueprints, collections, entries, assets). Together they give your AI assistant complete coverage.

Web MCP Endpoint

The web MCP endpoint is enabled by default after installation. To customize the path:

STATAMIC_MCP_WEB_PATH="/mcp/statamic"

Create a token in the CP dashboard (Tools > MCP > Tokens), then configure your AI client:

{
    "mcpServers": {
        "statamic": {
            "url": "https://your-site.test/mcp/statamic",
            "headers": {
                "Authorization": "Bearer <YOUR_TOKEN>"
            }
        }
    }
}

See Getting Started for detailed setup or AI Client Setup for client-specific instructions (Claude, Cursor, ChatGPT, Windsurf).

Features

The MCP server organizes Statamic's capabilities into domain routers with action-based routing:

Blueprint Management — statamic-blueprints

Actions: list, get, create, update, delete, scan, generate, types, validate

List, inspect, create, and modify blueprints. Generate TypeScript/PHP types from field definitions. Validate blueprints for conflicts and structural integrity. get accepts a field dot path that scopes the response to one field or set, so a deep format spec fits in a reply.

Entry Management — statamic-entries

Actions: list, get, create, update, localize, delete, publish, unpublish, list_revisions, get_revision, restore_revision, publish_working_copy

Entry operations with filtering and pagination, revision workflows, and localization into other sites. update can merge replicator items by id instead of replacing the whole array.

Term Management — statamic-terms

Taxonomy term operations with slug conflict prevention, dependency validation, and relationship mapping.

Global Management — statamic-globals

Global set structure and values management with multi-site support, change tracking, and field-level filtering.

Structure Management — statamic-structures

Collection, taxonomy, navigation, and site configuration management.

Asset Management — statamic-assets

Asset container and file operations: upload, move, copy, rename, delete with metadata management.

User Management — statamic-users

User CRUD, role assignment, group management with RBAC support.

System Management — statamic-system

System info, health checks, cache management (clear/warm), and configuration access.

Content Workflow Facade — statamic-content-facade

High-level workflow operations: content_audit, content_validate, and cross_reference.

Finding the tools

Three tools are listed when a client connects — statamic-entries, statamic-blueprints and statamic-system-discover. The rest are found with search_tools and run with execute_tools, which keeps ~18 KB of JSON schema out of your context window on every connection. They are fully available and fully gated either way; only their schemas wait until you ask. Set STATAMIC_MCP_SEARCHABLE_CATALOG=false to list all of them directly.

Agent Education Tools

  • statamic-system-discover — Intent-based tool discovery
  • statamic-system-schema — Tool schema inspection

Architecture

Router-Based Design

  • 11 domain routers instead of 140+ individual tools
  • Action-based routing: Each router handles multiple related operations
  • Better AI performance: Fewer tools to choose from, clearer purposes
  • Single file per domain: Easy maintenance and testing

Security

  • Scoped API tokens with 21 granular permissions
  • OAuth 2.1 authorization server with PKCE and dynamic client registration
  • Bearer token + Basic Auth authentication
  • Rate limiting per token
  • Audit logging for all operations
  • Path traversal protection
  • PHPStan Level 9 strict typing

CP Dashboard

Vue 3 dashboard in the Statamic CP (Tools > MCP) with:

  • Connect — Endpoint URL, client config snippets for Claude/Cursor/ChatGPT/Windsurf
  • Tokens — Create, list, and revoke API tokens with scope selection
  • Activity — Audit log of MCP tool calls
  • Settings — System stats, endpoint status, rate limiting

Configuration

php artisan vendor:publish --tag=statamic-mcp-config

Key settings in config/statamic/mcp.php:

  • Web endpoint (enabled, path, HTTPS enforcement)
  • Authentication (scoped tokens, token lifetime, audit logging)
  • Security (force web mode, audit logging, response size limit, unknown-field rejection)
  • Rate limiting (max attempts per minute)
  • Per-domain tool enablement

Development

# Run tests
./vendor/bin/pest
composer test

# Code formatting
./vendor/bin/pint
composer pint

# Static analysis (Level 9)
# The memory limit is required — the default crashes the parallel worker
./vendor/bin/phpstan analyse --memory-limit=2G
composer stan

# Full quality check
composer quality

Quality Standards

  • PHPStan Level 9 with zero errors, no baseline and no suppressions
  • Laravel Pint formatting
  • Strict types on all PHP files
  • Comprehensive test suite

Example Usage

"What version of Statamic is installed?"
"Show me all blueprints and generate TypeScript types"
"Create a new blog entry with title and content fields"
"List all global sets and their current values"
"Clear all caches and show me the status"
"Analyze this Antlers template for performance issues"

Contributing

  1. Fork the repository
  2. Install: composer install
  3. Test: ./vendor/bin/pest
  4. Quality: composer quality
  5. Submit pull request

License

MIT License

README fetched from the repository 6 days ago. The original is authoritative.

Questions

About Statamic MCP

How do I install Statamic MCP?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Statamic MCP safe to use with an AI agent?

Its trust score is 55 out of 100 (fair). It passes 4 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Statamic MCP still maintained?

Yes — the latest release is v3.2.1 (13 Oct 2026), and the last commit was 10 days ago. The repository has 37 stars and 3 open issues.