Skip to main content
Glama

Trillet AI MCP Server

A Model Context Protocol (MCP) server for the Trillet AI voice and messaging platform.

Manage call agents, voice calls, conversation flows, messaging, and phone numbers through Claude Desktop, Claude Code, or any MCP-compatible client.

Features

  • 48 Tools across 8 domains — full coverage of the Trillet API

  • Dual Transport — stdio (local) + Streamable HTTP (remote)

  • TypeScript with strict typing and Zod input validation

  • Built-in Rate Limiting — token bucket (60 req/min)

  • Docker Ready — optional, for hosting the HTTP transport

Related MCP server: five9-mcp

Quick Start

Prerequisites

  • Node.js 18+

  • A Trillet AI account with an API key and workspace ID

Install

git clone https://github.com/yourorg/trillet-mcp.git
cd trillet-mcp
npm install
npm run build

Configure Claude Desktop

Add to your Claude Desktop config (claude_desktop_config.json):

{
  "mcpServers": {
    "trillet": {
      "command": "node",
      "args": ["/absolute/path/to/trillet-mcp/dist/index.js"],
      "env": {
        "TRILLET_API_KEY": "your_api_key",
        "TRILLET_WORKSPACE_ID": "your_workspace_id"
      }
    }
  }
}

Configure Claude Code

Add a .mcp.json to your project root:

{
  "mcpServers": {
    "trillet": {
      "command": "node",
      "args": ["/absolute/path/to/trillet-mcp/dist/index.js"],
      "env": {
        "TRILLET_API_KEY": "your_api_key",
        "TRILLET_WORKSPACE_ID": "your_workspace_id"
      }
    }
  }
}

That's it — no Docker required for local use. Claude launches the server process directly.


HTTP Transport (Optional)

For remote access (e.g., connecting from claude.ai), run with HTTP transport:

TRILLET_API_KEY=xxx TRILLET_WORKSPACE_ID=xxx TRANSPORT=http PORT=3000 node dist/index.js

Or use Docker:

cp .env.example .env
# Edit .env with your credentials
docker compose up -d --build

Health check: curl http://localhost:3000/health

MCP endpoint: POST http://localhost:3000/mcp


Available Tools (48)

Call Agents (5)

Tool

Description

trillet_list_agents

List all voice call agents

trillet_get_agent

Get agent details by ID

trillet_create_agent

Create a new voice call agent

trillet_update_agent

Update an existing agent

trillet_delete_agent

Delete an agent

Omni Agents (5)

Tool

Description

trillet_list_omni_agents

List all omni flow agents

trillet_get_omni_agent

Get omni agent details

trillet_create_omni_agent

Create a new omni agent

trillet_update_omni_agent

Update an omni agent

trillet_delete_omni_agent

Delete an omni agent

Calls (8)

Tool

Description

trillet_initiate_call

Initiate an outbound voice call

trillet_get_recording

Get a call recording URL

trillet_list_call_history

List call history with filters

trillet_start_batch

Start a batch calling campaign

trillet_get_batch_status

Get batch campaign status

trillet_get_batch_progress

Get batch progress details

trillet_list_batch_calls

List individual calls in a batch

trillet_cancel_batch

Cancel a running batch

Call Flows (6)

Tool

Description

trillet_list_call_flows

List all call flows

trillet_get_call_flow

Get call flow details

trillet_create_call_flow

Create a new call flow

trillet_update_call_flow

Update a call flow

trillet_delete_call_flow

Delete a call flow

trillet_delete_kb_file

Delete a knowledge base file from a flow

Message Flows (6)

Tool

Description

trillet_list_message_flows

List all message flows

trillet_get_message_flow

Get message flow details

trillet_create_message_flow

Create a new message flow

trillet_update_message_flow

Update a message flow

trillet_toggle_autopilot

Toggle autopilot on a message flow

trillet_delete_message_flow

Delete a message flow

Conversations (7)

Tool

Description

trillet_list_conversations

List conversations (optionally by flow)

trillet_get_conversation

Get conversation with messages

trillet_handle_message_action

Approve, edit, or reject a pending message

trillet_generate_message

Generate an AI reply for a conversation

trillet_edit_customer_details

Edit customer details on a conversation

trillet_delete_conversation

Delete a conversation

trillet_delete_message

Delete a specific message

Phone Numbers (4)

Tool

Description

trillet_list_phone_numbers

List all phone numbers

