loading…
Search for a command to run...
loading…
A CLI tool that registers OpenAPI GET endpoints as MCP tools, enabling API requests via MCP clients like Cursor.
A CLI tool that registers OpenAPI GET endpoints as MCP tools, enabling API requests via MCP clients like Cursor.
A CLI tool to register OpenAPI endpoints as Model Context Protocol (MCP) tools. You can make API requests through an MCP client such as Cursor.
https://github.com/user-attachments/assets/b8f7e7f9-ca8f-475a-84fc-609e03c7ae96
"openapi-fetch-mcp": {
"command": "npx",
"args": ["openapi-fetch-mcp"],
"env": {
"API_URL": "https://your-api-url.com",
"CUSTOM_HEADERS": "{\"X-Your-Api-Key\":\"xxxxxxxxx\"}",
"OPENAPI_FILE_PATH": "/FULL_PATH_TO_OPEN_API_YAML_FILE"
}
}
"openapi-fetch-mcp": {
"command": "npx",
"args": ["openapi-fetch-mcp"],
"env": {
"API_URL": "https://your-api-url.com",
"CUSTOM_HEADERS": "{\"X-Your-Api-Key\":\"xxxxxxxxx\"}",
"OPENAPI_URL": "https://your-open-api-url.com"
}
}
OPENAPI_URL: URL to the OpenAPI YAML file (optional if using OPENAPI_FILE_PATH)OPENAPI_FILE_PATH: Path to the local OpenAPI YAML file (optional if using OPENAPI_URL)API_URL: Base URL for the API serverCUSTOM_HEADERS: (optional) JSON string for custom headers, e.g. '{"Authorization":"Bearer ..."}' "openapi-fetch-mcp": {
"command": "npx",
"args": ["openapi-fetch-mcp"],
"env": {
"OPENAPI_URL": "https://raw.githubusercontent.com/PokeAPI/pokeapi/refs/heads/master/openapi.yml",
"API_URL": "https://pokeapi.co"
}
}
MIT
makomori
Выполни в терминале:
claude mcp add openapi-fetch-mcp -- npx Безопасность
Низкий рискАвтоматическая эвристика по публичным данным — не гарантия безопасности.