Deploy Cognee MCP server locally from source for development and custom configurations
Clone Repository
git clone https://github.com/topoteretes/cognee.git cd cognee
Environment Configuration
.env
LLM_API_KEY="your-openai-api-key"
Install Dependencies
# Install uv package manager brew install uv # Install project dependencies cd cognee-mcp uv sync --dev --all-extras --reinstall
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
python src/server.py