craft-mcp

Installation
SKILL.md
Contains Shell Commands

This skill contains shell command directives (!`command`) that may execute system commands. Review carefully before installing.

Craft MCP, OAuth Server and Personal Access Tokens

Craft Version of This Project

!sh ${CLAUDE_SKILL_DIR}/scripts/craft-version.sh

If no Craft version line appears above, establish the version before any version-specific advice: craftcms/cms in composer.lock for a site, the lowest version the craftcms/cms constraint in composer.json allows for a plugin, or ask. Then check it against the version tags in this skill ([5.12+], [5.12.1+], [changed 5.12.1]).

MCP Needs Craft 5.12 [5.12+]

Everything in this skill is new in Craft 5.12 (2026-11-03). On 5.11 or older there is no MCP server, OAuth server or Tokens screen in core. Before 5.12: upgrade first (ddev composer require craftcms/cms:^5.12.4 -W, then ddev craft up, commit composer.lock and config/project/; checklist: the craftcms skill's upgrade-5.12.md). Target 5.12.4 or later, not 5.12.0: 5.12.1 renamed every tool to snake_case and 5.12.1 through 5.12.3 fixed several security issues (see references/security.md). [5.12+]

Source of truth: Craft's CHANGELOG and the 5.12.4 source (src/mcp/, src/services/Mcp.php, src/services/OAuth.php, src/controllers/McpController.php, src/controllers/OauthController.php). Craft's own docs pages still show the pre-5.12.1 dot-separated tool names; the source wins. [5.12+]

Companion Skills: Load When Needed

Installs
1
GitHub Stars
90
First Seen
1 day ago