Axon.MCP.Server

Infrastructure & Service Architecture

This document details the infrastructure setup, service orchestration, and networking of the Axon MCP Server, based on the docker-compose.yml and nginx.conf configurations.

Service Map

The system is composed of the following containerized services, orchestrating via Docker Compose on the axon-network.

graph TD
    User[User / Browser] -->|HTTP :80| UI[UI (Nginx + React)]
    User -->|HTTP :8001| MCP[MCP Server]
    
    subgraph "Docker Network (axon-network)"
        UI -->|/api/*| API[API Server :8080]
        
        API --> DB[(PostgreSQL :5432)]
        API --> Redis[(Redis :6379)]
        
        MCP --> DB
        MCP --> Redis
        
        Worker[Celery Worker] --> DB
        Worker --> Redis
        
        Beat[Celery Beat] --> Redis
        
        Prometheus -->|Scrape| API
        Prometheus -->|Scrape| PostgresExp[Postgres Exporter]
        Prometheus -->|Scrape| RedisExp[Redis Exporter]
        
        Grafana -->|Query| Prometheus
    end

Service Details

1. Frontend (ui)

2. Backend API (api)

3. MCP Server (mcp-server)

4. Background Workers

5. Data Stores

6. Observability

Networking

Configuration Files