trillet_bind_phone_number

Bind a number to an agent or flow

trillet_release_phone_number

Release a number from its binding

trillet_register_phone_number

Register an external phone number

Folders (7)

Tool

Description

trillet_list_folders

List all folders

trillet_get_folder

Get folder details with flows

trillet_create_folder

Create a new folder

trillet_update_folder

Update a folder

trillet_delete_folder

Delete a folder

trillet_add_flow_to_folder

Add a flow to a folder

trillet_remove_flow_from_folder

Remove a flow from a folder


Environment Variables

Variable

Required

Default

Description

TRILLET_API_KEY

Yes

—

Your Trillet API key

TRILLET_WORKSPACE_ID

Yes

—

Your Trillet workspace ID

TRANSPORT

No

stdio

stdio or http

PORT

No

3000

HTTP transport port

DEBUG

No

false

Enable debug logging


Usage Examples

Once connected to Claude:

"List all my call agents"
"Create a new call flow named 'Support Line' for inbound calls"
"Initiate a call to +1234567890 using agent abc123"
"Show me conversations for flow xyz"
"Approve the pending message in conversation 456"
"Start a batch campaign with these contacts..."

Project Structure

trillet-mcp/
├── src/
│   ├── index.ts              # Server entry (dual transport)
│   ├── constants.ts          # Base URL, rate limits
│   ├── types.ts              # TypeScript interfaces
│   ├── schemas/              # Zod input validation
│   │   ├── common.ts
│   │   ├── agents.ts
│   │   ├── omni-agents.ts
│   │   ├── calls.ts
│   │   ├── call-flows.ts
│   │   ├── message-flows.ts
│   │   ├── conversations.ts
│   │   ├── phone-numbers.ts
│   │   └── folders.ts
│   ├── services/
│   │   ├── trillet-client.ts # API client with rate limiting
│   │   └── formatters.ts    # Response formatters
│   └── tools/                # Tool registrations (8 domains)
├── Dockerfile
├── docker-compose.yml
├── package.json
└── tsconfig.json

License

MIT

Available Tools

48 tools
trillet_add_flow_to_folderAdd Flow to FolderC
Idempotent

Add a call or message flow to a folder.

Inputs: flowId (required), folderId (required).

trillet_bind_phone_numberBind Phone NumberC
Idempotent

Bind a phone number to an agent or flow.

Inputs: phoneNumberId (required), flowId, agentId.

trillet_cancel_batchCancel BatchA
DestructiveIdempotent

Cancel an active batch calling operation. This cannot be undone.

Inputs: batchId (required).

trillet_create_agentCreate Call AgentB

Create a new voice call agent. Requires name, llmModel, and ttsModel.

Args:

  • name: Agent display name

  • llmModel: AI model (e.g. "gpt-4o-mini")

  • ttsModel: { provider, voiceId, language, name }

  • settings: { speed, volume, temperature } (all 0-1)

  • smartCallback, phoneNumberIds, variables: optional

Inputs: name (required), llmModel (required), ttsModel (required), settings, +5 more.

trillet_create_call_flowCreate Call FlowB

Create a new call flow with voice interaction configuration.

Args:

  • name, direction (outbound|bidirectional): required

  • prompt, description, agent, folderId: optional

  • welcomeMessage: user_initiated | ai_dynamic | ai_custom

  • settings: voice, compliance, transfers, knowledge base config

  • flowData: nodes and edges for call routing

  • webhooks, dynamicVariableCollections: optional

Inputs: name (required), direction (required), agent, prompt, +11 more.

trillet_create_folderCreate FolderB

Create a new folder to organize flows.

Inputs: name (required).

trillet_create_message_flowCreate Message FlowC

Create a new message flow for SMS/messaging channels.

Args:

  • name: Flow name (required)

  • description, agent, prompt, initiationMessage: optional

  • isActive, autopilot: boolean flags

  • messageChannel: Channel type (e.g. "SMS")

Inputs: name (required), agent, prompt, isActive, +4 more.

trillet_create_omni_agentCreate Omni Flow AgentC

Create a new omni flow agent for messaging channels.

Inputs: name (required), llmModel, settings.

trillet_delete_agentDelete Call AgentB
DestructiveIdempotent

Permanently delete a voice call agent. This cannot be undone.

Inputs: agentId (required).

trillet_delete_call_flowDelete Call FlowB
DestructiveIdempotent

