medienreaktor / neos-mcp
Serves the operations of neos/openapi APIs, preconfigured for the Neos API, as MCP tools authorized by Neos.OAuth
Package info
github.com/medienreaktor/Neos.Mcp
Type:neos-package
pkg:composer/medienreaktor/neos-mcp
Requires
- php: ^8.4
- guzzlehttp/psr7: ^2.4
- medienreaktor/neos-api: ^2.0
- medienreaktor/neos-oauth: ^0.1.2
- medienreaktor/neos-openapi-mcp: ^0.4
- neos/flow: ^9.0
- neos/openapi-flowadapter: *
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
An MCP server for Neos on /mcp: every operation of the Neos API (Neos.Api) is a
tool, built by medienreaktor/neos-openapi-mcp. It speaks MCP 2026-07-28
(stateless Streamable HTTP) and, for clients that don't yet, the revisions 2024-11-05 to 2025-11-25 on the same
endpoint, without sessions. Set handshakeEra: false on a server to serve 2026-07-28 only.
Usage
Install the package next to Neos.Api and Neos.OAuth, then add the server to a client, e.g. Claude Code:
claude mcp add --transport http neos https://example.com/mcp
The client logs in through Neos.OAuth with a client ID metadata document or dynamic client registration (both
disabled by default, see Neos.OAuth.clientIdMetadataDocuments and dynamicClientRegistration). Tokens must be
bound to /mcp (RFC 8707). A tool runs as the token's account: it is only listed if the token's scopes and the
account's privileges allow it, as over the API.
The server is configured in Neos.Mcp.servers.neos, see Configuration/Settings.yaml. Other hosts than the OAuth
issuer's go into allowedHosts.
MCP Apps
The server can offer MCP Apps: tools that open an HTML
view in the client. Neos.Mcp ships no views itself. A package adds them by implementing Neos\Mcp\McpAppExtension
(its tools and their ui:// views, see CustomTool and UiResource of medienreaktor/neos-openapi-mcp) and enabling
the implementation for a server:
Neos: Mcp: servers: neos: appExtensions: 'Vendor\Package\Mcp\MyApps': true
The tools of an extension call the server's operations with the caller's token. A tool is listed only if the token
and the account allow all the operations it uses. With operationToolMeta(), an extension can also give operation
tools a _meta, e.g. to hide an operation only its views call from the model (visibility: ["app"]). That is a hint
to the host, not access control: the operation's security applies to every call.
License
MIT, see LICENSE.