twelvelabs-mcp-server

v1.0.1
io.github.micro-JAY/twelvelabs-mcp-server Checked 4 days ago Published 8 months ago

MCP server for ElevenLabs Conversational AI (not TwelveLabs video) — agents, KB, voices

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

twelvelabs_list_agents List Agents

List all Conversational AI agents in your ElevenLabs account. Returns each agent's ID, name, and creation timestamp. Use this to find agent IDs before calling twelvelabs_get_agent for full details. Returns: Array of { agent_id, name, created_at_unix_secs }

twelvelabs_get_agent Get Agent Config

Get the FULL configuration of an ElevenLabs agent, including fields the official ElevenLabs MCP connector does not expose: - Complete system prompt text - LLM model (e.g., gpt-4.1-nano, claude-3-5-haiku) - Temperature setting - All knowledge base document references - Voice ID and TTS settings (stability, similarity_boost) - Language configuration - Webhook URL (if configured) - First message Args: - agent_id: The agent's ID string (get from twelvelabs_list_agents) Returns: Full agent configuration as formatted text. Note: The system prompt is truncated to 500 chars in this view. If you…

ParameterTypeDescription
agent_id *stringThe agent ID — get from twelvelabs_list_agents

twelvelabs_get_agent_prompt Get Agent System Prompt (Full)

Get the complete, untruncated system prompt for an ElevenLabs agent. Use this when you need to read, review, or edit the full prompt text. twelvelabs_get_agent truncates the prompt to 500 chars for readability — this tool returns the entire thing. Args: - agent_id: The agent ID

ParameterTypeDescription
agent_id *stringThe agent ID

twelvelabs_update_agent_prompt Update Agent System Prompt

⚠️ This modifies a LIVE agent's configuration. Confirm with the user before calling. Replace the system prompt and/or first message for an ElevenLabs agent. This uses a PATCH request, so any fields you omit are left unchanged. Only touches prompt text and first_message — does not affect voice, LLM model, or other settings. Args: - agent_id: The agent ID - prompt: New system prompt text (omit to leave unchanged) - first_message: New first message (omit to leave unchanged) Returns: Confirmation with the updated agent name.

ParameterTypeDescription
agent_id *stringThe agent ID
first_messagestringNew first message (max 5K chars)
promptstringNew system prompt text (max 100K chars)

twelvelabs_update_agent_settings Update Agent Settings

⚠️ This modifies a LIVE agent's configuration. Confirm with the user before calling. Update voice, LLM, temperature, or language settings for an agent. All parameters are optional — only provide the ones you want to change. Omitted values are left unchanged (PATCH semantics). Args: - agent_id: The agent ID - temperature: LLM temperature 0.0–1.0 (higher = more varied responses) - voice_id: ElevenLabs voice ID string - stability: TTS voice stability 0.0–1.0 - similarity_boost: TTS voice similarity boost 0.0–1.0 - language: Language code string (e.g. "en", "ja") Return…

ParameterTypeDescription
agent_id *stringThe agent ID
languagestringLanguage code, e.g. 'en' or 'ja'
similarity_boostnumberTTS similarity boost 0-1
stabilitynumberTTS stability 0-1
temperaturenumberLLM temperature 0-1
voice_idstringElevenLabs voice ID

twelvelabs_list_agent_conversations List Agent Conversations

List recent conversations for a specific ElevenLabs agent. Useful for finding conversation IDs to pass to twelvelabs_get_conversation for full transcripts and data collection analysis. Args: - agent_id: The agent ID - limit: Number of conversations to return (1–100, default 20) Returns: List of conversations with ID, status, duration, and timestamp. Tip: This is equivalent to twelvelabs_list_conversations with the agent_id filter. Use whichever is more convenient — they return the same data.

ParameterTypeDescription
agent_id *stringThe agent ID
limitintegerMax results (default 20)

twelvelabs_get_agent_webhook Get Agent Webhook Config

Get the post-call webhook URL configured for an agent. Args: - agent_id: The agent ID

ParameterTypeDescription
agent_id *string

