Skip to content

rasuvaeff/mcp-openapi ​

Serve allow-listed OpenAPI operations as MCP tools.

bash
composer require rasuvaeff/mcp-openapi
NamespaceRasuvaeff\Mcp\OpenApi
Repositorygithub.com/rasuvaeff/mcp-openapi
RequirementsPHP 8.3 – 8.6, rasuvaeff/mcp ^0.1, rasuvaeff/openapi-contract ^0.19

Key classes ​

ClassRole
OpenApiBridgeFactoryBuilds the bridge from a spec and PSR services.
OpenApiServerConfiguratorRegisters the allow-listed operations.
OperationModifierInterfaceCustomizes a tool per operation.
SpecLoaderFetches a URL spec, with an optional PSR-16 cache.

See the API reference for every @api class.