Fix instructions

This commit is contained in:
vasilije 2024-12-27 11:51:18 +01:00
parent 17d8ad08cd
commit 57a274909c

View file

@ -37,25 +37,40 @@ source .venv/bin/activate
4. Add the new server to your Claude config: 4. Add the new server to your Claude config:
The file should be located here: ~/Library/Application\ Support/Claude/ The file should be located here: ~/Library/Application\ Support/Claude/
You need to create claude_desktop_config.json in this folder if it doesn't exist
```json ```
{
"mcpServers": {
"cognee": { "cognee": {
"command": "uv", "command": "/Users/{user}/cognee/.venv/bin/uv",
"args": [ "args": [
"--directory", "--directory",
"/{Absolute path to cognee directory}/cognee-mcp", "/Users/{user}/cognee/cognee-mcp",
"run", "run",
"cognee" "cognee"
], ],
"env": { "env": {
"ENV": "local", "ENV": "local",
"TOKENIZERS_PARALLELISM": "false", "TOKENIZERS_PARALLELISM": "false",
"LLM_API_KEY": "add_your_api_key_here", "LLM_API_KEY": "sk-"
}
},
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"/Users/{user}/Desktop",
"/Users/{user}/Projects"
]
}
} }
} }
``` ```
Restart your Claude desktop. Restart your Claude desktop.
### Installing via Smithery ### Installing via Smithery