GitHub

Quick Start

1. Start the Backend System

# Start the main Functor backend
python -m uvicorn app.main:app --reload --host 0.0.0.0 --port 8000
# Or use Docker Compose for full stack
docker-compose up -d

2. Start the MCP Server

# Start MCP server (port 8001)
python app/mcp/server.py
# Or use the provided script
./scripts/start_mcp_server.sh

3. Verify Installation

# Health check
curl http://localhost:8001/health
# Should return:
# {
# "status": "ok",
# "server": "Functor Memory Server",
# "version": "1.0.0"
# }

4. Basic Usage with Claude Desktop

Create or update your claude_desktop_config.json:

{
"mcpServers": {
"functor": {
"command": "python",
"args": ["app/mcp/server.py"],
"env": {
"MCP_API_KEY": "your-api-key",
"QDRANT_URL": "http://localhost:6333"
}
}
}
}