Labsco
OwenQian logo

MCP SSE Launcher

โ˜… 4

from OwenQian

A Python management system for MCP servers that wraps stdio-based servers as SSE endpoints and includes a web inspector for testing.

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedFreeNeeds API keys

MCP SSE Launcher

A Python-based management system for Model Context Protocol (MCP) servers that automatically wraps stdio-based servers with Supergateway to expose them as SSE endpoints, plus provides a web-based inspector for testing.

Key Features

  • Auto-update - keeps MCP servers up-to-date automatically
  • Background monitoring - restarts crashed servers automatically
  • Web inspector - debug and test MCP servers via browser
  • SSE conversion - wraps stdio servers for HTTP/SSE access
  • AI assistant integration - works with Cursor, Claude Desktop, etc.

Common Use Cases

Debug a specific MCP server

# Start inspector (will show URL with auth token)
make run-inspector
# Visit the URL shown in output to test MCP servers

Add a new MCP server

# Add GitHub MCP server
python mcp_servers.py add \
  --name github \
  --cmd npx \
  --args "-y @modelcontextprotocol/server-github" \
  --env GITHUB_TOKEN=your_token_here \
  --port 8094

Use with Cursor AI

Add to ~/.cursor/mcp.json:

{
  "mcpServers": {
    "filesystem": { "url": "http://localhost:8090/sse" },
    "github": { "url": "http://localhost:8094/sse" },
    "brave-search": { "url": "http://localhost:8096/sse" }
  }
}

Restart a problematic server

# Kill conflicts and restart specific server
make restart-server SERVER=github

Run without auto-restart (for development)

make run-servers KEEP_ALIVE=0

What Happens Automatically

  • Updates: npm packages and git repos are checked/updated before starting
  • Port conflicts: conflicting processes are detected and can be killed
  • Process monitoring: crashed servers restart up to 3 times
  • Logging: each server logs to /tmp/<server_name>.log
  • Cleanup: all processes are properly terminated on exit

Available MCP Servers

The default config includes popular servers like:

  • filesystem (8090) - local file access
  • github (8094) - GitHub repository interaction
  • brave-search (8096) - web search
  • fetch (8093) - HTTP requests
  • youtube (8092) - YouTube search/info
  • memory (8100) - persistent memory
  • puppeteer (8101) - web automation