Skip to content

Commit

Permalink
Merge branch 'dev' into feature/cog-1084-modal-example-for-cognee
Browse files Browse the repository at this point in the history
  • Loading branch information
hajdul88 authored Jan 24, 2025
2 parents 2410fee + d1ce7e5 commit d5ad370
Show file tree
Hide file tree
Showing 11 changed files with 1,099 additions and 3,094 deletions.
45 changes: 12 additions & 33 deletions cognee-mcp/README.md
Original file line number Diff line number Diff line change
@@ -1,31 +1,19 @@
# cognee MCP server




### Installing Manually
A MCP server project
=======
1. Clone the [cognee](https://github.com/topoteretes/cognee) repo



2. Install dependencies

```
pip install uv
```
```
brew install postgresql
```

```
brew install rust
brew install uv
```

```jsx
cd cognee-mcp
uv sync --dev --all-extras
uv sync --dev --all-extras --reinstall
```

3. Activate the venv with
Expand All @@ -48,8 +36,6 @@ nano claude_desktop_config.json
```

```
{
"mcpServers": {
"cognee": {
Expand All @@ -65,16 +51,7 @@ nano claude_desktop_config.json
"TOKENIZERS_PARALLELISM": "false",
"LLM_API_KEY": "sk-"
}
},
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"/Users/{user}/Desktop",
"/Users/{user}/Projects"
]
}
}
}
}
```
Expand All @@ -95,13 +72,15 @@ Restart your Claude desktop.

To use debugger, run:
```bash
npx @modelcontextprotocol/inspector uv --directory /Users/name/folder run cognee
mcp dev src/server.py
```
Open inspector with timeout passed:
```
http://localhost:5173?timeout=120000
```

To apply new changes while development you do:

1. Poetry lock in cognee folder
2. uv sync --dev --all-extras --reinstall
3. npx @modelcontextprotocol/inspector uv --directory /Users/vasilije/cognee/cognee-mcp run cognee

To apply new changes while developing cognee you need to do:

1. `poetry lock` in cognee folder
2. `uv sync --dev --all-extras --reinstall `
3. `mcp dev src/server.py`
15 changes: 0 additions & 15 deletions cognee-mcp/cognee_mcp/__init__.py

This file was deleted.

235 changes: 0 additions & 235 deletions cognee-mcp/cognee_mcp/server.py

This file was deleted.

Loading

0 comments on commit d5ad370

Please sign in to comment.