MCP server that loads multiple OpenAPI specs to expose API operations and schemas for LLM-powered IDE integrations.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag โ we're steadily working through the catalog.
๐ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by MCP Openapi.
queryCallable MCP tool function
specIdCallable MCP tool function
operationIdCallable MCP tool function
pathCallable MCP tool function
methodCallable MCP tool function
schemaNameCallable MCP tool function
A Model Context Protocol (MCP) server that loads and serves multiple OpenAPI specifications to enable LLM-powered IDE integrations. This server acts as a bridge between your OpenAPI specifications and LLM-powered development tools like Cursor and other code editors.
This open-source MCP server is sponsored by ReAPI, a next-generation API platform that simplifies API design and testing. While this server provides local OpenAPI integration for development, ReAPI offers two powerful modules:
Try ReAPI for free at reapi.com and experience the future of API development.
To integrate the MCP OpenAPI server with Cursor IDE, you have two options for configuration locations:
Create a .cursor/mcp.json file in your project directory. This option is recommended as it allows you to maintain different sets of specs for different projects
Tip: Using a relative path like
./specsmakes the configuration portable and easier to share across team members.Note: We recommend using
@latesttag as we frequently update the server with new features and improvements.Important: Project-specific configuration helps manage LLM context limits. When all specifications are placed in a single folder, the combined metadata could exceed the LLM's context window, leading to errors. Organizing specs by project keeps the context size manageable.
Create or edit ~/.cursor/mcp.json in your home directory to make the server available across all projects:
After adding the configuration:
Note: By default, Cursor requires confirmation for each MCP tool execution. If you want to allow automatic execution without confirmation, you can enable Yolo mode in Cursor settings.
The server is now ready to use. When you add new OpenAPI specifications to your directory, you can refresh the catalog by:
Place your OpenAPI 3.x specifications in the target directory:
.json, .yaml, or .yml extensionsSpecification ID Configuration:
x-spec-id in the OpenAPI info object:Important: Setting a custom
x-spec-idis crucial when working with multiple specifications that have:
- Similar or identical endpoint paths
- Same schema names
- Overlapping operation IDs
The spec ID helps distinguish between these similar resources and prevents naming conflicts. For example:
Now you can reference these endpoints specifically as
user-service/usersandadmin-service/users
refresh-api-catalog
get-api-catalog
search-api-operations
query (string): Search queryspecId (optional string): Specific API specification ID to search withinsearch-api-schemas
query (string): Search queryspecId (optional string): Specific API specification ID to searchload-api-operation-by-operationId
specId (string): API specification IDoperationId (string): Operation ID to loadload-api-operation-by-path-and-method
specId (string): API specification IDpath (string): API endpoint pathmethod (string): HTTP methodload-api-schema-by-schemaName
specId (string): API specification IDschemaName (string): Name of the schema to loadSemantic Search
Remote Specs Sync
Code Templates
Community Contributions
Here are some example prompts you can use in Cursor IDE to interact with your APIs:
Explore Available APIs
API Operation Details
Schema and Mock Data
Code Generation
API Integration Assistance
Documentation and Usage
Validation and Types
API Search and Discovery
These prompts demonstrate how to leverage the MCP server's capabilities for API development. Feel free to adapt them to your specific needs or combine them for more complex tasks.
Contributions are welcome! Please feel free to submit a Pull Request.
Factual signals from GitHub, npm, and our automated checks โ not a rating.
No reviews yet โ be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/reapi-com-mcp-openapi)<a href="https://allmcps.com/mcp/reapi-com-mcp-openapi"><img src="https://allmcps.com/api/badge/reapi-com-mcp-openapi?style=directory" alt="MCP Openapi on AllMCPs" /></a>