mcp-server-any-openapi

baryhuang
38
The mcp-server-any-openapi is a scalable server for discovering OpenAPI endpoints and making API requests. It features in-memory semantic search for quick endpoint retrieval, supports remote OpenAPI JSON files, and uses efficient chunking for large documents, ensuring no loss of context.

Overview

What is mcp-server-any-openapi

mcp-server-any-openapi is a scalable OpenAPI endpoint discovery and API request tool designed to facilitate the integration of APIs with natural language processing capabilities. It enables users to retrieve API endpoint documentation quickly and efficiently using semantic search techniques.

How to Use

To use mcp-server-any-openapi, you can install it via Smithery or pip. Configure the server by setting environment variables such as OPENAPI_JSON_DOCS_URL and MCP_API_PREFIX. After installation, you can interact with the server by sending natural language queries to retrieve API endpoint details and make requests.

Key Features

Key features include: 1) Utilization of remote OpenAPI JSON files without local file access; 2) Semantic search using an optimized MiniLM-L3 model; 3) FastAPI-based server with asynchronous support; 4) Endpoint-based chunking of OpenAPI specifications; 5) In-memory FAISS vector search for instant endpoint discovery.

Use Cases

Use cases for mcp-server-any-openapi include: 1) Quickly discovering API endpoints for various services; 2) Integrating with Claude Desktop for natural language API requests; 3) Handling large OpenAPI documents efficiently; 4) Serving private APIs with complex specifications.

Content