-
Notifications
You must be signed in to change notification settings - Fork 111
Closed
Description
Using this mcp via claude code
"staging-elastic": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@elastic/mcp-server-elasticsearch" // using @elastic/[email protected] works
],
"env": {
"ES_URL": "https://localhost:9200",
"ES_API_KEY": "KEY",
"NODE_TLS_REJECT_UNAUTHORIZED": "0",
"ES_VERSION": "8"
}
},logs
[DEBUG] MCP server "staging-elastic": Connection failed: McpError: MCP error -32000: Connection closed
[DEBUG] MCP server "staging-elastic": Error message: MCP error -32000: Connection closed
[DEBUG] MCP server "staging-elastic": Error stack: McpError: MCP error -32000: Connection closed
at Xn1._onclose (file:///home/user/.nvm/versions/node/v20.19.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:1333:14912)
at _transport.onclose (file:///home/user/.nvm/versions/node/v20.19.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:1333:14231)
at ChildProcess.<anonymous> (file:///home/user/.nvm/versions/node/v20.19.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:1335:1444)
at ChildProcess.emit (node:events:524:28)
at ChildProcess.emit (node:domain:489:12)
at maybeClose (node:internal/child_process:1104:16)
at ChildProcess._handle.onexit (node:internal/child_process:304:5)
Metadata
Metadata
Assignees
Labels
No labels