How do I configure API sources?
Set the `API_SOURCES` environment variable to specify the schema files or URLs. The format supports local file paths and remote URLs for GraphQL, OpenAPI, and gRPC.
@EliFuzz
基本信息
MCP server for API documentation, supporting GraphQL, OpenAPI/Swagger, and gRPC from local files or remote URLs
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"api-docs-mcp": {
"command": "npx",
"args": [
"api-docs-mcp"
],
"env": {
"API_SOURCES": "[{\"name\": \"PetstoreAPI\", \"method\": \"GET\", \"url\": \"https://petstore.swagger.io/v2/swagger.json\", \"type\": \"api\"}]"
}
}
}
}Get a list of all available API methods
Search for a specific API method by name and get its full definition
API Docs MCP is an MCP server that provides tools for interacting with API documentation. It supports GraphQL, OpenAPI/Swagger, and gRPC specifications, fetching schema definitions from local files or remote URLs, caching them, and exposing them through a set of tools.
Configure API sources via the API_SOURCES environment variable, then run the MCP server. The server automatically registers tools from a specified directory. Use the api_docs tool to list available API methods and api_search to retrieve detailed documentation for specific methods.
api_docs and api_search toolsAPI_SOURCESSet the `API_SOURCES` environment variable to specify the schema files or URLs. The format supports local file paths and remote URLs for GraphQL, OpenAPI, and gRPC.
GraphQL schemas can be loaded from `.graphql`, `.gql`, or JSON introspection results. OpenAPI/Swagger supports YAML and JSON. gRPC supports `.proto` files or reflection from remote URLs.
The server caches schema data after fetching to reduce redundant requests. It automatically refreshes the cache periodically to keep documentation up-to-date.
The server runs as an MCP server and is configured entirely through the `API_SOURCES` environment variable. No additional authentication or transport setup is required.

Catch intent conflicts before code conflicts. The open-source coordination protocol for coding agents, built above Git.

Agent-Native Terminal


Verified distributed compute for humans, applications, and agents. Submit Blender, Octane, and video workloads, route them across qualified GPUs, track asynchronous execution, download finished artifacts, and verify FARP

OpenMark is a remote MCP server available at https://openmark.ai. Benchmark your own prompt on 100+ models with real API calls.
评论