Permanently delete a call flow. This cannot be undone.

Inputs: flowId (required).

trillet_delete_conversationDelete ConversationA
DestructiveIdempotent

Permanently delete a conversation and all its messages.

Inputs: conversationId (required).

trillet_delete_folderDelete FolderB
DestructiveIdempotent

Permanently delete a folder. This cannot be undone.

Inputs: folderId (required).

trillet_delete_kb_fileDelete Knowledge Base FileC
DestructiveIdempotent

Delete a knowledge base file from a call flow.

Inputs: flowId (required), fileKey (required).

trillet_delete_messageDelete MessageC
DestructiveIdempotent

Delete a specific message from a conversation.

Inputs: messageId (required), conversationId (required).

trillet_delete_message_flowDelete Message FlowA
DestructiveIdempotent

Permanently delete a message flow. This cannot be undone.

Inputs: flowId (required).

trillet_delete_omni_agentDelete Omni Flow AgentB
DestructiveIdempotent

Permanently delete an omni flow agent. This cannot be undone.

Inputs: agentId (required).

trillet_edit_customer_detailsEdit Customer DetailsC
Idempotent

Update customer details on a conversation.

Inputs: details (required), conversationId (required).

trillet_generate_messageGenerate MessageB

Generate an AI message for a conversation.

Inputs: conversationId (required).

trillet_get_agentGet Call AgentC
Read-onlyIdempotent

Get details of a specific voice call agent by ID.

Inputs: agentId (required).

trillet_get_batch_progressGet Batch ProgressB
Read-onlyIdempotent

Get progress metrics for a batch calling operation.

Inputs: batchId (required).

trillet_get_batch_statusGet Batch StatusB
Read-onlyIdempotent

Get the current status of a batch calling operation.

Inputs: batchId (required).

trillet_get_call_flowGet Call FlowA
Read-onlyIdempotent

Get full details of a call flow including prompt, settings, and routing.

Inputs: flowId (required).

trillet_get_conversationGet ConversationB
Read-onlyIdempotent

Get a conversation with its full message history.

Inputs: conversationId (required).

trillet_get_folderGet FolderB
Read-onlyIdempotent

Get folder details including associated flows.

Inputs: folderId (required).

trillet_get_message_flowGet Message FlowC
Read-onlyIdempotent

Get details of a specific message flow.

Inputs: flowId (required).

trillet_get_omni_agentGet Omni Flow AgentC
Read-onlyIdempotent

Get details of a specific omni flow agent by ID.

Inputs: agentId (required).

trillet_get_recordingGet Call RecordingA
Read-onlyIdempotent

Get the recording for a completed call by its session ID (callSid).

Inputs: callSid (required).

trillet_handle_message_actionHandle Message ActionB

Approve, edit, or reject a message in a conversation.

Args:

  • conversationId, messageId: required

  • action: "Approve" | "Edit" | "Reject"

  • editedMessage: required when action is "Edit"

Inputs: action (required), messageId (required), conversationId (required), editedMessage.

trillet_initiate_callInitiate CallB

Start an AI-driven outbound phone call.

Args:

  • to: Destination phone number (required)

  • call_agent_id: Agent ID to handle the call (required)

  • callback_url: Webhook URL for call event notifications

  • dynamic_variables: { firstName, lastName, Zipcode, address, email }

  • metadata: Extra data forwarded to webhook (excluded from agent context)

Inputs: to (required), call_agent_id (required), metadata, callback_url, +1 more.

trillet_list_agentsList Call AgentsB
Read-onlyIdempotent

List all voice call agents in the workspace.

Inputs: no named parameters.

trillet_list_batch_callsList Calls in BatchB
Read-onlyIdempotent

List all individual calls within a batch operation.

Inputs: batchId (required).

trillet_list_call_flowsList Call FlowsA
Read-onlyIdempotent

List all call flows in the workspace.

Inputs: no named parameters.

trillet_list_call_historyList Call HistoryB
Read-onlyIdempotent

List all historical call records for the workspace.

Inputs: no named parameters.

trillet_list_conversationsList ConversationsA
Read-onlyIdempotent

List all conversations, optionally filtered by flow ID.

Inputs: flowId.

trillet_list_foldersList FoldersB
Read-onlyIdempotent

List all folders in the workspace.

Inputs: no named parameters.

trillet_list_message_flowsList Message FlowsA
Read-onlyIdempotent

List all message flows in the workspace.

