Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change UVX to UVENV, add Python version recommendation, update Claude config file #4

Open
nielsdejong opened this issue Jan 6, 2025 · 0 comments

Comments

@nielsdejong
Copy link

I had some trouble running the MCP server following along with the release blog post:
https://medium.com/neo4j/claude-conversing-with-neo4j-via-mcp-5419d24bb7a0

When first trying to run the MCP server from Claude desktop, I got this issue:

2025-01-03T08:07:42.199Z [info] Attempting to connect to MCP server movies-neo4j...
2025-01-03T08:07:42.204Z [error] Error in MCP connection to server movies-neo4j: Error: spawn uvx ENOENT
2025-01-03T08:07:42.204Z [error] Could not start MCP server movies-neo4j: Error: spawn uvx ENOENT
2025-01-03T08:07:42.205Z [info] MCP server movies-neo4j disconnected. For troubleshooting guidance, please visit our [debugging documentation](https://modelcontextprotocol.io/docs/tools/debugging)

I managed to fix this by doing two things:

  1. Updating Python from 3.9 to 3.13.
  2. Doing a pip install uvenv and switching out uvx for uvenv in the config file.

I also realized that somehow the CLI params with the uri, username, password were not accepted.
I had to add another -- inside the args array in the config.

This was my final claude_desktop_config.json:

{"mcpServers": {
      "movies-neo4j": {
        "command": "/Users/nielsdejong/.pyenv/shims/uvenv",
        "args": ["run",
		 "mcp-neo4j-cypher", 
                 "--", "--db-url", "neo4j+s://demo.neo4jlabs.com", 
                 "--user", "recommendations", 
                 "--password", "recommendations"]
      }   
    }
 }

It could be that this is just me, but it might be worth checking to see if this happens on a fresh environment as well.

Versions

  • OS: MacOS Sequoia
  • Python 3.13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant