
Petstore MCP Server
Swagger Petstore API (v1.0.27) as MCP for testing and prototyping powered by the HAPI MCP server
What it can do
What data it sees
Do you need an account
No: the server works without sign-in
Swagger Petstore API (v1.0.27) as MCP for testing and prototyping powered by the HAPI MCP server
How to connect
How to connect Petstore MCP Server to Claude
The server address to paste into Claude settings:
https://petstore.run.mcp.com.ai/mcp
- Open Claude (claude.ai or the desktop app).
- Go to Settings → Connectors.
- Click Add custom connector.
- Paste the server address copied below into Remote MCP server URL and click Add.
- In a chat, click + → Connectors and switch the new connector on.
Custom connectors are available on Free, Pro, Max, Team and Enterprise plans (Free is limited to one). On Team and Enterprise an organization Owner adds the connector first under Organization settings → Connectors.
Authorization
After you click Add, a sign-in window for the service opens. Sign in with your own account and approve access. Claude never sees your password.
How to connect Petstore MCP Server to ChatGPT
The server address to paste into ChatGPT settings:
https://petstore.run.mcp.com.ai/mcp
- Open ChatGPT in a browser (chatgpt.com). A Plus, Pro, Business, Enterprise or Edu plan is required.
- Turn on developer mode once: Settings → Apps → Advanced settings → Developer mode.
- Open Settings → Connectors and click Create.
- Fill in the form: Name (anything), Description (one line about what the service does), MCP server URL (copy it below).
- Under Authentication choose OAuth if the service requires sign-in, otherwise None. Click Create.
- In a new chat open + → Apps/Connectors and enable the connector.
OpenAI has renamed this section before (Connectors → Apps/Plugins). If the label differs, search settings for "developer mode". On Business/Enterprise workspaces an admin must allow custom connectors first.
Authorization
On first use ChatGPT opens the service's sign-in window. Sign in and approve access.
How to connect Petstore MCP Server to Cursor
The server address to paste into Cursor settings:
https://petstore.run.mcp.com.ai/mcp
Fastest: click Open in Cursor below and confirm the prompt.
Manually:
- In Cursor open Settings → Cursor Settings → MCP and click Add new global MCP server.
- Paste the JSON copied below into
~/.cursor/mcp.json(per project:.cursor/mcp.jsonin the repo root). - Save the file. The server appears in the MCP list; authorize it there if asked.
Authorization
If the service needs sign-in, an authorize button appears next to the server in the MCP list.
Server tool list (19)
Raw names from tools/list. Only developers need these.
| updatePet | Update an existing pet. - Update an existing pet by Id. |
| addPet | Add a new pet to the store. - Add a new pet to the store. |
| findPetsByStatus | Finds Pets by status. - Multiple status values can be provided with comma separated strings. |
| findPetsByTags | Finds Pets by tags. - Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing. |
| getPetById | Find pet by ID. - Returns a single pet. |
| updatePetWithForm | Updates a pet in the store with form data. - Updates a pet resource based on the form data. |
| deletePet | Deletes a pet. - Delete a pet. |
| uploadFile | Uploads an image. - Upload image of the pet. |
| getInventory | Returns pet inventories by status. - Returns a map of status codes to quantities. |
| placeOrder | Place an order for a pet. - Place a new order in the store. |
| getOrderById | Find purchase order by ID. - For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions. |
| deleteOrder | Delete purchase order by identifier. - For valid response try integer IDs with value < 1000. Anything above 1000 or non-integers will generate API errors. |
| createUser | Create user. - This can only be done by the logged in user. |
| createUsersWithListInput | Creates list of users with given input array. - Creates list of users with given input array. |
| loginUser | Logs user into the system. - Log into the system. |
| logoutUser | Logs out current logged in user session. - Log user out of the system. |
| getUserByName | Get user by user name. - Get user detail based on username. |
| updateUser | Update user resource. - This can only be done by the logged in user. |
| deleteUser | Delete user resource. - This can only be done by the logged in user. |