Provides integration with a Pet Store API based on the OpenAPI 3.1 specification, enabling management of pet store operations through the Swagger Petstore sample server.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Petstore MCP Servershow me all available pets in the store"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
This is a Next.js project bootstrapped with create-next-app.
Getting Started
First, run the development server:
Open http://localhost:3000 with your browser to see the result.
Environment Variables
Set the following environment variables before running:
OpenAPI Specifications
This server hosts multiple OpenAPI specifications:
Spec Name | File | Endpoint | Description |
OpenAPI 1 |
|
| User API v1 |
OpenAPI 2 |
|
| User API v2 |
Calculator Basic |
|
| Add/Subtract with Bearer auth |
Calculator OAuth |
|
| Multiply with OAuth |
List All Available Specs
Get a Specific Spec
Calculator APIs
Calculator Basic (Bearer Token Authentication)
Requires Authorization: Bearer <token> header where token matches CALCULATOR_BEARER_TOKEN env var.
Add two numbers:
Response: {"result": 15}
Subtract two numbers:
Response: {"result": 7}
Calculator OAuth (OAuth 2.0 Authentication)
Requires Authorization: Bearer <oauth-token> header with a valid OAuth token (minimum 10 characters for demo).
Multiply two numbers:
Response: {"result": 42}
Docker Deployment
Build and run with Docker:
Learn More
To learn more about Next.js, take a look at the following resources:
Next.js Documentation - learn about Next.js features and API.
Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
Deploy on Vercel
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.
Summary
Petstore - OpenAPI 3.1: This is a sample Pet Store Server based on the OpenAPI 3.1 specification.
Some useful links:
For more information about the API: Find out more about Swagger
Table of Contents
Installation
To finish publishing your MCP Server to npm and others you mustrun your first generation action.
Install the MCP server as a Desktop Extension using the pre-built mcp-server.mcpb file:
Simply drag and drop the mcp-server.mcpb file onto Claude Desktop to install the extension.
The MCP bundle package includes the MCP server and all necessary configuration. Once installed, the server will be available without additional setup.
MCP bundles provide a streamlined way to package and distribute MCP servers. Learn more aboutDesktop Extensions.
Or manually:
Open Cursor Settings
Select Tools and Integrations
Select New MCP Server
If the configuration file is empty paste the following JSON into the MCP Server Configuration:
Refer to Official Windsurf documentation for latest information
Open Windsurf Settings
Select Cascade on left side menu
Click on
Manage MCPs. (To Manage MCPs you should be signed in with a Windsurf Account)Click on
View raw configto open up the mcp configuration file.If the configuration file is empty paste the full json
Refer to Official VS Code documentation for latest information
Open Command Palette
Search and open
MCP: Open User Configuration. This should open mcp.json fileIf the configuration file is empty paste the full json
You need to do the following
Open claude Desktop
Open left hand side pane, then click on your Username
Go to
SettingsGo to
Developertab (on the left hand side)Click on
Edit ConfigPaste the following config in the configuration
For a full list of server arguments, run: