Hi team,
It seems like a lot of people are facing MCP server kite disconnect on claude.
From the logs most of us have same error
From mcp.log
2025-06-02T19:01:08.225Z [info] [kite] Initializing server...
2025-06-02T19:01:08.264Z [info] [kite] Server started and connected successfully
2025-06-02T19:01:08.267Z [info] [kite] Message from client: {"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"claude-ai","version":"0.1.0"}},"jsonrpc":"2.0","id":0}
2025-06-02T19:01:12.546Z [info] [kite] Message from server: {"jsonrpc":"2.0","id":0,"result":{"protocolVersion":"2025-03-26","capabilities":{"tools":{"listChanged":true}},"serverInfo":{"name":"Kite MCP Server","version":"1.0.0"}}}
2025-06-02T19:01:12.547Z [info] [kite] Client transport closed
2025-06-02T19:01:12.547Z [info] [kite] Server transport closed
2025-06-02T19:01:12.547Z [info] [kite] Client transport closed
2025-06-02T19:01:12.547Z [info] [kite] Server transport closed unexpectedly, this is likely due to the process exiting early. If you are developing this MCP server you can add output to stderr (i.e. `console.error('...')` in JavaScript, `print('...', file=sys.stderr)` in python) and it will appear in this log.
2025-06-02T19:01:12.548Z [error] [kite] Server disconnected. For troubleshooting guidance, please visit our [debugging documentation](https://modelcontextprotocol.io/docs/tools/debugging)
2025-06-02T19:01:12.669Z [info] [kite] Server transport closed
2025-06-02T19:01:12.669Z [info] [kite] Client transport closed
2025-06-02T19:02:48.224Z [info] [kite] Initializing server...
2025-06-02T19:02:48.267Z [info] [kite] Server started and connected successfully
2025-06-02T19:02:48.270Z [info] [kite] Message from client: {"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"claude-ai","version":"0.1.0"}},"jsonrpc":"2.0","id":0}
2025-06-02T19:02:49.198Z [info] [kite] Message from server: {"jsonrpc":"2.0","id":0,"result":{"protocolVersion":"2025-03-26","capabilities":{"tools":{"listChanged":true}},"serverInfo":{"name":"Kite MCP Server","version":"1.0.0"}}}
2025-06-02T19:02:49.198Z [info] [kite] Client transport closed
2025-06-02T19:02:49.199Z [info] [kite] Server transport closed
2025-06-02T19:02:49.199Z [info] [kite] Client transport closed
2025-06-02T19:02:49.199Z [info] [kite] Server transport closed unexpectedly, this is likely due to the process exiting early. If you are developing this MCP server you can add output to stderr (i.e. `console.error('...')` in JavaScript, `print('...', file=sys.stderr)` in python) and it will appear in this log.
2025-06-02T19:02:49.199Z [error] [kite] Server disconnected. For troubleshooting guidance, please visit our [debugging documentation](https://modelcontextprotocol.io/docs/tools/debugging)
2025-06-02T19:02:49.207Z [info] [kite] Server transport closed
2025-06-02T19:02:49.207Z [info] [kite] Client transport closed
From mcp-server-kite.log
2025-06-02T19:02:48.223Z [kite] [info] Initializing server...
2025-06-02T19:02:48.267Z [kite] [info] Server started and connected successfully
2025-06-02T19:02:48.270Z [kite] [info] Message from client: {"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"claude-ai","version":"0.1.0"}},"jsonrpc":"2.0","id":0}
[97906] Using automatically selected callback port: 13298
[97906] [97906] Connecting to remote server: https://mcp.kite.trade/sse
[97906] Using transport strategy: http-first
[97906] Received error: Error POSTing to endpoint (HTTP 405): Method not allowed
[97906] Recursively reconnecting for reason: falling-back-to-alternate-transport
[97906] [97906] Connecting to remote server: https://mcp.kite.trade/sse
[97906] Using transport strategy: sse-only
[97906] Connected to remote server using SSEClientTransport
[97906] Local STDIO server running
[97906] Proxy established successfully between local STDIO and remote SSEClientTransport
[97906] Press Ctrl+C to exit
[97906] [Local→Remote] initialize
[97906] {
"jsonrpc": "2.0",
"id": 0,
"method": "initialize",
"params": {
"protocolVersion": "2024-11-05",
"capabilities": {},
"clientInfo": {
"name": "claude-ai (via mcp-remote 0.1.9)",
"version": "0.1.0"
}
}
}
[97906] [Remote→Local] 0
2025-06-02T19:02:49.198Z [kite] [info] Message from server: {"jsonrpc":"2.0","id":0,"result":{"protocolVersion":"2025-03-26","capabilities":{"tools":{"listChanged":true}},"serverInfo":{"name":"Kite MCP Server","version":"1.0.0"}}}
2025-06-02T19:02:49.198Z [kite] [info] Client transport closed
2025-06-02T19:02:49.199Z [kite] [info] Server transport closed
2025-06-02T19:02:49.199Z [kite] [info] Client transport closed
2025-06-02T19:02:49.199Z [kite] [info] Server transport closed unexpectedly, this is likely due to the process exiting early. If you are developing this MCP server you can add output to stderr (i.e. `console.error('...')` in JavaScript, `print('...', file=sys.stderr)` in python) and it will appear in this log.
2025-06-02T19:02:49.199Z [kite] [error] Server disconnected. For troubleshooting guidance, please visit our [debugging documentation](https://modelcontextprotocol.io/docs/tools/debugging) {"context":"connection"}
2025-06-02T19:02:49.207Z [kite] [info] Server transport closed
2025-06-02T19:02:49.207Z [kite] [info] Client transport closed
Things i’ve already tried:
- Followed the steps from https://www.youtube.com/watch?v=ljpu1KLoWBc&t=146s
- Reinstalled Node
- Reinstalled Claude
Do let me know if there’s a proper fix to it.
PS: It was working on Friday and stopped working on Monday. There has been no update to my python, node or claude in this time frame.