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., "@mcp_sdk_petstore_api_44list all pets that are available for adoption"
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.
mcp_sdk_petstore_api_44 - MCP Server
This is a standalone MCP (Model Context Protocol) server generated from an OpenAPI specification.
What is this?
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.
Prerequisites
Python 3.10 or higher
pip (Python package installer)
Quick Start
Extract the package:
unzip mcp_sdk_petstore_api_44.zip cd mcp_sdk_petstore_api_44Install dependencies:
pip install -r requirements.txtConfigure authentication (if your API requires it):
Edit
config.jsonand update theauth_configsectionSee the "Authentication" section below for examples
Run the server:
python main.pyNote the MCP URL from the output:
MCP Connection URL: http://localhost:8000/sseConnect from your MCP client using this URL
Running the Server
Start the server with:
You should see output like:
The server will continue running until you press Ctrl+C.
Changing Host/Port
Edit config.json to change the host or port:
0.0.0.0means the server listens on all network interfacesUse
127.0.0.1orlocalhostto only allow local connectionsChange
portto any available port number
Connecting MCP Clients
Using the MCP URL
Your MCP client needs the SSE endpoint URL: http://localhost:8000/sse
Claude Desktop (SSE Mode)
If your Claude Desktop supports SSE transport, add to claude_desktop_config.json:
Cursor / Custom MCP Clients
Configure your client to connect to the SSE endpoint:
URL:
http://localhost:8000/sseTransport: SSE / Server-Sent Events
Method: GET (for SSE connection), POST (for messages endpoint at
/messages)
Testing with curl
Verify the server is running:
Understanding the Package Structure
config.json
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 instance
tools.json
Contains 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 details
main.py
The entry point that:
Loads configuration and tools
Sets up authentication handler
Creates the DynamicMCPServer instance
Starts the HTTP server with SSE endpoints
Exposes the MCP protocol over HTTP
server.py
Contains the core MCP server logic:
DynamicMCPServer: Main MCP server implementationAPIClient: Handles HTTP requests to your target APIToolExecutor: Executes tools by calling the API client
auth_handler.py
Handles authentication for API calls:
Supports API Key (header/query), Bearer tokens, Basic auth, OAuth2
Automatically adds auth headers/params to API requests
Authentication
If your API requires authentication, update the auth_config in config.json:
API Key (Header)
API Key (Query)
Bearer Token
Basic Auth
Frequently Asked Questions
Q: What is the MCP server URL?
A: The MCP server URL is displayed when you start the server:
By default, it's http://localhost:8000/sse. You can change the host/port in config.json.
Q: How do I know if the server is running?
A: Several ways to check:
Look at the console output - you'll see the startup message with the URL
Check the health endpoint:
curl http://localhost:8000/healthView server logs - all requests are logged to the console
Connect with an MCP client - if it can list/use tools, the server is working
Q: Can I access the server from another machine?
A: Yes! Change the host in config.json:
Then use your machine's IP address or hostname:
From same network:
http://192.168.1.100:8000/sseWith proper DNS/routing:
http://your-hostname:8000/sse
Security Note: When exposing the server publicly, ensure the target API credentials are properly secured and consider adding authentication to the MCP server itself.
Q: Can multiple clients connect simultaneously?
A: Yes! The server uses SSE transport and can handle multiple concurrent client connections. Each client will have its own session.
Troubleshooting
Import Errors
Make sure you've installed all dependencies:
If using a virtual environment, ensure it's activated before running.
Port Already in Use
If you see an error like Address already in use:
Change the port in
config.jsonto a different numberOr stop the process using that port:
# Find process using port 8000 lsof -i :8000 # Kill it kill -9 <PID>
Cannot Connect to MCP Server
Verify the server is running (check console output)
Test the health endpoint:
curl http://localhost:8000/healthCheck firewall settings if connecting from another machine
Ensure the MCP client is using the correct URL
Connection Issues to Target API
Verify the
base_urlinconfig.jsonis correctCheck that the target API is accessible from your machine
Verify authentication credentials if the API requires it
Test the API endpoints directly with curl to ensure they work
Check server logs for detailed error messages
Tool Execution Fails
Check the server console for error messages
Verify the tool definitions in
tools.jsonmatch the API specEnsure the target API endpoint is functioning correctly
Verify authentication is configured if the API requires it
Check if required parameters are being passed correctly
Server Crashes or Won't Start
Check Python version:
python --version(needs 3.10+)Review error messages in the console
Ensure
config.jsonandtools.jsonare valid JSONTry running with verbose logging to see more details
Files Description
main.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 file
Support
For issues or questions:
Check the logs for error messages
Verify your configuration in
config.jsonEnsure the target API is accessible
Generated
This MCP server was generated on 2026-01-29 12:29:43 using the Integra BYOM platform.