updatePet
Update an existing pet. - Update an existing pet by Id.
updatePetBodyrequiredx-hapi-auth-state
ai.com.mcpPublished by mcp.com.aiOfficial publisherv0.6.0Updated Oct 24, 2026
Swagger Petstore API (v1.0.27) as MCP for testing and prototyping powered by the HAPI MCP server
Remote MCP endpoint exposing the Swagger Petstore sample API, letting an assistant manage pets, orders, inventory and users for testing and prototyping.
Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.
Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.
Read https://sourceweft.com/mcp/ai.com.mcp%2Fpetstore/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.Add this to your client's mcpServers config.
{
"mcpServers": {
"petstore": {
"type": "http",
"url": "https://petstore.run.mcp.com.ai/mcp"
}
}
}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.
Pick your API spec
Run a single command
Use instantly
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.
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:
Start using your MCP tools with any compatible client!
Explore the documentation for advanced usage and best practices.
Contributions are welcome! Open a discussion or submit a pull request on GitHub: https://github.com/la-rebelion/hapimcp
HAPI MCP is licensed under the MIT License. See LICENSE for details.
Source: README.md at commit 1873ff7
Update an existing pet. - Update an existing pet by Id.
updatePetBodyrequiredx-hapi-auth-stateAdd a new pet to the store. - Add a new pet to the store.
addPetBodyrequiredx-hapi-auth-stateFinds Pets by status. - Multiple status values can be provided with comma separated strings.
statusrequiredx-hapi-auth-stateFinds Pets by tags. - Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
tagsrequiredx-hapi-auth-stateFind pet by ID. - Returns a single pet.
petIdrequiredx-hapi-auth-stateUpdates a pet in the store with form data. - Updates a pet resource based on the form data.
namepetIdrequiredstatusx-hapi-auth-stateDeletes a pet. - Delete a pet.
petIdrequiredapi_keyx-hapi-auth-stateUploads an image. - Upload image of the pet.
petIdrequireduploadFileBodyx-hapi-auth-stateadditionalMetadataReturns pet inventories by status. - Returns a map of status codes to quantities.
x-hapi-auth-statePlace an order for a pet. - Place a new order in the store.
placeOrderBodyx-hapi-auth-stateFind purchase order by ID. - For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions.
orderIdrequiredx-hapi-auth-stateDelete purchase order by identifier. - For valid response try integer IDs with value < 1000. Anything above 1000 or non-integers will generate API errors.
orderIdrequiredx-hapi-auth-stateCreate user. - This can only be done by the logged in user.
createUserBodyx-hapi-auth-stateCreates list of users with given input array. - Creates list of users with given input array.
x-hapi-auth-statecreateUsersWithListInputBodyLogs user into the system. - Log into the system.
passwordusernamex-hapi-auth-stateLogs out current logged in user session. - Log user out of the system.
x-hapi-auth-stateGet user by user name. - Get user detail based on username.
usernamerequiredx-hapi-auth-stateUpdate user resource. - This can only be done by the logged in user.
usernamerequiredupdateUserBodyx-hapi-auth-stateDelete user resource. - This can only be done by the logged in user.
usernamerequiredx-hapi-auth-state100% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
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 ]hapi serve path/to/your/swagger.json --headless