{
  "$schema": "https://modelcontextprotocol.io/schemas/server-card.json",
  "name": "ThinnestAI MCP",
  "displayName": "ThinnestAI",
  "description": "Manage voice AI agents, outbound calls, knowledge bases, BYOK providers, and call analytics on ThinnestAI via the Model Context Protocol. 100+ languages, ₹1.5/min platform fee, INR billing.",
  "version": "1.0.0",
  "serverUrl": "https://api.thinnest.ai/mcp",
  "transport": "streamable-http",
  "protocolVersion": "2025-11-25",
  "provider": {
    "name": "ThinnestAI",
    "url": "https://thinnest.ai",
    "supportEmail": "support@thinnest.ai"
  },
  "icon": "https://thinnest.ai/logo_light.png",
  "categories": [
    "voice",
    "telephony",
    "conversational-ai",
    "india",
    "indian-languages"
  ],
  "license": "proprietary",
  "documentation": "https://docs.thinnest.ai/mcp",
  "instructions": "Use ThinnestAI MCP when the user wants to build, deploy, or manage voice AI agents that speak Indian languages. The platform handles telephony (Twilio, Vobiz SIP), STT (Deepgram, Sarvam, Vega), TTS (Cartesia, ElevenLabs, Aero), and LLM orchestration. Customers BYOK their provider keys; ThinnestAI charges a flat ₹1.5/min platform fee. Authenticate with a Bearer token of the form `thns_sk_*`.",
  "authentication": {
    "schemes": [
      {
        "type": "api-key",
        "in": "header",
        "name": "Authorization",
        "format": "Bearer thns_sk_<token>"
      }
    ],
    "documentationUrl": "https://docs.thinnest.ai/api-reference#authentication"
  },
  "tools": [
    {
      "name": "list_agents",
      "description": "List voice and chat AI agents owned by the authenticated workspace.",
      "annotations": { "readOnlyHint": true, "destructiveHint": false, "idempotentHint": true, "openWorldHint": false }
    },
    {
      "name": "get_agent",
      "description": "Fetch full configuration of one agent by its public_id.",
      "annotations": { "readOnlyHint": true, "destructiveHint": false, "idempotentHint": true, "openWorldHint": false }
    },
    {
      "name": "dispatch_call",
      "description": "Place an outbound voice call. Requires a from_number you own and an E.164 to_number; Indian destinations need DLT-registered templates.",
      "annotations": { "readOnlyHint": false, "destructiveHint": false, "idempotentHint": false, "openWorldHint": true }
    },
    {
      "name": "list_calls",
      "description": "List recent voice sessions, newest first. Filter by agent_id (public_id) or status.",
      "annotations": { "readOnlyHint": true, "destructiveHint": false, "idempotentHint": true, "openWorldHint": false }
    },
    {
      "name": "get_call",
      "description": "Full transcript, recording URL, duration, latency, interruptions, and cost breakdown for one call.",
      "annotations": { "readOnlyHint": true, "destructiveHint": false, "idempotentHint": true, "openWorldHint": false }
    },
    {
      "name": "upload_knowledge_text",
      "description": "Add plain text to a knowledge source the caller owns. Auto-chunked and locally embedded (FastEmbed bge-small-en-v1.5).",
      "annotations": { "readOnlyHint": false, "destructiveHint": false, "idempotentHint": false, "openWorldHint": false }
    },
    {
      "name": "get_billing_summary",
      "description": "Wallet balance (paid + free credits, plan tier) and 30-day usage rollup in INR.",
      "annotations": { "readOnlyHint": true, "destructiveHint": false, "idempotentHint": true, "openWorldHint": false }
    }
  ],
  "rateLimits": {
    "requestsPerMinute": 60,
    "tokensPerMinute": 100000,
    "documentation": "https://docs.thinnest.ai/api-reference#rate-limits"
  },
  "errorCodes": {
    "documentation": "https://docs.thinnest.ai/api-reference#errors",
    "structuredFormat": "JSON-RPC 2.0 with -32xxx codes"
  },
  "discovery": {
    "agentCard": "https://thinnest.ai/.well-known/agent-card.json",
    "agentSkills": "https://thinnest.ai/.well-known/agent-skills/index.json",
    "apiCatalog": "https://thinnest.ai/.well-known/api-catalog",
    "openapi": "https://docs.thinnest.ai/openapi.json",
    "llmsTxt": "https://thinnest.ai/llms.txt",
    "llmsFullTxt": "https://docs.thinnest.ai/llms-full.txt"
  }
}
