Neo4j MCP Server Not Recognized in Claude CLI

Resolved 💬 5 comments Opened Mar 9, 2025 by fairwindtech Closed Mar 11, 2025

Bug Description
Trying to add the neo4j mcp server with: claude mcp add neo4j uvx 'mcp-neo4j-cypher --db-url neo4j://localhost:7687 --username neo4j --password xxxxx' and it says it adds it, it even it shows it in the "claude mcp list" output, but it does not show up when starting the claude code, only my fetch MCP is shown. It does not have a /neo4j option available in commands, and asking claude to use it results in it trying read my code instead of connecting to the DB. This MCP server works fine in claude desktop with same parameters. I have tried it with the wizard as well and still nothing.

Environment Info

  • Platform: macos
  • Terminal: iTerm.app
  • Version: 0.2.35
  • Feedback ID: 630be42c-df13-4742-8305-13056921510e

Errors

[{"error":"Error: Command failed: /opt/homebrew/Cellar/ripgrep/14.1.1/bin/rg --files --glob *.md /Users/rich/.claude/commands\nrg: /Users/rich/.claude/commands: IO error for operation on /Users/rich/.claude/commands: No such file or directory (os error 2)\n\n    at genericNodeError (node:internal/errors:983:15)\n    at wrappedFn (node:internal/errors:537:14)\n    at ChildProcess.exithandler (node:child_process:414:12)\n    at ChildProcess.emit (node:events:507:28)\n    at ChildProcess.emit (node:domain:489:12)\n    at maybeClose (node:internal/child_process:1101:16)\n    at Socket.<anonymous> (node:internal/child_process:457:11)\n    at Socket.emit (node:events:507:28)\n    at Socket.emit (node:domain:489:12)\n    at Pipe.<anonymous> (node:net:351:12)","timestamp":"2025-03-08T20:04:14.954Z"},{"error":"TypeError: path must not be empty\n    at Tq3 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:319:68729)\n    at I_ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:319:68838)\n    at aM2._test (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:319:69442)\n    at aM2.ignores (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:319:69944)\n    at tM2 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:647:230)\n    at xq3 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:645:470)\n    at Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:643:109)\n    at call.next (<anonymous>)\n    at Z_ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:998:91)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1057:842","timestamp":"2025-03-08T20:04:15.037Z"},{"error":"Error: Request was aborted.\n    at Bu._createMessage (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:518:24060)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-03-08T20:04:58.296Z"},{"error":"Error: Request was aborted.\n    at V5.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:518:7692)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-03-08T20:05:32.786Z"}]

View original on GitHub ↗

This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