Search by

medienreaktor / neos-mcp

danielkestler

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

Statistics

Installs: 163

Dependents: 0

Suggesters: 1

Stars: 0

Open Issues: 0

0.2.0 2026-11-26 09:59 UTC

This package is auto-updated.

Last update: 2026-11-26 12:14:23 UTC


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.