MCP Server: Scalable OpenAPI Endpoint Discovery and API Request Tool
Mirror of
Overview
MCP Server is a scalable OpenAPI endpoint discovery and API request tool designed to facilitate the interaction with large OpenAPI specifications by providing a semantic search capability for API endpoints.
To use MCP Server, you can run it via Docker or install it using pip. Configure it with the URL of your OpenAPI JSON documentation and set the desired API prefix. You can then make requests to discover endpoints and execute API calls.
- Utilizes remote OpenAPI JSON files without local file system access. - Implements semantic search using an optimized MiniLM-L3 model for efficient endpoint discovery. - FastAPI-based server with asynchronous support for improved performance. - In-memory FAISS vector search for instant endpoint retrieval. - Supports multi-instance configurations for handling multiple APIs simultaneously.
- Discovering and interacting with financial APIs.
- Integrating healthcare APIs for data retrieval.
- Automating API requests in development environments.
Add to your AI client
Use these steps to connect MCP Server: Scalable OpenAPI Endpoint Discovery and API Request Tool in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"baryhuang-mcp-server-any-openapi-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-baryhuang-mcp-server-any-openapi-mcp-mirror"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"baryhuang-mcp-server-any-openapi-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-baryhuang-mcp-server-any-openapi-mcp-mirror"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"baryhuang-mcp-server-any-openapi-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-baryhuang-mcp-server-any-openapi-mcp-mirror"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"baryhuang-mcp-server-any-openapi-mcp-mirror": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-baryhuang-mcp-server-any-openapi-mcp-mirror"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"baryhuang-mcp-server-any-openapi-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-baryhuang-mcp-server-any-openapi-mcp-mirror"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"baryhuang-mcp-server-any-openapi-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-baryhuang-mcp-server-any-openapi-mcp-mirror"
]
}
}
}FAQ
Can MCP Server handle large OpenAPI specifications?
Yes! It is designed to process OpenAPI specs up to 10MB efficiently.
Is there a Docker image available?
Yes! You can pull the latest Docker image from Docker Hub.
How do I configure the server?
Configuration is done through environment variables, including the OpenAPI JSON URL and API prefix.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":1369,"uuid":"bf358309-1263-42b6-b2cf-b74dee7c16a8","name":"baryhuang_mcp-server-any-openapi","title":"MCP Server: Scalable OpenAPI Endpoint Discovery and API Request Tool","description":"Mirror of","avatar_url":"https://avatars.githubusercontent.com/u/192820360?v=4","created_at":"$D2025-02-20T15:30:47.111Z","updated_at":"$D2025-02-23T07:21:20.902Z","status":"created","author_name":"MCP-Mirror","author_avatar_url":"https://avatars.githubusercontent.com/u/192820360?v=4","tags":"mcp-server,api-discovery,request-tool","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/MCP-Mirror/baryhuang_mcp-server-any-openapi","target":"_self","content":"$29","summary":"$2a","img_url":"https://camo.githubusercontent.com/3deedaf261fd32b2c28ffc391eb5abc5bd0581f87d83400a434331037e994128/68747470733a2f2f696d672e736869656c64732e696f2f646f636b65722f762f627572796875616e672f6d63702d7365727665722d616e792d6f70656e6170693f6c6162656c3d446f636b6572253230487562","type":null,"metadata":null,"user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]