Inputs: no named parameters.

trillet_list_omni_agentsList Omni Flow AgentsB
Read-onlyIdempotent

List all omni flow (messaging) agents in the workspace.

Inputs: no named parameters.

trillet_list_phone_numbersList Phone NumbersA
Read-onlyIdempotent

List all phone numbers associated with the workspace.

Inputs: no named parameters.

trillet_register_phone_numberRegister Phone NumberC

Register an external phone number with the workspace.

Inputs: number (required), metadata, provider.

trillet_release_phone_numberRelease Phone NumberB
Idempotent

Release a phone number from its current binding.

Inputs: phoneNumberId (required).

trillet_remove_flow_from_folderRemove Flow from FolderC
Idempotent

Remove a flow from a folder.

Inputs: flowId (required), folderId (required).

trillet_start_batchStart Batch CallsB

Start a batch calling operation for campaigns, reminders, or surveys.

Args:

  • call_agent_id: Agent ID for the batch (required)

  • contacts: Array of { to, dynamic_variables } (required, min 1)

  • callback_url: Webhook URL for batch events

Inputs: contacts (required), call_agent_id (required), callback_url.

trillet_toggle_autopilotToggle AutopilotB

Toggle the autopilot mode on a message flow. Autopilot automatically sends AI-generated responses.

Inputs: flowId (required).

trillet_update_agentUpdate Call AgentB
Idempotent

Update an existing voice call agent. Only include fields to change.

Inputs: agentId (required), name, llmModel, settings, +6 more.

trillet_update_call_flowUpdate Call FlowA
Idempotent

Update an existing call flow. Only include fields to change.

Inputs: flowId (required), name, agent, prompt, +12 more.

trillet_update_folderUpdate FolderC
Idempotent

Update a folder's name or configuration.

Inputs: folderId (required), name.

trillet_update_message_flowUpdate Message FlowA
Idempotent

Update an existing message flow. Only include fields to change.

Inputs: flowId (required), name, agent, prompt, +5 more.

trillet_update_omni_agentUpdate Omni Flow AgentA
Idempotent

Update an existing omni flow agent. Only include fields to change.

Inputs: agentId (required), name, llmModel, settings.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3/5.0

    Scored across 48 tools

    Disambiguation4/5

    Most tools target a clearly distinct resource+action pair (voice agents, omni agents, call flows, message flows, folders, phone numbers, batches, conversations). A few boundaries are fuzzy: get_batch_status vs get_batch_progress, and the voice-agent / call-flow / omni-agent trio requires careful reading since each has parallel CRUD sets. Overall an agent can pick correctly with the descriptions provided.

    Naming Consistency4/5

    Strong, predictable pattern: trillet_ + snake_case verb_noun (list_/get_/create_/update_/delete_) applied uniformly across every resource. Minor deviations exist, e.g. edit_customer_details instead of update_, and ad-hoc verbs like bind/release/register/toggle/handle that don't fit the CRUD verb set, but they remain readable and unambiguous.

    Tool Count2/5

    48 tools is very heavy, and several are near-duplicates from parallel resource families (voice agent, omni agent, call flow, message flow each get 5-6 near-identical CRUD tools). The domain is broad, but consolidation (e.g. merging batch status/progress, or generic resource CRUD) would meaningfully reduce surface noise.

    Completeness4/5

    Coverage is largely complete: full CRUD for agents, omni agents, call flows, message flows, and folders, plus phone number lifecycle, outbound calls, batch operations, and conversation/message handling. The main gap is knowledge base files, which can only be deleted (delete_kb_file) with no list or upload, and there is no conversation update beyond customer details.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to provision phone numbers, send SMS, place AI voice calls, and react to inbound events via the Dial communication stack, all through MCP tools.
      448 npm
      MIT
    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables MCP clients to manage and monitor a Five9 cloud contact center, including running campaigns, supervising agents, checking DNC lists, and building IVR call flows.
      MIT
    • A
      license
      B
      quality
      C
      maintenance
      Enables MCP clients to manage an AI voice calling workspace by creating and editing agents, running outbound campaigns, placing calls, sending one-way voice messages, reading analytics, and managing webhooks.
      25
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables MCP clients to place, monitor, and hang up phone calls through authenticated tools, retrieve transcripts, and exchange correlated task results with a waiting host. It supports simulated or live calling with persisted call lifecycle records, duration limits, and idempotent requests.
      MIT