MCP.so
登录

OpenAPI MCP Server

@asabya

关于 OpenAPI MCP Server

fork of openapi-mcp-server v1.2.0-beta04

基本信息

分类

其他

许可证

MIT

运行时

node

传输方式

stdio

发布者

asabya

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "openapi-mcp-server": {
      "command": "npx",
      "args": [
        "openapi-mcp-server",
        "/abs/path/to/openapi.json"
      ]
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is OpenAPI MCP Server?

OpenAPI MCP Server is an MCP proxy that converts any OpenAPI v3.1 compliant API into tools usable by Claude Desktop or other MCP clients. It allows developers to interact with local and remote APIs through natural language, discovering endpoints, understanding parameters, and making API calls automatically.

How to use OpenAPI MCP Server?

Configure Claude Desktop by adding the MCP server entry in claude_desktop_config.json with the command npx openapi-mcp-server /absolute/path/to/openapi.json. Restart Claude Desktop, then start asking natural-language questions about your API.

Key features of OpenAPI MCP Server

  • Converts OpenAPI endpoints into Claude‑usable tools automatically
  • Supports file uploads via multipart/form-data (local files only)
  • Works with any OpenAPI v3.1 compliant API
  • Provides CLI tool for testing endpoints programmatically
  • Offers programmatic API (OpenAPIToMCPConverter, HttpClient) for custom integrations

Use cases of OpenAPI MCP Server

  • Test local development APIs through conversational debugging
  • Quickly prototype integrations with third‑party APIs
  • Explore and learn new APIs by asking natural‑language questions
  • Automate file upload workflows (profile pictures, documents, batch uploads)

FAQ from OpenAPI MCP Server

Which OpenAPI versions are supported?

Only OpenAPI v3.1 specifications are currently supported.

Are remote file URLs supported for uploads?

No, only local file paths are supported; remote URLs are not handled.

What are the security considerations for file uploads?

File paths resolve relative to the current working directory. Access is restricted to files the user can read, and sensitive files like SSH keys require explicit user confirmation. File contents are read only when making the actual API request.

How does the server handle large files?

Large files are streamed directly from disk to the API, with memory usage optimized and progress reporting available. Maximum file size is determined by the target API.

What format are API responses expected to be?

Response handling is optimized for JSON and text responses; streaming responses are not yet implemented.

评论

其他 分类下的更多 MCP 服务器