Warning
This package may work on Neos 8 but this is NOT TESTED! It is also under development so things can change
Core MCP (Model Context Protocol) server implementation for Neos CMS 9.x.
Important
To get started fast install this FeatureSet:
SJS.Neos.MCP.FeatureSet.Agent — Agent knowledge, analysis, and scenario tools
composer require sjs/neos-mcp sjs/neos-mcp-feature-set-agentThen run the migration
./flow doctrine:migrateServer instances are defined in Configuration/Settings.Server.yaml:
SJS:
Neos:
MCP:
server:
mcp: # <-- This is the default for now
featureSets:
myFeatureSet: \Vendor\Site\MCP\FeatureSet\MyFeatureSetMultiple named server instances can coexist alongside mcp.
Warning
Currently only mcp is used as it is hardcoded for now.
- Create a class extending
AbstractFeatureSetwith#[Flow\Scope("singleton")]. - Implement
initialize()to register tools via$this->addTool(...). - Optionally override
resourcesList(),resourcesRead(),resourcesTemplatesList(),completionComplete(). - Register the class in
Configuration/Settings.Server.yamlunderserver.mcp.featureSets.
AbstractFeatureSet automatically derives a prefix from the class name (e.g., WorkspaceFeatureSet → prefix workspace). Tool names are exposed as {prefix}_{tool_name}.
yarn run mcp-inspector-cliLaunches the MCP Inspector UI for interactive testing.
- SJS.Flow.MCP — Flow framework MCP abstractions (server, tools, FeatureSets)
- SJS.Neos.MCP.OAuth — OAuth 2.0 authentication for the MCP server