Documentation Hub

Control Proxy Documentation Hub

Engineer-grade architecture, configuration, and security reference for governing AI model traffic and remote MCP servers through one unified proxy.

Architecture & Scope

Control Proxy places a single identity-aware, policy-enforcing proxy between your employees’ AI agents and two upstream surfaces: commercial or self-hosted LLM APIs via the LLM Gateway, and remote Model Context Protocol servers via the MCP Gateway.

Important protocol scope: The MCP Gateway governs remote Streamable HTTP MCP servers (at /mcp and /s/<slug>/mcp). It does not wrap or intercept local stdio processes spawned directly on an employee’s laptop.
  • One control plane, both gateways: Identity (Okta, Microsoft Entra ID, generic OIDC + SCIM 2.0), RBAC, DLP, AI Judge, usage budgets, audit logs, and SIEM streaming apply consistently across LLM and MCP traffic.
  • Zero vendor keys on laptops: Provider API keys and shared MCP credentials remain write-only inside hardware-backed envelope encryption. Developers and business users authenticate with corporate SSO or revocable personal gateway keys (mcpr_...).
  • Privacy by default: SIEM payload export (Splunk HEC and HTTPS JSON Lines) is off by default, emitting only metadata, outcomes, token counts, and rule labels/counts. Portal payload capture is configurable per MCP server and per model provider, with secret scrubbing before encrypted storage and audited reads.

5-Step Quickstart Path

Whether you are rolling out a 30-minute team pilot without MDM or deploying fleet-wide corporate SSO, follow this sequence:

Step Where in Control Proxy What You Configure Guide
1. Identity Setup → Sign-in system Connect Okta, Microsoft Entra ID, or OIDC; bind directory groups to RBAC roles; optionally enable SCIM 2.0 and the OAuth 2.1 Sign-in Relay. Identity, RBAC & API
2. Model Providers Catalog & Models → Model providers Seal pay-as-you-go API keys for Anthropic, OpenAI, Google Gemini, or DeepSeek (including US-hosted endpoints) and set per-user/team budgets. LLM Gateway
3. Agents Your profile / MDM Connect Claude Desktop (3P), Claude Code, Codex CLI, Cursor, VS Code, or Copilot Studio using personal gateway keys or /usr/local/bin/cp-auth-token. Connecting AI Agents
4. MCP Servers Catalog & Models → Manage catalog Register remote Streamable HTTP servers, select an upstream auth mode, run one-click tool sync & pinning, and approve access grants. MCP Gateway
5. Security & SIEM Security & Setup → Log export Enable DLP rules, two-stage AI Judge, MCP argument guardrails, Slack/Teams alerts, and real-time Splunk HEC / JSON Lines streaming. Security & SIEM

Gateway Endpoints Reference

Every Control Proxy deployment exposes standardized, TLS-terminated endpoints on your portal and gateway domain:

Endpoint Protocol & Auth Purpose
/mcp Streamable HTTP MCP · OIDC JWT, Personal Token, or Service Account Unified aggregated MCP endpoint exposing every approved server and tool for the caller as <slug>__<tool>, plus proxied resources/* and prompts/*.
/s/<slug>/mcp Streamable HTTP MCP · OIDC JWT, Personal Token, or Service Account Single-server isolated MCP endpoint exposing only the specified catalog server. Ideal for focused agents like Microsoft Copilot Studio.
/llm/<provider>/* HTTP / SSE · OIDC JWT or mcpr_... key Transparent LLM proxy for Anthropic (/llm/anthropic), OpenAI-compatible (/llm/openai/v1), Gemini, and DeepSeek providers with DLP, budgets, and cost routing.
/api/v1/mcp Streamable HTTP MCP · API Key or Catalog-connected SSO Control Proxy’s own management API exposed as governed MCP tools (search_catalog, add_server, sync_tools, set_server_status, etc.).
/api/v1/* REST JSON · Session or Bearer API Key Portal REST API for catalog automation, grants, audit reads (GET /api/v1/admin/audit), and compliance reports.
/scim/v2/* SCIM 2.0 · Bearer SCIM Token Automated user and group provisioning from Okta or Microsoft Entra ID (supports ?aadOptscim062020).
/.well-known/jwks.json HTTPS GET · Public JWKS Gateway public RS256 signing keys for internal MCP servers using the gateway_token upstream auth mode.
/.well-known/oauth-protected-resource
/.well-known/oauth-authorization-server
RFC 9728 / RFC 8414 OAuth discovery metadata used by MCP clients and /usr/local/bin/cp-auth-token (including OAuth 2.1 Sign-in Relay metadata).

Topic Guides