This setup gives you full control over the server configuration and enables access to the latest features from the development branch.

Quick Setup

1

Clone Repository

git clone https://github.com/topoteretes/cognee.git
cd cognee
2

Environment Configuration

Create your .env file:
LLM_API_KEY="your-openai-api-key"
3

Install Dependencies

# Install uv package manager
brew install uv

# Install project dependencies
cd cognee-mcp
uv sync --dev --all-extras --reinstall
4

Activate & Run

# Activate virtual environment
source .venv/bin/activate

# Run with stdio transport (default)
python src/server.py

# Or run with SSE transport
python src/server.py --transport sse

Transport Options

Default transport mode for most MCP clients:
python src/server.py
If you encounter errors on first run, reset your MCP configuration and try again.

Need Help?

Join Our Community

Get support, share insights, and connect with other developers using Cognee MCP.