Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Swagger Petstore

БесплатноНе проверен

OpenAPI-to-MCP example server generated with MCPForge. Demonstrates how REST APIs can be converted into production-ready MCP servers for Claude, Cursor, Windsur

GitHubEmbed

Описание

OpenAPI-to-MCP example server generated with MCPForge. Demonstrates how REST APIs can be converted into production-ready MCP servers for Claude, Cursor, Windsurf, and other MCP clients.

README

Verified by MCPForge smithery badge

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-susoj

No setup required — connect Claude Desktop or any MCP client to this endpoint and start using it immediately.


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.json
  • Windows: %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
getPetById Find a pet by its ID
findPetsByStatus Find pets by status (available, pending, sold)
findPetsByTags Find pets by tags
getInventory Returns pet inventories by status
getOrderById Find a purchase order by ID
getUserByName Get user by username

Side Effect (10 tools — write operations)

Tool Description
addPet Add a new pet to the store
updatePet Update an existing pet
updatePetWithForm Update a pet using form data
uploadFile Upload an image file for a pet
placeOrder Place an order for a pet
createUser Create a new user
createUsersWithList Create a list of users
updateUser Update an existing user
loginUser Log user into the system
logoutUser Log out the current user session

Critical — Disabled by default (3 tools)

Tool Description
deletePet Delete a pet by ID (disabled)
deleteOrder Delete a purchase order (disabled)
deleteUser 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.

from github.com/MCPForgeHQ/swagger-petstore-mcp

Установка Swagger Petstore

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/MCPForgeHQ/swagger-petstore-mcp

FAQ

Swagger Petstore MCP бесплатный?

Да, Swagger Petstore MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Swagger Petstore?

Нет, Swagger Petstore работает без API-ключей и переменных окружения.

Swagger Petstore — hosted или self-hosted?

Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.

Как установить Swagger Petstore в Claude Desktop, Claude Code или Cursor?

Открой Swagger Petstore на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare Swagger Petstore with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории ai