mcp.run(transport="streamable-http")
uv run mcp dev src/gen_images/bailian_mcpserver.py
Starting MCP inspector...
⚙️ Proxy server listening on localhost:6277
🔑 Session token: e05a5b929cf9f30564653a3411b3f4df6e55110e9d0383f3bb5000b680bb9a75
Use this token to authenticate requests or set DANGEROUSLY_OMIT_AUTH=true to disable auth
🚀 MCP Inspector is up and running at:
http://localhost:6274/?MCP_PROXY_AUTH_TOKEN=e05a5b929cf9f30564653a3411b3f4df6e55110e9d0383f3bb5000b680bb9a75
🌐 Opening browser...
New StreamableHttp connection request
Query parameters: {"url":"http://localhost:8000/mcp","transportType":"streamable-http"}
Created StreamableHttp server transport
Created StreamableHttp client transport
Client <-> Proxy sessionId: a02ed93f-b1b9-49a3-8358-04018aa03101
Connection refused. Is the MCP server running?
log:
how to fix?