Loading...
{
"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.
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.