GitHub

Installation

Prerequisites

  • Python 3.8+
  • Redis (for session management)
  • Qdrant (for vector storage)
  • SQLite (for structured data)
  • Access to Functor backend system

Install from Source

# Clone the repository
git clone https://github.com/your-org/functor-mcp-server.git
cd functor-mcp-server
# Install dependencies
pip install -r requirements.txt
# Install in development mode
pip install -e .

Install Dependencies

# Core MCP dependencies
pip install fastmcp>=2.0.0 httpx pydantic pydantic-settings
# Optional dependencies for enhanced features
pip install redis qdrant-client fastapi uvicorn
# Development dependencies
pip install pytest pytest-asyncio black flake8 mypy

Docker Installation

# Pull the official image
docker pull functor/mcp-server:latest
# Or build from source
docker build -t functor/mcp-server .

Configuration

Configure the server using environment variables or a config.yaml file.

Environment Variables

# Server Configuration
MCP_SERVER_NAME=Functor Memory Server
MCP_PORT=8001
# Authentication
MCP_API_KEY=your-secret-api-key
# Backend Integration
BACKEND_URL=http://localhost:8000
QDRANT_URL=http://localhost:6333
REDIS_URL=redis://localhost:6379