Run your first Cognee MCP server to see AI memory integration in action.

Prerequisites

  • Docker installed and running
  • OpenAI API key

Quick Setup

1

Set your API key

export OPENAI_API_KEY=your_api_key_here
2

Launch the server

docker run -e TRANSPORT_MODE=http --env-file ./.env -p 8000:8000 --rm -it cognee/cognee-mcp:main
3

Test the server

curl http://localhost:8000/health
The server runs on port 8000. By default, the container removes all data when stopped.

Connect to AI Tools

Cognee MCP is designed to work with AI development tools. Choose your preferred client:

Next Steps