OpenAPI MCP Server
Exposes OpenAPI specifications as MCP tools, enabling AI assistants to explore and understand API structures, endpoints, schemas, and documentation through semantic queries.
README
opamcp
"OpenAPI 스펙 문서 읽기 귀찮아..." 하던 AI를 위한 MCP 서버
OpenAPI 스펙 URL 하나 던져주면, AI가 알아서 API 구조를 탐색할 수 있게 해주는 도구입니다. 더 이상 "이 API 어떻게 쓰는 거야?" 라고 물을 때마다 스펙 문서 전체를 붙여넣지 않아도 됩니다.
어떻게 쓰나요?
npx -y opamcp https://petstore3.swagger.io/api/v3/openapi.json
끝. 진짜 이게 다입니다.
Claude Desktop / Cursor 설정
{
"mcpServers": {
"my-api": {
"command": "npx",
"args": ["-y", "opamcp", "https://your-api.com/openapi.json"]
}
}
}
뭘 할 수 있나요?
| 도구 | 하는 일 |
|---|---|
get_api_info |
API가 뭐하는 녀석인지 한눈에 파악 |
list_tags |
API 그룹(태그) 목록 보기 |
list_endpoints |
전체 엔드포인트 훑어보기 |
get_endpoints_by_tag |
특정 태그의 엔드포인트만 보기 |
get_endpoint_detail |
엔드포인트 하나 깊게 파보기 |
list_schemas |
어떤 데이터 타입들이 있는지 보기 |
get_schema |
특정 스키마 정의 자세히 보기 |
search_endpoints |
키워드로 엔드포인트 검색 |
refresh_spec |
스펙 변경됐으면 새로고침 |
이렇게 쓰면 됩니다
나: "이 API 뭐야?"
AI: (get_api_info 호출) "아, 펫샵 API네요. 반려동물 관리하는..."
나: "주문 관련 API 있어?"
AI: (search_endpoints 'order' 호출) "네, 주문 생성, 조회, 삭제 API가 있네요"
나: "주문 생성 어떻게 해?"
AI: (get_endpoint_detail '/store/order' 'post' 호출) "이렇게 하시면 됩니다..."
개발
bun install # 의존성 설치
bun run dev <url> # 로컬 실행
bun run build # 빌드
라이선스
MIT - 맘대로 쓰세요
English
For AIs tired of reading OpenAPI spec documents
Just give it an OpenAPI spec URL, and your AI can explore the API structure on its own. No more pasting entire spec documents every time someone asks "how do I use this API?"
Quick Start
npx -y opamcp https://petstore3.swagger.io/api/v3/openapi.json
That's it. Really.
Claude Desktop / Cursor Setup
{
"mcpServers": {
"my-api": {
"command": "npx",
"args": ["-y", "opamcp", "https://your-api.com/openapi.json"]
}
}
}
What can it do?
| Tool | What it does |
|---|---|
get_api_info |
Get the gist of what this API is about |
list_tags |
See how the API is organized |
list_endpoints |
Browse all endpoints |
get_endpoints_by_tag |
Filter endpoints by tag |
get_endpoint_detail |
Deep dive into a specific endpoint |
list_schemas |
See what data types exist |
get_schema |
Get the full schema definition |
search_endpoints |
Find endpoints by keyword |
refresh_spec |
Reload spec if it changed |
How it works
You: "What's this API?"
AI: (calls get_api_info) "It's a pet store API for managing pets..."
You: "Any order-related endpoints?"
AI: (calls search_endpoints 'order') "Yes, there's create, get, and delete order APIs"
You: "How do I create an order?"
AI: (calls get_endpoint_detail '/store/order' 'post') "Here's how..."
Development
bun install # Install deps
bun run dev <url> # Run locally
bun run build # Build
License
MIT - Do whatever you want
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。