rasuvaeff/mcp-openapi
Serve allow-listed OpenAPI operations as MCP tools.
bash
composer require rasuvaeff/mcp-openapi| Namespace | Rasuvaeff\Mcp\OpenApi |
| Repository | github.com/rasuvaeff/mcp-openapi |
| Requirements | PHP 8.3 – 8.6, rasuvaeff/mcp ^0.1, rasuvaeff/openapi-contract ^0.19 |
Key classes
| Class | Role |
|---|---|
OpenApiBridgeFactory | Builds the bridge from a spec and PSR services. |
OpenApiServerConfigurator | Registers the allow-listed operations. |
OperationModifierInterface | Customizes a tool per operation. |
SpecLoader | Fetches a URL spec, with an optional PSR-16 cache. |
See the API reference for every @api class.