Download the PHP package xp-forge/mcp without Composer
On this page you can find all versions of the php package xp-forge/mcp. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Vendor xp-forge
Package mcp
Short Description Model Context Protocol
License BSD-3-Clause
Homepage http://xp-framework.net/
Package mcp
Short Description Model Context Protocol
License BSD-3-Clause
Homepage http://xp-framework.net/
Please rate this library. Is it a good library?
Informations about the package mcp
Model Context Protocol
Implements the Model Context Protocol for the XP Framework.
Client
Connecting to an MCP server:
Server
Uses the xp-forge/web library:
Run this via xp -supervise web Test.
Organizing code
MCP tools, resources and prompts may be organized into classes as follows:
The web application then becomes this:
Authentication
To add OAuth2 authentication to your server, use the following:
See also
- https://github.com/modelcontextprotocol/servers
- https://modelcontextprotocol.io/docs/learn/server-concepts
- https://modelcontextprotocol.io/specification/2025-06-18
- https://deadprogrammersociety.com/2025/03/calling-mcp-servers-the-hard-way.html
- https://blog.christianposta.com/understanding-mcp-authorization-with-dynamic-client-registration/
All versions of mcp with dependencies
PHP Build Version
Package Version
Requires
xp-framework/core Version
^12.0 | ^11.0 | ^10.2
xp-forge/rest-client Version ^6.0 | ^5.0
xp-forge/web Version ^4.6
xp-forge/json Version ^6.0
xp-forge/web-auth Version ^7.0 | ^6.0
xp-forge/sessions Version ^4.0
php Version >=7.4.0
xp-forge/rest-client Version ^6.0 | ^5.0
xp-forge/web Version ^4.6
xp-forge/json Version ^6.0
xp-forge/web-auth Version ^7.0 | ^6.0
xp-forge/sessions Version ^4.0
php Version >=7.4.0
The package xp-forge/mcp contains the following files
Loading the files please wait ...

