AI AdminPanel Documentation

MCP Server

The AI Admin Panel includes a built-in MCP (Model Context Protocol) server. This lets AI assistants like Claude Code, Claude Desktop, Cursor, and Windsurf manage your panel programmatically.

The MCP server is served by the panel itself — it shares the panel's domain and TLS certificate, so there is no extra port, subdomain, or firewall rule to open.

Enabling the MCP Server

The MCP server is disabled by default for security (its tools are admin-scoped). Enable it from the UI — no terminal or restart needed:

  1. Go to Settings → MCP Server.
  2. Toggle Enable MCP Server on.

The connection endpoints and ready-to-paste client configs appear once it's enabled. Disabling the toggle takes effect immediately.

Authentication

All MCP requests require an admin API key sent as a Bearer token:

  1. Create an admin API key under Settings → Security → API Keys.
  2. Use it as Authorization: Bearer <key> in your MCP client config.

Non-admin keys are rejected.

Endpoints

Both transports are served from your panel's domain:

TransportURLUse with
Streamable HTTPhttps://<your-panel>/mcpClaude Code, Cursor, modern clients
SSEhttps://<your-panel>/sseClaude Desktop, legacy clients

The Settings → MCP Server tab shows the exact URLs for your deployment.

Connecting from Claude Code / Cursor

{
  "mcpServers": {
    "ai-admin-panel": {
      "url": "https://your-panel.example.com/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_ADMIN_API_KEY"
      }
    }
  }
}

Connecting from Claude Desktop

{
  "mcpServers": {
    "ai-admin-panel": {
      "url": "https://your-panel.example.com/sse",
      "headers": {
        "Authorization": "Bearer YOUR_ADMIN_API_KEY"
      }
    }
  }
}

Available Tools

ToolDescription
list_servicesList all deployed services with status
get_service_statusGet detailed service info including containers
restart_serviceRestart a service
stop_serviceStop a running service
start_serviceStart a stopped service
list_templatesBrowse the template catalog
list_customersList customers with plans
get_dashboardGet dashboard metrics summary
deploy_templateDeploy a template with parameters
get_logsGet service container logs

Example Usage

Once connected, you can ask your AI assistant:

  • "List all running services on the panel"
  • "Restart the n8n service"
  • "What templates are available?"
  • "Show me the dashboard metrics"