Skip to content
← All packages

Statamic MCP

AI-powered development tools for Statamic CMS. 11 router-based MCP tools for blueprints, entries, collections, and more.

Statamic MCP connects your Statamic CMS to AI assistants like Claude, Cursor, ChatGPT, and Windsurf via the Model Context Protocol. Your AI assistant can read blueprints, query entries, manage collections, and understand your content model directly.

AI-Powered CMS Development

11 Router-Based Tools

Instead of 140+ individual tools, v2 uses a router architecture that groups operations by domain. Fewer tools means better AI reasoning and more accurate results.

Scoped API Tokens

21 granular permission scopes in domain:permission format. Give read-only access to blueprints, full access to entries, or any combination. SHA-256 hashed storage.

Control Panel Dashboard

Vue 3 dashboard with Connect, Tokens, Activity, and Settings tabs. Generate AI client configurations with one click.

Audit Logging

Every MCP operation is logged with timestamps, token identity, and operation details. Full visibility into what AI assistants are doing with your content.

Rate Limiting

Per-token rate limits prevent runaway AI loops from overwhelming your site. Configurable per token and globally.

Multi-Client Support

Copy-paste configuration generation for Claude Desktop, Cursor, ChatGPT, and Windsurf. Both CLI (stdio) and web (HTTP) transports.

The router architecture

Version 1 exposed every Statamic operation as its own MCP tool: create_entry, update_entry, delete_entry, list_entries, get_entry, and so on for every resource type. That gave LLMs 140+ tools to choose from, which degraded their reasoning. Version 2 consolidates these into 11 domain routers (entries, blueprints, terms, globals, etc.) where the AI specifies the action as a parameter.

The Statamic MCP control panel dashboard showing connected clients, token management, and recent activity.

Getting started

Install with composer require cboxdk/statamic-mcp, then run php artisan mcp:statamic:install. The CP dashboard guides you through token creation and AI client configuration.