[nix] vectorcode x mcp #216
Replies: 2 comments 8 replies
-
I'm not quite sure about the nix part, but
This is a "feature", not a bug (at least for now). The vectorcode MCP server doesn't start a Chromadb server because I'm not quite sure how to handle the potential race condition (multiple instances writing to the same database file at the same time). The same applies to the LSP. I've thought about a filelock for the |
Beta Was this translation helpful? Give feedback.
-
@AdrienLemaire can you file a bug on https://github.com/NixOS/nixpkgs/issues and ping myself and Gaetan? We can track the nix-side fix there. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
@sarahec @GaetanLepage thanks for fixing the vectorcode build issue in NixOS/nixpkgs#415770
I'm trying to configure it with MCPHub, and got this error:
It asks about
vectorcode[mcp]
, and it looks like Gaetan made it an optional dependency in the package.nix.So I tried to update my environment packages as follow:
But now, I get this error:
The exact issue is unclear to me, but it feels like vectorcode fails to connect to the chroma db (which I'm expecting vectorcode to start by itself like with vectorcode cli).
Did I incorrectly configure
vectorcode-with-mcp
?EDIT: the logs error is just about vectorcode-mcp-server not starting.
Traceback
Looking at the doc, I see
So it seems like we'd need to reinstall chromadb independently from vectorcode with its own systemctl service, as was done with chromadb_0 if I recall correctly.
Beta Was this translation helpful? Give feedback.
All reactions