What is the Tuco MCP Server?
The Model Context Protocol (MCP) server lets AI assistants drive your Tuco workspace using natural language. Every tool call hits the same authenticated REST API as the Tuco dashboard, so anything an MCP client does is auditable in the activity log and visible in /analytics. Works with Claude Desktop, Cursor, Windsurf, and any MCP-compatible client.Installation
tuco-mcp on npm. Tools across messaging, the unified inbox, replies, campaigns, leads, lines, and analytics.
Configuration
Add to your Claude Desktop config (claude_desktop_config.json):
Environment variables
Equivalent CLI flags:
npx tuco-mcp --api-key tuco_your_api_key --api-url https://app.tuco.ai. Your key is bound to one workspace and one environment, so TUCO_API_URL must match the environment the key was issued for.
Core Tools
The tools you’ll reach for first:
See the full list with
npx tuco-mcp --help or any MCP client’s tool browser.
Example Prompts
Reply triage and outreach loop:- “Send an iMessage to +12125551234 saying ‘Hey, wanted to follow up’”
- “Fetch all replies received on line
<lineId>between June 1 and June 10.” - “Show reply rate and positive reply rate for campaign
<campaignId>over the last 7 days.” - “List my last 50 unread conversations, then suggest a reply for the top one.”
- “Reply ‘Thanks, sending a calendar link now’ to the conversation with +12125551234.”
get-replies and analytics filters compose, so you can ask things like “What’s the positive reply rate on line X for campaign Y last week, and show me each replier.”
Reply Pagination & Filters
get-replies mirrors the API:
The response includes
total, page, limit, totalPages, and each row carries recentReplies (last 10 inbound) plus parentMessages (recent outbound) so the AI has full thread context without a second call.
Full schema, error codes, and an interactive playground are at API → Check Replies.
Analytics from the MCP
Theanalytics tool returns the same metric block the dashboard /analytics page reads, so the AI’s answer and the UI agree exactly. Definitions, formulas, and the interactive playground live at API → Analytics.
See Also
- Replies & Inbox — conceptual model of how replies get matched and surfaced.
- API Reference — every endpoint with try-it-now playgrounds.
- API Keys — generating and scoping keys.