Setup Environment

April 28, 2025 ยท View on GitHub

uv init <project_name>
cd <project_name>
uv add "mcp[cli]" httpx

Run MCP Inspector

Option 1

npx @modelcontextprotocol/inspector

Option 2

uv run mcp dev <mcp_sse_server.py>

Start SSE MCP Server

uv run <mcp_sse_server.py>

Config SSE MCP Server

For Trae, Claude Desktop

{
  "mcpServers": {
    "<mcp_sse_server>": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "http://localhost:8080/sse"
      ]
    }
  }
}

For Cursor, Cherry Studio

http://localhost:8080/sse

Contents

  1. 1Option 1
  2. 2Option 2
  3. 3For Trae, Claude Desktop
  4. 4For Cursor, Cherry Studio