独立运营 · 不出售排名位置  · 我们怎么评估工具 →
Anclum 提交收录
I

ivo-toby/mcp-openapi-server

Turn an OpenAPI spec into MCP resources

装之前:没有可直接复制的命令 · 许可证未标注 · 链接可访问

第一步:1. CLI Tool: Use npx @ivotoby/openapi-mcp-server directly with command-line arguments for quick setup

在 GitHub 查看 ↗链接已于 2026-11-12 核查 · HTTP 200 · 打开的是厂商自己的官网
安装与配置
客户端配置(取自该仓库的安装命令)
{
  "mcpServers": {
    "ivo-toby-mcp-openapi-server": {
      "command": "npx",
      "args": ["-y", "@ivotoby/openapi-mcp-server"]
    }
  }
}

解析自我们于 2026-11-05 抓取的该仓库 README;我们未执行过。

command/args 来自仓库写明的安装命令;不确定时请以该项目 README 为准。
VS Code(.vscode/mcp.json —— 键名是 servers)
{
  "servers": {
    "ivo-toby-mcp-openapi-server": {
      "command": "npx",
      "args": ["-y", "@ivotoby/openapi-mcp-server"]
    }
  }
}
VS Code 顶层键是 <code>servers</code>,其余与上面那份相同。
Claude Code(命令行)
claude mcp add --transport stdio ivo-toby-mcp-openapi-server -- npx -y @ivotoby/openapi-mcp-server
Claude Code 不收 JSON 文件,用这条命令直接加。
配置项的键名以你的客户端为准:客户端与 CLI
来源明细
收录自 abordage/awesome-mcp 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
收录与活跃
收录于 2026-11-05 · 最近见到 2026-11-14 · 共见到 10 次 · 被 10 个来源列出
评分构成
综合分 1,003 · 10 个来源 · mcp
安装
npx -y @ivotoby/openapi-mcp-server
常见问题(答案都来自我们的记录)
怎么安装?
该仓库给出的安装命令是 npx -y @ivotoby/openapi-mcp-server。我们的记录里它是仓库自己提供的;不保证在你的客户端上直接可用。
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
我们收录于 2026-11-05;最近见到 2026-11-14。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。

# OpenAPI MCP Server

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

A Model Context Protocol (MCP) server that exposes OpenAPI endpoints as MCP tools, along with optional support for MCP prompts and resources. This server allows Large Language Models to discover and interact with REST APIs defined by OpenAPI specifications through the MCP protocol.
## 📖 Documentation
User Guide - For users wanting to use this MCP server with Claude Desktop, Cursor, or other MCP clients
Library Usage - For developers creating custom MCP servers using this package as a library
Developer Guide - For contributors and developers working on the codebase
AuthProvider Guide - Detailed authentication patterns and examples
# User Guide
This section covers how to use the MCP server as an end user with Claude Desktop, Cursor, or other MCP-compatible tools.
## Overview
This MCP server can be used in two ways:
1. CLI Tool: Use npx @ivotoby/openapi-mcp-server directly with command-line arguments for quick setup
2. Library: Import and use the OpenAPIServer class in your own Node.js applications for custom implementations
The server supports two transport methods:
1. Stdio Transport (default): For direct integration with AI systems like Claude Desktop that manage MCP connections through standard input/output.
2. Streamable HTTP Transport: For connecting to the server over HTTP, allowing web clients and other HTTP-capable systems to use the MCP protocol.
## Quick Start for Users
### Option 1: Using with Claude Desktop (Stdio Transport)
No need to clone this repository. Simply configure Claude Desktop to use this MCP server:
1. Locate or create your Claude Desktop configuration file:
On macOS: ~/Library/Application Support/Claude/claudedesktopconfig.json
2. Add the following configuration:
json
"mcpServers": {
"openapi": {
"command": "npx",
"args": ["-y", "@ivotoby/openapi-mcp-server"],
"env": {
"APIBASEURL": "https://api.example.com",
"OPENAPISPECPATH": "https://api.example.com/openapi.json",
"APIHEADERS": "Authorization:Bearer token123,X-API-Key:your-api-key"
3. Replace the environment variables with your actual API configuration:
APIBASEURL: The base URL of your API
OPENAPISPECPATH: URL or path to your OpenAPI specification
APIHEADERS: Comma-separated key:value pairs for API authentication headers
### Option 2: Using with HTTP Clients (HTTP Transport)
To use the server with HTTP clients:
1. No installation required! Use npx to run the package directly:
bash
npx @ivotoby/openapi-mcp-server \
--api-base-url https://api.example.com \
--openapi-spec https://api.example.com/openapi.json \
--headers "Authorization:Bearer token123" \
--transport http \
--port 3000
2. Interact with the server using HTTP requests:
bash
# Initialize a session (first request)
curl -X POST http://localhost:3000/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":0,"method":"initialize","params":{"protocolVersion":"2025-03-26","capabilities":{},"clientInfo":{"name":"curl-client","version":"1.0.0"}}}'
# The response includes a Mcp-Session-Id header that you must use for subsequent requests
# and the InitializeResult directly in the POST response body.
# Send a request to list tools
# This also receives its response directly on this POST request.
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[![Listed on Anclum](https://anclum.com/badge/listed.svg)](https://anclum.com/zh/s/ivo-toby-mcp-openapi-server/)
来源
awesome · https://github.com/ivo-toby/mcp-openapi-server
按领域浏览
MCP 服务
收录来源
10 个独立来源
收录于
今天

同类推荐

全部 6,229 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引