You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My MCP Server gets initialized successfully. I have added it to claude.. but it immediately gets closed. Below is my Claude desktop config. Can someone share ideas?
httpServer := server.NewStreamableHTTPServer(s)
log.Println("Created HTTP server instance")
port := ":8000"
log.Printf("Starting HTTP server on port %s...\n", port)
log.Println("Server is ready to accept connections")
log.Println("Waiting for clients...")
if err := httpServer.Start(port); err != nil {
log.Fatalf("Server error: %v\n", err)
I tried launching MCP server with allow-http. it still doesnt work. it keeps failing with same error.
./vertica-mcp --allow-http
2025-10-08T15:01:07.512Z [vertica-mcp] [info] Server started and connected successfully { metadata: undefined }
2025-10-08T15:01:07.527Z [vertica-mcp] [info] Message from client: {"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"claude-ai","version":"0.1.0"}},"jsonrpc":"2.0","id":0} { metadata: undefined }
[5360] Error: Non-HTTPS URLs are only allowed for localhost or when --allow-http flag is provided
[5360] Usage: npx tsx proxy.ts https://server-url [callback-port] [--debug]
2025-10-08T15:01:08.871Z [vertica-mcp] [info] Server transport closed { metadata: undefined }
2025-10-08T15:01:08.871Z [vertica-mcp] [info] Client transport closed { metadata: undefined }
2025-10-08T15:01:08.872Z [vertica-mcp] [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. { metadata: undefined }
2025-10-08T15:01:08.872Z [vertica-mcp] [error] Server disconnected. For troubleshooting guidance, please visit our debugging documentation { metadata: { context: 'connection', stack: undefined } }
2025-10-08T15:01:08.873Z [vertica-mcp] [info] Client transport closed { metadata: undefined }
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
My MCP Server gets initialized successfully. I have added it to claude.. but it immediately gets closed. Below is my Claude desktop config. Can someone share ideas?
{
"mcpServers": {
"vertica-mcp": {
"command": "npx",
"args": [
"mcp-remote",
"http://x.x.x.x:8000"
],
"env": {
"MCP_ALLOW_HTTP": "true"
}
}
}
}
code pertaining to HTTP Server
httpServer := server.NewStreamableHTTPServer(s)
log.Println("Created HTTP server instance")
I tried launching MCP server with allow-http. it still doesnt work. it keeps failing with same error.
./vertica-mcp --allow-http
2025-10-08T15:01:07.512Z [vertica-mcp] [info] Server started and connected successfully { metadata: undefined }
2025-10-08T15:01:07.527Z [vertica-mcp] [info] Message from client: {"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"claude-ai","version":"0.1.0"}},"jsonrpc":"2.0","id":0} { metadata: undefined }
[5360] Error: Non-HTTPS URLs are only allowed for localhost or when --allow-http flag is provided
[5360] Usage: npx tsx proxy.ts https://server-url [callback-port] [--debug]
2025-10-08T15:01:08.871Z [vertica-mcp] [info] Server transport closed { metadata: undefined }
2025-10-08T15:01:08.871Z [vertica-mcp] [info] Client transport closed { metadata: undefined }
2025-10-08T15:01:08.872Z [vertica-mcp] [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. { metadata: undefined }2025-10-08T15:01:08.872Z [vertica-mcp] [error] Server disconnected. For troubleshooting guidance, please visit our debugging documentation { metadata: { context: 'connection', stack: undefined } }
2025-10-08T15:01:08.873Z [vertica-mcp] [info] Client transport closed { metadata: undefined }
Beta Was this translation helpful? Give feedback.
All reactions