Loading...

An MCP server that loads and serves OpenAPI specifications, enabling LLM-powered IDE integrations for API exploration and code generation within development environments.
Boost this tool
Subscribe to listing upgrades or segmented pushes.
An MCP server that loads and serves OpenAPI specifications, enabling LLM-powered IDE integrations for API exploration and code generation within development environments.
This MCP server is generally safe for exploring APIs and generating code snippets. The primary risk lies in the execution of npx commands and the quality/security of the OpenAPI specifications provided. Ensure specifications are from trusted sources and carefully review generated code before execution. Avoid including sensitive information in the OpenAPI specifications.
Performance depends on the size and complexity of the OpenAPI specifications. Large specifications may impact startup time and catalog refresh operations.
Cost considerations are primarily related to the usage of the connected LLM. More complex API interactions and code generation tasks will consume more LLM tokens.
{
"mcpServers": {
"@reapi/mcp-openapi": {
"command": "npx",
"args": ["-y", "@reapi/mcp-openapi@latest", "--dir", "./specs"],
"env": {}
}
}
}refresh-api-catalogRefreshes the API catalog by rescanning the specified directory for OpenAPI specifications.
Read-only operation; rescans the directory for API specifications.
get-api-catalogRetrieves the complete API catalog containing metadata about all OpenAPI specifications, operations, and schemas.
Read-only operation; retrieves metadata about API specifications.
search-api-operationsSearches for API operations across specifications based on a query string.
Read-only operation; searches for operations based on a query.
search-api-schemasSearches for API schemas across specifications based on a query string.
Read-only operation; searches for schemas based on a query.
load-api-operation-by-operationIdLoads an API operation by its unique operation ID.
Read-only operation; retrieves operation details by ID.
load-api-operation-by-path-and-methodLoads an API operation by its path and HTTP method.
Read-only operation; retrieves operation details by path and method.
load-api-schema-by-schemaNameLoads an API schema by its name.
Read-only operation; retrieves schema details by name.
None
cloud
This MCP server is generally safe for exploring APIs and generating code snippets. The primary risk lies in the execution of `npx` commands and the quality/security of the OpenAPI specifications provided. Ensure specifications are from trusted sources and carefully review generated code before execution. Avoid including sensitive information in the OpenAPI specifications.
The server primarily provides read-only access to API specifications. Autonomy is limited by the capabilities of the connected LLM and the quality of the OpenAPI specifications.
Production Tip
Ensure that the directory containing OpenAPI specifications is properly secured and that specifications are regularly updated to reflect API changes.
Specify the directory containing the desired version of the specification in the server configuration.
Yes, but avoid including sensitive credentials directly in the OpenAPI specification. Instead, use environment variables or other secure methods to manage authentication.
Use the `refresh-api-catalog` tool or trigger a refresh through the IDE's chat panel with prompts like 'Please refresh the API catalog'.
Conflicts can occur. Use the `x-spec-id` extension to provide unique identifiers for each specification to avoid naming collisions.
No, this server only supports OpenAPI 3.x specifications.
Submit feature requests, bug reports, or pull requests to the project's GitHub repository.
It allows you to define a custom ID for the specification, which is useful for disambiguating resources when working with multiple specifications that have similar or identical endpoint paths or schema names.