Skip to main content

Documentation Index

Fetch the complete documentation index at: https://documentation.uponai.com/llms.txt

Use this file to discover all available pages before exploring further.

UponAI supports the Model Context Protocol (MCP), letting you build and manage voice agents directly from MCP-capable clients — Cursor, Claude Desktop, Claude Code, and similar tools. If you already use UponAI via the REST API or SDKs, MCP is simply a different interface to the same functionality, optimized for agentic workflows in IDEs and AI assistants.

What the MCP Server Can Do

With an MCP client connected, your AI assistant has native access to:
CategoryActions
AgentsCreate, update, publish, list, fetch versions
CallsCreate phone/web calls, fetch details, list, delete, update metadata, run QA
Phone numbersImport, provision, list, fetch
Knowledge baseCreate KBs, attach/remove sources, list
VoicesList, clone, search community voices
ChatsCreate chats and chat agents, end chats, update metadata
Testing & QACreate test cases, run tests, list/rerun QA, submit scores
Alerts & webhooksCreate/list alert rules, list incidents, test webhooks

Prerequisites

  • A UponAI API key (from the API Keys tab in your dashboard)
  • An MCP client (Cursor, Claude Desktop, Claude Code, etc.)
  • MCP server URL: https://retell.stlmcp.com
  • Auth header: Authorization: Bearer <YOUR_API_KEY>

Setup

Open the command palette → Cursor Settings → MCP → Add new global MCP server:
{
  "mcpServers": {
    "uponai": {
      "url": "https://retell.stlmcp.com",
      "headers": {
        "Authorization": "Bearer <YOUR_API_KEY>"
      }
    }
  }
}

Example Prompts

Once connected, try these prompts in your MCP client:
  • “List my agents and summarize what each one does.”
  • “Create a new agent for inbound sales qualification and publish it.”
  • “Show me the last 20 calls and flag any with low QA scores.”
  • “Create a knowledge base and attach these sources, then update my agent to use it.”
  • “Import this phone number and assign it to my agent.”
  • “Rerun QA on this call and summarize the failure reasons.”

Security

Connecting an LLM to operational tools introduces prompt injection risk — untrusted content in call transcripts, user messages, or KB documents can include instructions that try to trick the model into taking unintended actions.
Keep “confirm before running tools” enabled in your MCP client and review tool calls carefully before approving.
Recommendations:
  • Use least privilege — create API keys with minimum required permissions
  • Never paste API keys into chat — store them in client secrets/settings
  • Prefer read-first workflows — fetch a resource before updating or deleting it
  • Gate destructive actions — delete and publish should require explicit intent
  • Avoid sending full call transcripts to the model if you don’t need them — they may contain PII
  • Use development data when exploring agent behavior, not production

Troubleshooting

IssueSolution
Tools not showing upVerify the server URL, auth header, and that the client can reach the endpoint
401 UnauthorizedConfirm Authorization: Bearer <YOUR_API_KEY> and that the key is active
Tool call errorsRe-run with smaller inputs and inspect the returned error payload