PHPackages                             stimmt/craft-mcp - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. stimmt/craft-mcp

ActiveCraft-plugin[Utility &amp; Helpers](/categories/utility)

stimmt/craft-mcp
================

MCP (Model Context Protocol) server for Craft CMS

v1.2.2(4mo ago)261.9k↑13.2%3[6 issues](https://github.com/stimmtdigital/craft-mcp/issues)[5 PRs](https://github.com/stimmtdigital/craft-mcp/pulls)MITPHPPHP ^8.3CI passing

Since Jan 3Pushed 1w ago1 watchersCompare

[ Source](https://github.com/stimmtdigital/craft-mcp)[ Packagist](https://packagist.org/packages/stimmt/craft-mcp)[ Docs](https://stimmt.digital)[ RSS](/packages/stimmt-craft-mcp/feed)WikiDiscussions master Synced yesterday

READMEChangelog (7)Dependencies (16)Versions (17)Used By (0)

 [![Craft MCP](src/icon.svg)](src/icon.svg)

 [![CI](https://github.com/stimmtdigital/craft-mcp/actions/workflows/ci.yml/badge.svg)](https://github.com/stimmtdigital/craft-mcp/actions/workflows/ci.yml) [![Total Downloads](https://camo.githubusercontent.com/5c222171e2fabca204a0e21d4bdb26abe26de4fb1b325a4c030a8cb32227633c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7374696d6d742f63726166742d6d6370)](https://packagist.org/packages/stimmt/craft-mcp) [![Latest Stable Version](https://camo.githubusercontent.com/a5bcfb323bb0a60ce4016931db9a9ceb6c9735c34210e0de880a8c32cfd676d1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7374696d6d742f63726166742d6d6370)](https://packagist.org/packages/stimmt/craft-mcp) [![License](https://camo.githubusercontent.com/f72268aeb1deb3b9201433742880c88b88f274f663b1676ad54224ffc4c9d5a8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7374696d6d742f63726166742d6d6370)](LICENSE)

Introduction
------------

[](#introduction)

Craft MCP accelerates AI-assisted development by giving your AI assistant direct access to your Craft installation's content architecture, database schema, and configuration.

At its foundation, Craft MCP is an MCP server equipped with 50 specialized tools, 9 analysis prompts, and 12 data resources designed to streamline AI-assisted workflows in Craft projects. Rather than manually describing your field layouts, Matrix configurations, or entry structures, your AI assistant can query this information directly from your installation, ensuring accurate and context-aware code generation.

The tools span content management (entries, assets, categories, users), schema inspection (sections, fields, volumes, entry types), system administration (configuration, logs, caches, plugins), database operations (schema inspection, query execution), and debugging utilities (queue jobs, deprecations, project config). For advanced use cases, a Tinker tool allows executing PHP code directly within your Craft application context.

Installation
------------

[](#installation)

Craft MCP can be installed via Composer:

```
composer require stimmt/craft-mcp
```

Next, install the plugin through Craft's CLI:

```
php craft plugin/install mcp
```

Then create a configuration file at `config/mcp.php` to enable the MCP server. By default, the server is disabled in production environments for security:

```
