swagger-petstore-mcp
Provides tools to interact with the Swagger Petstore API, allowing AI agents to manage pets, orders, and users including CRUD operations and inventory queries.
Swagger Petstore MCP
MCP server for the Swagger Petstore API, generated with MCPForge.
The Petstore is a canonical OpenAPI 3.0 demo API. This MCP server exposes all 19 Petstore endpoints as tools that Claude and other MCP-compatible AI agents can call directly.
Live Endpoint
https://www.mcpforge.tech/api/servers/swagger-petstore-openapi-3-0-susojNo setup required — connect Claude Desktop or any MCP client to this endpoint and start using it immediately.
Related MCP server: mcp_sdk_petstore_api_44
Usage
Claude Desktop
Add this to your claude_desktop_config.json:
{
"mcpServers": {
"swagger-petstore-mcp": {
"url": "https://www.mcpforge.tech/api/servers/swagger-petstore-openapi-3-0-susoj",
"transport": "http"
}
}
}Config file location:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
Cursor
Add to your Cursor MCP settings:
{
"mcpServers": {
"swagger-petstore-mcp": {
"url": "https://www.mcpforge.tech/api/servers/swagger-petstore-openapi-3-0-susoj",
"transport": "http"
}
}
}Available Tools
19 tools across three risk tiers:
Read-only (6 tools)
Tool | Description |
| Find a pet by its ID |
| Find pets by status (available, pending, sold) |
| Find pets by tags |
| Returns pet inventories by status |
| Find a purchase order by ID |
| Get user by username |
Side Effect (10 tools — write operations)
Tool | Description |
| Add a new pet to the store |
| Update an existing pet |
| Update a pet using form data |
| Upload an image file for a pet |
| Place an order for a pet |
| Create a new user |
| Create a list of users |
| Update an existing user |
| Log user into the system |
| Log out the current user session |
Critical — Disabled by default (3 tools)
Tool | Description |
| Delete a pet by ID (disabled) |
| Delete a purchase order (disabled) |
| Delete a user account (disabled) |
Destructive tools are disabled by default. Enable them in your MCPForge dashboard under Tools → Permissions if needed.
Security Report
Security Score: 75 / 100 · Good
Dimension | Result |
Tool Quality Score | 89 / 100 |
Read-only tools | 6 |
Side-effect tools | 10 |
Critical tools (blocked) | 3 |
Governance controls | 3 / 5 |
Full report: mcpforge.tech/examples/petstore-security-report
Generated with MCPForge
MCPForge converts any OpenAPI spec into a hosted, governed MCP server in under 60 seconds.
Verify any MCP server for free at mcpforge.tech/verify
Browse the verified MCP directory at mcpforge.tech/verified
Generate your own MCP server at mcpforge.tech
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityCmaintenanceA generic MCP server that dynamically converts OpenAPI-defined REST APIs into tools for LLMs like Claude. It supports multiple authentication methods and transport protocols, enabling seamless interaction with any OpenAPI-compliant API.Last updated28MIT
- Flicense-qualityDmaintenanceA standalone MCP server generated from an OpenAPI specification that exposes Petstore API endpoints as tools for AI assistants. It utilizes SSE transport to enable models to interact with pet store management functionalities through natural language.Last updated
- Flicense-qualityDmaintenanceA standalone MCP server that exposes Petstore API endpoints as tools for AI assistants like Claude and ChatGPT. It enables interaction with petstore management services through natural language by proxying API requests via SSE transport.Last updated
- Flicense-qualityDmaintenanceAn MCP server generated from an OpenAPI specification that exposes Petstore API endpoints as tools for AI assistants. It enables interaction with pet store management functionalities using the Model Context Protocol over SSE transport.Last updated
Related MCP Connectors
MCP server for AI dialogue using various LLM models via AceDataCloud
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
A basic MCP server to operate on the Postman API.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/MCPForgeHQ/swagger-petstore-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server