Skip to content

Commit 17c644a

Browse files
stackptrclaude
andcommitted
fix(basic-memory): set default MCP project to avoid session errors
Claude Code sessions fail at startup when Basic Memory tools are called without a project parameter. Since we only have one project ("main"), set BASIC_MEMORY_MCP_PROJECT env var so the service defaults to it without requiring each tool call to specify the project explicitly. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 6e770f0 commit 17c644a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎modules/nixos/llm/basic-memory.nix‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ in {
4242
environment = {
4343
HOME = dataDir;
4444
BASIC_MEMORY_CONFIG_DIR = dataDir;
45+
BASIC_MEMORY_MCP_PROJECT = "main";
4546
UV_CACHE_DIR = "${dataDir}/.cache/uv";
4647
};
4748

0 commit comments

Comments
 (0)