Swagger
Emulates a Swagger Petstore API using a dynamic Model Context Protocol (MCP) server.
关于
The Swagger tool provides a lightweight Model Context Protocol (MCP) server that interacts with the Swagger Petstore API using an OpenAPI 3.0 specification. It dynamically loads API tools defined in `openapi.json` and exposes endpoints that mimic those of the Petstore API using the `mcp.server.fastmcp` module, allowing for easy integration and testing with existing Petstore API workflows.
主要功能
- Dynamically loads OpenAPI 3.0 spec (Petstore)
- Supports full Petstore operations: Pets, Stores, Users
- 0 GitHub stars
- Utilizes MCP server CLI and dynamic tool registration
- Built using FastAPI
使用案例
- Testing and integration with Swagger Petstore API
- Rapid prototyping of MCP-enabled API interactions
- Dynamic API endpoint creation and management