{
  "serverInfo": {
    "name": "Keeptrusts",
    "version": "1.0.0",
    "description": "Keeptrusts AI Governance Platform — policy-enforcement gateway, control-plane API, and management console that sit between applications and LLM providers to enforce safety, compliance, and observability in real time."
  },
  "transport": {
    "type": "streamable-http",
    "url": "https://api.keeptrusts.com/v1/mcp"
  },
  "capabilities": {
    "tools": true,
    "resources": true,
    "prompts": false,
    "logging": true
  },
  "tools": [
    {
      "name": "list-events",
      "description": "List policy decision events with filtering and pagination. Returns audit records of gateway-intercepted LLM requests including policy verdicts, timestamps, and metadata.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "limit": { "type": "integer", "description": "Maximum number of events to return", "default": 50 },
          "offset": { "type": "integer", "description": "Pagination offset", "default": 0 },
          "verdict": { "type": "string", "enum": ["allowed", "blocked", "escalated", "redacted"], "description": "Filter by policy verdict" }
        }
      }
    },
    {
      "name": "list-configurations",
      "description": "List gateway policy configurations. Returns all configured policy chains including their rules, providers, and enforcement settings.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "limit": { "type": "integer", "default": 50 },
          "offset": { "type": "integer", "default": 0 }
        }
      }
    },
    {
      "name": "list-escalations",
      "description": "List policy escalations that require human review. Returns escalation tickets with their status, severity, and assigned reviewer.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "status": { "type": "string", "enum": ["open", "resolved", "dismissed"] },
          "limit": { "type": "integer", "default": 50 }
        }
      }
    },
    {
      "name": "get-wallet-balance",
      "description": "Get the current wallet balance and spend summary for a team or organization.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "team_id": { "type": "string", "description": "Team identifier (optional — defaults to org-level wallet)" }
        }
      }
    }
  ],
  "resources": [
    {
      "uri": "keeptrusts://api/health",
      "name": "API Health",
      "description": "Health check endpoint for the Keeptrusts control-plane API.",
      "mimeType": "application/json"
    },
    {
      "uri": "keeptrusts://docs",
      "name": "Documentation",
      "description": "Keeptrusts technical documentation.",
      "mimeType": "text/html"
    }
  ],
  "authentication": {
    "type": "bearer",
    "description": "Bearer token authentication via API keys or JWT sessions. Obtain tokens from https://console.keeptrusts.com or via POST /v1/auth/login.",
    "tokenUrl": "https://console.keeptrusts.com/oauth/token",
    "scopes": ["events:read", "configurations:read", "escalations:read", "wallets:read"]
  },
  "contact": {
    "name": "Keeptrusts",
    "url": "https://keeptrusts.com/contact-sales",
    "email": "hello@keeptrusts.com"
  }
}
