loading…
Search for a command to run...
loading…
A standalone MCP server generated from an OpenAPI specification that exposes Petstore API endpoints as tools for AI assistants. It utilizes SSE transport to ena
A 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.
This is a standalone MCP (Model Context Protocol) server generated from an OpenAPI specification.
This package contains everything needed to run an MCP server that exposes API endpoints as tools that can be used by AI assistants like Claude, ChatGPT, and others that support the MCP protocol.
Transport Mode: This server uses SSE (Server-Sent Events) transport - it runs as an HTTP server that MCP clients connect to via a URL.
Extract the package:
unzip mcp_sdk_petstore_api_44.zip
cd mcp_sdk_petstore_api_44
Install dependencies:
pip install -r requirements.txt
Configure authentication (if your API requires it):
config.json and update the auth_config sectionRun the server:
python main.py
Note the MCP URL from the output:
MCP Connection URL:
http://localhost:8000/sse
Connect from your MCP client using this URL
Start the server with:
python main.py
You should see output like:
============================================================
MCP Server is starting...
Server Name: mcp_sdk_petstore_api_44
Tools Available: X
MCP Connection URL:
http://localhost:8000/sse
Health Check:
http://localhost:8000/health
Server will be available at: 0.0.0.0:8000
============================================================
The server will continue running until you press Ctrl+C.
Edit config.json to change the host or port:
{
"host": "0.0.0.0",
"port": 8000
}
0.0.0.0 means the server listens on all network interfaces127.0.0.1 or localhost to only allow local connectionsport to any available port numberYour MCP client needs the SSE endpoint URL: http://localhost:8000/sse
If your Claude Desktop supports SSE transport, add to claude_desktop_config.json:
{
"mcpServers": {
"mcp_sdk_petstore_api_44": {
"url": "http://localhost:8000/sse",
"transport": "sse"
}
}
}
Configure your client to connect to the SSE endpoint:
http://localhost:8000/sse/messages)Verify the server is running:
# Health check
curl http://localhost:8000/health
# Connect to SSE endpoint (will stream events)
curl -N http://localhost:8000/sse
Contains the server configuration:
server_name: The name of your MCP serverbase_url: The base URL of the target API that this MCP server will proxyhost: Server host (default: 0.0.0.0)port: Server port (default: 8000)auth_config: Authentication configuration for the target API (optional)session_id: Unique identifier for this server instanceContains the tool definitions generated from your OpenAPI specification. These are the endpoints that will be available as tools to AI assistants.
Each tool includes:
name: Unique tool identifierdescription: What the tool doesinputSchema: JSON Schema defining the tool's parametersmetadata: HTTP method, path, and other endpoint detailsThe entry point that:
Contains the core MCP server logic:
DynamicMCPServer: Main MCP server implementationAPIClient: Handles HTTP requests to your target APIToolExecutor: Executes tools by calling the API clientHandles authentication for API calls:
If your API requires authentication, update the auth_config in config.json:
{
"type": "apiKey",
"credentials": {
"location": "header",
"name": "X-API-Key",
"value": "your-api-key-here"
}
}
{
"type": "apiKey",
"credentials": {
"location": "query",
"name": "api_key",
"value": "your-api-key-here"
}
}
{
"type": "http",
"credentials": {
"scheme": "bearer",
"token": "your-bearer-token-here"
}
}
{
"type": "http",
"credentials": {
"scheme": "basic",
"username": "your-username",
"password": "your-password"
}
}
A: The MCP server URL is displayed when you start the server:
MCP Connection URL:
http://localhost:8000/sse
By default, it's http://localhost:8000/sse. You can change the host/port in config.json.
A: Several ways to check:
curl http://localhost:8000/health
A: Yes! Change the host in config.json:
{
"host": "0.0.0.0",
"port": 8000
}
Then use your machine's IP address or hostname:
http://192.168.1.100:8000/ssehttp://your-hostname:8000/sseSecurity Note: When exposing the server publicly, ensure the target API credentials are properly secured and consider adding authentication to the MCP server itself.
A: Yes! The server uses SSE transport and can handle multiple concurrent client connections. Each client will have its own session.
Make sure you've installed all dependencies:
pip install -r requirements.txt
If using a virtual environment, ensure it's activated before running.
If you see an error like Address already in use:
config.json to a different number# Find process using port 8000
lsof -i :8000
# Kill it
kill -9 <PID>
curl http://localhost:8000/healthbase_url in config.json is correcttools.json match the API specpython --version (needs 3.10+)config.json and tools.json are valid JSONmain.py: Entry point for the MCP serverserver.py: MCP server implementationauth_handler.py: Authentication handler for API callsconfig.json: Server configurationtools.json: Tool definitions from OpenAPI specrequirements.txt: Python dependenciesREADME.md: This fileFor issues or questions:
config.jsonThis MCP server was generated on 2026-01-29 12:29:43 using the Integra BYOM platform.
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"mcp-sdk-petstore-api-44": {
"command": "npx",
"args": []
}
}
}Web content fetching and conversion for efficient LLM usage.
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also