Petstore MCP Server
概览
作者提供的说明(英文原文)
Swagger Petstore API (v1.0.27) as MCP for testing and prototyping powered by the HAPI MCP server
它能帮你做什么
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
- 连接方式: 在云端运行
- 传输方式: Streamable HTTP
- 分类: 开发者工具
安装
选择你使用的 AI 应用,然后复制设置。
通过 4/5 项检查 · 你的提问会经过开发者的服务器(petstore.run.mcp.com.ai)
第一步:你用哪个 AI?
选择你用的应用,步骤会显示在下方。
可连接 Claude · 约 2 分钟
不需要密钥,不用安装程序 · 在 claude.ai 或桌面应用设置一次,即可在聊天中使用 · 免费账户可添加 1 个
打开 Claude 的 Connectors 页面
CustomizeConnectors
点击“+ Add” → “Add custom connector”,填写这 2 项
把这里的内容复制到 Claude 中同名的输入框,然后点击 Continue
Name · 名称Petstore MCP ServerRemote MCP server URL · 地址https://petstore.run.mcp.com.ai/mcpAuthentication 保持 Claude 检测到的设置,然后点击 Add
在聊天中开启
+ConnectorsPetstore MCP Server
试一试
用 Petstore MCP Server 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude 说正在使用 Petstore MCP Server,或回答中出现 Petstore MCP Server 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
仅企业版 ChatGPT 可连接
适用于网页版 ChatGPT Business、Enterprise 或 Edu,需由工作区管理员或所有者添加 · 使用 Free、Plus 或 Pro:你的 ChatGPT 方案暂时无法自行连接 MCP
在网页版 ChatGPT 打开添加 MCP 的页面
Plugins+Add custom MCP server
填写名称和地址
输入名称,在 Connection 下粘贴地址,勾选风险提示,然后点击 Create as a plugin
Name · 名称Petstore MCP ServerConnection · 地址https://petstore.run.mcp.com.ai/mcp在聊天中选择 Petstore MCP Server
开启新聊天,输入前先从插件列表中选择 Petstore MCP Server
试一试
用 Petstore MCP Server 告诉我你能帮我做什么,然后做一件给我看✓ 如果 ChatGPT 说正在使用 Petstore MCP Server,或回答中出现 Petstore MCP Server 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 OpenAI 帮助页面核实 · 你的界面可能因版本略有不同
可连接 Claude Code · 约 2 分钟
不需要密钥,不用安装程序
打开终端
Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell
粘贴这条命令并按 Enter
claude mcp add --transport http petstore https://petstore.run.mcp.com.ai/mcp在 Claude Code 中输入 /mcp
应能看到 Petstore MCP Server 在列表中并显示已连接
试一试
用 Petstore MCP Server 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude Code 说正在使用 Petstore MCP Server,或回答中出现 Petstore MCP Server 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
可连接 Cursor · 约 2 分钟
不需要密钥,不用安装程序
在 Cursor 中以 Agent 模式打开 AI 聊天
试一试
用 Petstore MCP Server 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Cursor 说正在使用 Petstore MCP Server,或回答中出现 Petstore MCP Server 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同
可连接 VS Code · 约 2 分钟
不需要密钥,不用安装程序
在 VS Code 中以 Agent 模式打开 AI 聊天
试一试
用 Petstore MCP Server 告诉我你能帮我做什么,然后做一件给我看✓ 如果 VS Code 说正在使用 Petstore MCP Server,或回答中出现 Petstore MCP Server 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同
其他支持 MCP 的应用(如 Windsurf、Zed、Gemini CLI)添加方式各不相同,请在应用列表中查看
通过网页连接的应用使用的地址
https://petstore.run.mcp.com.ai/mcpJSON 设置在下方“开发者专用”中
开发者专用:终端命令和 JSON 设置
通过网页连接
Claude Code
claude mcp add --transport http petstore https://petstore.run.mcp.com.ai/mcpCursor (~/.cursor/mcp.json)
{
"mcpServers": {
"petstore": {
"url": "https://petstore.run.mcp.com.ai/mcp"
}
}
}VS Code (mcp.json)
{
"servers": {
"petstore": {
"type": "http",
"url": "https://petstore.run.mcp.com.ai/mcp"
}
}
}这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
一览
哪些应用可以使用它
依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。
通过互联网连接,适用于
ClaudeChatGPTGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast
它能做什么
工具名称和描述与服务器在 2026年11月10日 报告的完全一致。这些内容由作者撰写,不是我们写的;我们以纯文本形式显示。
updatePetUpdate an existing pet. - Update an existing pet by Id.
addPetAdd a new pet to the store. - Add a new pet to the store.
findPetsByStatusFinds Pets by status. - Multiple status values can be provided with comma separated strings.
findPetsByTagsFinds Pets by tags. - Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
getPetByIdFind pet by ID. - Returns a single pet.
updatePetWithFormUpdates a pet in the store with form data. - Updates a pet resource based on the form data.
deletePetDeletes a pet. - Delete a pet.
uploadFileUploads an image. - Upload image of the pet.
getInventoryReturns pet inventories by status. - Returns a map of status codes to quantities.
placeOrderPlace an order for a pet. - Place a new order in the store.
getOrderByIdFind purchase order by ID. - For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions.
deleteOrderDelete purchase order by identifier. - For valid response try integer IDs with value < 1000. Anything above 1000 or non-integers will generate API errors.
createUserCreate user. - This can only be done by the logged in user.
createUsersWithListInputCreates list of users with given input array. - Creates list of users with given input array.
loginUserLogs user into the system. - Log into the system.
logoutUserLogs out current logged in user session. - Log user out of the system.
getUserByNameGet user by user name. - Get user detail based on username.
updateUserUpdate user resource. - This can only be done by the logged in user.
deleteUserDelete user resource. - This can only be done by the logged in user.
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月11日
- ! 注意
作者与仓库一致
发布者(mcp.com.ai)不是仓库所有者(la-rebelion);可能是其他人代为上架的
- ✓ 通过
仍在维护
代码最后更新于3个月前
- ✓ 通过
有许可证
使用 MIT
- ✓ 通过
端点有响应
在 148 毫秒内响应(HTTP 200)
- – 不适用
使用 OAuth 登录
无需登录
- ✓ 通过
工具描述中没有隐藏指令
已读取 19 个工具描述,未发现针对 AI 的隐藏指令
讨论
提问、分享技巧或报告无法使用。按“有帮助”数量排序。
用户评价
还没有评价
与“开发者工具”中的其他服务器比较i
- 星标数多于此分类中其他 5760 个服务器的 0%
- 发布到注册中心的时间比此分类中其他 5760 个服务器的 2% 更新
- 基础检查结果等于或优于此分类中其他 5760 个服务器的 33%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
Petstore MCP Server 安全吗?
它在 5 项适用的基础检查中通过了 4 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在我的电脑上运行还是在云端?
它在作者的云端运行。通过互联网连接,无需安装,但你发送的内容会经过作者的服务器。
它还在维护吗?
GitHub 仓库最后更新于3个月前,最新版本(0.6.0)于10个月前进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,因此也能用于支持远程 MCP 的应用,例如 ChatGPT Business 及以上方案。
有什么可以替代它?
同一分类中有:REA, Netdata, Front-End Checklist
替代选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Netdata
Real-time infrastructure monitoring with metrics, logs, alerts, and ML-based anomaly detection.
Front-End Checklist
Review frontend code and live pages against 386 quality-gated web development rules.
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
HAPI MCP – Headless API for Model Context Protocol
Stop rewriting systems for AI. Instantly turn your APIs into MCP servers.
HAPI MCP lifts your OpenAPI catalog into MCP tools automatically, keeping design (OAS/Arazzo) and runtime (agents/LLMs) cleanly separated. Your existing APIs become AI-ready tools—no new business logic, no sidecar servers, no rework.
Key Features
- No rewrites: Reuse 100% of your API logic. OpenAPI in, MCP tools out. No parallel codebase or shadow services.
- Faster time-to-value: Turn specs into agent-ready tools in minutes. Update the spec, ship new tools instantly.
- Reduced risk: Permissions, auth, rate limits, auditability are inherited from your APIs—governance without bolt-ons.
- Scales with you: runMCP delivers serverless-like elasticity with long-running when needed. Cold-start fast, stay warm for throughput.
- Deterministic orchestration: OrcA plans and executes multi-tool tasks predictably—no brittle prompt chaining.
- Vendor-neutral: Works with any MCP client: ChatGPT, Claude, QBot, chatMCP. OAS + MCP + Arazzo stay portable.
How It Works
- Pick your API spec
- OpenAPI, Swagger, REST—HAPI CLI works with any API specification format.
- Supports OpenAPI 3.0+, REST APIs, OAuth 2.0 Dynamic Client Registration.
- Run a single command
- One simple CLI command transforms your API into a usable MCP Server.
- No complex setup, zero configuration, works anywhere, cross-platform.
- Use instantly
- Your API is now ready as a tool, AI agent, or testing interface.
- MCP server ready, AI agent compatible, testing interface, developer experience friendly.
Visual Pipeline
API Spec (swagger.json) → HAPI CLI → Usable Tool (AI-ready) ← MCP Clients
[ OpenAPI / Swagger ] [ HAPI CLI ] [ MCP Server ]
(Your API) → (Transform) → (Usable Tool) ↑ ↑ | | [ ChatGPT ] [ runMCP ] [ Claude ] [ OrcA ] [ QBot ] [ chatMCP] [ Agents ]
Who Wins With HAPI
- Executives: Ship AI initiatives without ballooning cost. Keep teams focused on outcomes, not rewrites and integration sprawl.
- Architects & PMs: Design with OpenAPI/Arazzo, run with MCP. Clear contracts, policy inheritance, and versioned workflows keep risk low.
- Engineers & Ops: Deploy once. HAPI Server + runMCP scale tools; QBot/chatMCP give fast feedback; OrcA keeps executions deterministic.
Your Stack, Already Wired
- HAPI Server: Turns OpenAPI into MCP tools automatically—contracts stay in sync with your source of truth.
- runMCP: Autoscaling execution and testing for MCP tools; cold-start fast, stay warm when workflows run long.
- QBot: CLI TUI for power users to interact with MCP tools directly from terminal or scripts.
- chatMCP: Conversational client that speaks MCP natively for support, ops, and internal assistants.
- OrcA: Deterministic planning and orchestration for multi-tool tasks; no brittle prompt spaghetti.
- Agents: Build agentic systems from standard APIs—no custom glue. Connect MCP clients across platforms.
Demos
- Playlist with demos
- New HAPI MCP YT Channel with demos API-First and MCP
Documentation
FAQ
- Do we need to rewrite our services? No. HAPI MCP lifts your existing OpenAPI specs directly into MCP tools. Your auth, validation, and business rules remain unchanged.
- Is this just another MCP server? It’s the Headless API model: your API becomes the runtime. HAPI Server reflects it as MCP; runMCP scales it; OrcA orchestrates it. No duplicate logic.
- Which clients can consume the tools? Any MCP client: ChatGPT, Claude, QBot, chatMCP, bespoke orchestrators—vendor-neutral by design.
- How do we keep control and compliance? Your API remains the single source of truth. Policies, RBAC, rate limits, and audit logs flow through automatically; no shadow logic.
- What about security and privacy? Scoped credentials, per-tool permissions, and auditable calls are inherited from your API layer. HAPI adds guardrails and observability for regulated environments.
- How fast can we get started? You can transform your first API into an MCP tool in less than five minutes. The HAPI CLI makes it quick and painless.
Get Started
- Install HAPI CLI from latest release: https://github.com/la-rebelion/hapimcp/releases
- Transform your OpenAPI spec into an MCP server with a single command:
hapi serve path/to/your/swagger.json --headless
- Start using your MCP tools with any compatible client!
- Explore the documentation for advanced usage and best practices.
Contributing
Contributions are welcome! Open a discussion or submit a pull request on GitHub: https://github.com/la-rebelion/hapimcp
License
HAPI MCP is licensed under the MIT License. See LICENSE for details.