twelvelabs_set_agent_webhook Set Agent Webhook URL

⚠️ This modifies a LIVE agent's webhook configuration. Confirm with the user before calling. Set or update the post-call webhook URL for an ElevenLabs agent. ElevenLabs will POST a payload to this URL after each conversation ends, containing the transcript and data collection results. Pass an empty string to remove the webhook. Args: - agent_id: The agent ID - url: The webhook URL (empty string to remove)

ParameterTypeDescription
agent_id *string
url *stringWebhook URL (HTTPS required), or empty string to remove

twelvelabs_list_kb_docs List Knowledge Base Documents

List all documents in your ElevenLabs knowledge base. Note: KB documents exist at the account level, not per-agent. They are referenced from agents via the agent's knowledge_base config array. Use twelvelabs_get_agent to see which docs a specific agent has attached. Returns: Each doc's ID, name, type (file/url), size, and creation date.

twelvelabs_get_kb_doc Get Knowledge Base Document

Get the full content of a knowledge base document, including its extracted text. Args: - doc_id: The document ID (from twelvelabs_list_kb_docs) Returns: Document metadata plus the full extracted text content.

ParameterTypeDescription
doc_id *stringThe document ID

twelvelabs_add_kb_text Add Text Document to Knowledge Base

Add a plain text document to the ElevenLabs knowledge base. After adding, attach it to an agent by updating the agent's knowledge_base config with the returned document ID. Args: - name: Display name for the document - text: The full text content to store Returns: The new document's ID and name. Note: This creates the document in your account-level knowledge base but does NOT automatically attach it to any agent. Use twelvelabs_get_agent to check an agent's current KB attachments.

ParameterTypeDescription
name *stringDisplay name for the document
text *stringThe full text content (max 500K chars)

twelvelabs_add_kb_url Add URL to Knowledge Base

Add a web page to the knowledge base by URL. ElevenLabs will crawl the URL and extract the text content. Args: - name: Display name for the document - url: The URL to crawl Returns: The new document's ID. Note: This creates the document in your account-level knowledge base but does NOT automatically attach it to any agent. Use twelvelabs_get_agent to check an agent's current KB attachments.

ParameterTypeDescription
name *stringDisplay name for the document
url *stringThe URL to crawl (HTTPS required)

twelvelabs_delete_kb_doc Delete Knowledge Base Document

⚠️ IRREVERSIBLE. Permanently deletes a knowledge base document. Confirm with the user before calling. The document will also be detached from any agents that reference it. Args: - doc_id: The document ID to delete

ParameterTypeDescription
doc_id *stringThe document ID to delete

twelvelabs_list_conversations List All Conversations

List recent conversations across all agents in your account. To filter by agent, use twelvelabs_list_agent_conversations instead. Args: - limit: Number of conversations to return (1–100, default 20) - agent_id: Optional — filter to a specific agent Returns: List of conversations with ID, status, duration, and agent ID. Tip: To filter by agent, either pass agent_id here or use twelvelabs_list_agent_conversations.

ParameterTypeDescription
agent_idstringOptional agent ID filter
limitintegerMax results

twelvelabs_get_conversation Get Conversation Transcript and Analysis

Get the complete transcript and post-call analysis for a conversation. Returns two things: 1. The full turn-by-turn transcript (what the agent and user actually said) 2. The analysis: data_collection fields (scores, email, role, recommendation) and evaluation_criteria results (booleans like interview_completed) This is your primary tool for debugging: if scores are wrong, feedback is missing, or the interview ended incorrectly, read the transcript here first. Args: - conversation_id: The conversation ID (from twelvelabs_list_conversations) Returns: Formatted transcript + structured an…

ParameterTypeDescription
conversation_id *stringThe conversation ID

twelvelabs_list_voices List Voices

List available voices in your ElevenLabs account. Returns voice IDs, names, categories, and labels. Use the voice_id values with twelvelabs_update_agent_settings. Args: - search: Optional text filter applied to voice names

ParameterTypeDescription
searchstringFilter voices by name (case-insensitive)