Download the PHP package medienreaktor/neos-api-mcp without Composer

On this page you can find all versions of the php package medienreaktor/neos-api-mcp. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package neos-api-mcp

Medienreaktor.NeosApi.Mcp

An MCP server for Neos 9, built on Medienreaktor.NeosApi. Claude and other MCP clients work with your content as a signed-in Neos user: read pages, content and node types, write through the content repository's commands into a workspace, review the changes and publish them.

Requires Neos ^9.1, PHP ^8.2 and medienreaktor/neos-api ^1.14.

Enabling it

The endpoint is off by default. /mcp and its discovery document answer 404 until a distribution switches them on:

MCP clients such as Claude register themselves via OAuth dynamic client registration. The Neos API ships it disabled outside the Development context, so enable it as well where clients should connect (see the Neos API README for the trade-off):

If the site sits behind HTTP basic auth, exclude /mcp and /.well-known/oauth-protected-resource/mcp from it, like /api, /oauth and /.well-known — the client sends a bearer token in the Authorization header.

Connecting a client

Sign-in opens the Neos login and the consent screen of the Neos API. The scopes the editor approves narrow what the client may do: neos.read, neos.write (content commands), neos.publish (publish and discard), neos.media.

Tools

Tool API operation
get_me getMe read
list_sites listSites read
list_dimensions listDimensions read
list_workspaces listWorkspaces read
get_workspace getWorkspace read
list_workspace_changes listWorkspaceChanges read
list_node_types listNodeTypes read
get_node_type getNodeType read
get_node getNode read
get_node_relation getNodeRelation read
render_node renderNode read
list_assets listAssets read
get_asset getAsset read
execute_commands executeCommandBatch write
publish_workspace publishWorkspace publish
discard_workspace discardWorkspace publish

The list is configuration (Medienreaktor.NeosApi.Mcp.tools): tool name ⇒ OpenAPI operation, plus readOnly / destructive for the MCP tool annotations. Any API operation with path/query parameters and an optional JSON body can be added; set an entry to null to remove a tool.

Medienreaktor.NeosApi.Mcp.instructions is sent to the client on connect and tells the model how to work with the tools (find the personal workspace, read node types before writing, write into the workspace, publish only when asked). Distributions can extend it with site-specific hints.

Errors

Caches

License

GPL-3.0-or-later, see LICENSE.


All versions of neos-api-mcp with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
neos/neos Version ^9.1
medienreaktor/neos-api Version ^1.14
mcp/sdk Version ^0.8.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package medienreaktor/neos-api-mcp contains the following files

Loading the files please wait ...