Back to Home
bobthearsonist icon

ai-infrastructure

by bobthearsonist

Overview

The AI Infrastructure project serves as a central hub for multiplexing various Model Context Protocol (MCP) servers and AI tools, providing a unified gateway for AI clients with integrated observability and platform services.

Installation

Run Command
cd gateways/agentgateway && docker-compose up -d

Environment Variables

  • NEXTAUTH_URL
  • DATABASE_URL
  • SALT
  • ENCRYPTION_KEY
  • TELEMETRY_ENABLED
  • LANGFUSE_ENABLE_EXPERIMENTAL_FEATURES
  • CLICKHOUSE_MIGRATION_URL
  • CLICKHOUSE_URL
  • CLICKHOUSE_USER
  • CLICKHOUSE_PASSWORD
  • CLICKHOUSE_CLUSTER_ENABLED
  • LANGFUSE_S3_EVENT_UPLOAD_BUCKET
  • LANGFUSE_S3_EVENT_UPLOAD_REGION
  • LANGFUSE_S3_EVENT_UPLOAD_ACCESS_KEY_ID
  • LANGFUSE_S3_EVENT_UPLOAD_SECRET_ACCESS_KEY
  • LANGFUSE_S3_EVENT_UPLOAD_ENDPOINT
  • LANGFUSE_S3_EVENT_UPLOAD_FORCE_PATH_STYLE
  • LANGFUSE_S3_EVENT_UPLOAD_PREFIX
  • LANGFUSE_S3_MEDIA_UPLOAD_BUCKET
  • LANGFUSE_S3_MEDIA_UPLOAD_REGION
  • LANGFUSE_S3_MEDIA_UPLOAD_ACCESS_KEY_ID
  • LANGFUSE_S3_MEDIA_UPLOAD_SECRET_ACCESS_KEY
  • LANGFUSE_S3_MEDIA_UPLOAD_ENDPOINT
  • LANGFUSE_S3_MEDIA_UPLOAD_FORCE_PATH_STYLE
  • LANGFUSE_S3_MEDIA_UPLOAD_PREFIX
  • LANGFUSE_S3_BATCH_EXPORT_ENABLED
  • REDIS_HOST
  • REDIS_PORT
  • REDIS_AUTH
  • REDIS_TLS_ENABLED
  • NEXTAUTH_SECRET
  • LANGFUSE_INIT_ORG_ID
  • LANGFUSE_INIT_ORG_NAME
  • LANGFUSE_INIT_PROJECT_ID
  • LANGFUSE_INIT_PROJECT_NAME
  • LANGFUSE_INIT_PROJECT_PUBLIC_KEY
  • LANGFUSE_INIT_PROJECT_SECRET_KEY
  • LANGFUSE_INIT_USER_EMAIL
  • LANGFUSE_INIT_USER_NAME
  • LANGFUSE_INIT_USER_PASSWORD
  • LANGFUSE_MCP_AUTH_TOKEN
  • MINIO_ROOT_USER
  • MINIO_ROOT_PASSWORD
  • POSTGRES_USER
  • POSTGRES_PASSWORD
  • HA_URL
  • HA_TOKEN
  • AUTO_APPROVE
  • OPENAI_API_KEY
  • ANTHROPIC_API_KEY
  • BROWSER_USE_HEADLESS
  • BROWSER_USE_LOGGING_LEVEL
  • BROWSER_USE_SETUP_LOGGING
  • MCP_PORT
  • TENANT_NAME
  • LUNAR_API_KEY
  • LOG_LEVEL
  • LUNAR_MANAGED
  • LUNAR_TELEMETRY
  • RUST_LOG
  • LANGFUSE_PUBLIC_KEY
  • LANGFUSE_SECRET_KEY
  • LANGFUSE_HOST

Security Notes

The system has several critical security risks: 1. Privilege Escalation: The 'mcps/hass-mcp' and 'mcps/browser-use' docker-compose configurations mount '/var/run/docker.sock' into their containers, which grants the containers root access to the host's Docker daemon. This allows for arbitrary code execution on the host. 2. Container Privileges: The 'mcps/mcpx' container is configured with 'privileged: true', which grants it nearly all capabilities of the host system, bypassing security isolation mechanisms. 3. Hardcoded Development Secrets: Langfuse components (MinIO, PostgreSQL, Redis) use hardcoded default credentials ('minio/miniosecret', 'langfuse/langfuse', 'langfuse-redis-secret') and a base64 encoded development auth token in environment variable examples, which are highly insecure for production. 4. Permissive CORS: The 'agentgateway/config.yaml' uses 'allowOrigins: ['*']' and 'allowHeaders: ['*']', which is overly permissive and a security risk if the gateway is exposed publicly without robust authentication/authorization. 5. Supply Chain Risk: The use of 'npx ...@latest' in 'stdio-proxy/servers.json' and client configurations introduces a supply chain risk, as a malicious update to a package could be automatically pulled and executed.

Similar Servers

Stats

Interest Score0
Security Score3
Cost ClassMedium
Stars0
Forks0
Last Update2026-01-10

Tags

AI InfrastructureMCP GatewayDocker ComposeObservabilityLLM Tools