Skip to main content
Glama
Carbon Voice

Carbon Voice

by PhononX

Carbon Voice MCP Server

MCP Compatible npm version

A Model Context Protocol (MCP) server implementation for integrating with Carbon Voice's API, providing AI assistants with comprehensive tools for voice messaging, conversations, and workspace management.

Carbon Voice: https://getcarbon.app

API: https://api.carbonvoice.app/docs

Features

  • Message Management: Create, list, and retrieve voice messages, conversation messages, and direct messages

  • User Operations: Search and retrieve user information

  • Conversation Management: Access and manage conversations and their participants

  • Folder Operations: Create, organize, move, and manage folders and their contents

  • Workspace Administration: Get workspace information

  • AI Actions: Run AI prompts and retrieve AI-generated responses

  • Action Items: Create, assign, and track action items, including AI extraction from messages

  • Search & Notifications: Find messages by notified or heard state, and read the inbox with its unread count

  • Message Share Links: Create and look up shareable links to messages

  • Attachment Support: Add link attachments to messages

  • Response Narrowing: An optional response_fields projection on most read tools, to keep unwanted payload out of the agent's context

Related MCP server: iMessage MCP

Security & Compliance

This server fully complies with MCP Security Best Practices:

  • OAuth 2.1 Authentication: Secure authorization flow with proper token handling

  • HTTPS Enforcement: All remote endpoints served over HTTPS

  • Session Security: Cryptographically secure session management

  • Input Validation: Comprehensive validation of all user inputs

  • Rate Limiting: Built-in protection against abuse

For security concerns, please contact: devsupport@phononx.com

Prerequisites

For Stdio Transport (Local Installation)

Required:

  1. Carbon Voice API Key - Contact the Carbon Voice development team to request your API key:

  2. npx Installation - You must have npx installed on your system. npx comes bundled with Node.js (version 14.8.0 or later). If you don't have Node.js installed, you can download it from nodejs.org.

    To verify your installation, run:

    npx --version

For HTTP Transport (Remote)

Required:

  1. Nothing! - No additional prerequisites are required. The HTTP transport version runs entirely in the cloud and uses OAuth2 authentication, so you don't need an API key or npx installed.

Configuration

Quick Overview

Client

HTTP Transport (Remote)

Stdio Transport (Local)

Cursor

✅ Recommended

✅ Available

Claude Desktop

✅ Recommended

✅ Available

HTTP Transport is recommended for easier setup and enhanced security.

For Cursor

HTTP Transport (Remote)

  1. Open Cursor

  2. Go to Cursor Settings > Features > Model Context Protocol

  3. Add a new MCP server configuration:

{
  "mcpServers": {
    "Carbon Voice": {
      "url": "https://mcp.carbonvoice.app"
    }
  }
}
  1. Save and restart Cursor

The first time you use it, Cursor will guide you through the OAuth2 authentication process.

Stdio Transport (Local Installation)

If you prefer to run the MCP server locally with API key authentication:

  1. Open Cursor

  2. Go to Cursor Settings > Features > Model Context Protocol

  3. Add a new MCP server configuration:

{
  "mcpServers": {
    "Carbon Voice": {
      "command": "npx",
      "env": {
        "CARBON_VOICE_API_KEY": "your_api_key_here"
      },
      "args": ["-y", "@carbonvoice/cv-mcp-server"]
    }
  }
}
  1. Replace "your_api_key_here" with your actual Carbon Voice API key

  2. Save and restart Cursor

For Claude Desktop

HTTP Transport (Remote)

Setting up Carbon Voice in Claude Desktop is straightforward! Here's how to do it:

  1. Open Claude Desktop and navigate to Search and Tools

  2. Go to Manage Connectors and click "Add custom connector"

  3. Fill in the connector details:

    • Name: Give it a friendly name like "Carbon Voice"

    • Remote MCP Server URL: Enter https://mcp.carbonvoice.app

  4. Save your connector

  5. Click Connect:

The first time you use it, Claude will guide you through the OAuth2 authentication process. You'll just need to sign in with your Carbon Voice account and grant permissions. After that, you're all set!

Stdio Transport (Local Installation)

If you prefer to run the MCP server locally with API key authentication:

  1. Open your Claude Desktop configuration file:

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

    • Windows: %APPDATA%\Claude\claude_desktop_config.json

  2. Add the Carbon Voice MCP server configuration:

{
  "mcpServers": {
    "Carbon-Voice": {
      "command": "npx",
      "env": {
        "CARBON_VOICE_API_KEY": "your_api_key_here"
      },
      "args": ["-y", "@carbonvoice/cv-mcp-server"]
    }
  }
}
  1. Replace "your_api_key_here" with your actual Carbon Voice API key

  2. Save the file and restart Claude Desktop

Audio fetch controls (all transports)

These govern create_voicememo_message's audio_url — the one place the server fetches a URL a caller supplied. They apply to every transport, stdio and HTTP alike; they are not part of the stdio-only set below.

AUDIO_FETCH_ALLOWED_HOSTS

Comma-separated hostname allowlist. When set, only these hosts (and their subdomains) may be fetched. Set this in production — it is the strongest control against the server being used as an SSRF proxy, and the only one that also narrows the DNS-rebinding window described in src/utils/fetch-audio-file.ts. When unset, any public host is allowed over https, while private, loopback, link-local and site-local address space is still refused.

Entries may be hostnames or IP literals; an IPv6 literal works written bare or bracketed.

AUDIO_FETCH_ALLOWED_HOSTS=cdn.example.com,uploads.example.com

Naming a host here is also what permits plain http for it. With no allowlist, only https URLs are accepted.

AUDIO_FETCH_MAX_BYTES

Maximum size of a fetched audio file, in bytes. Defaults to 26214400 (25 MB). Enforced against both content-length and the bytes actually received, while streaming — an oversized body is cancelled rather than buffered.

AUDIO_FETCH_TIMEOUT_MS

Timeout for the whole audio_url fetch, in milliseconds. Defaults to 30000. Bounds DNS resolution as well as the request itself.

AUDIO_FETCH_MAX_CONCURRENT

How many audio_url fetches may be in flight across the whole process. Defaults to 4; callers beyond it are refused immediately rather than queued.

AUDIO_FETCH_MAX_BYTES caps a single fetch, this caps their sum. The tool-call queue serializes per session, so without a process-wide budget one caller using several sessions could hold gigabytes of transient memory — each in-flight fetch keeps its chunks, the concatenated buffer, and the resulting file alive until the upstream upload finishes.

Environment Variables (Only available for Stdio Version)

When using the stdio version of the MCP server, you can configure additional environment variables:

LOG_LEVEL

Controls the verbosity of logging output. Available options:

  • info (default) - Standard logging information

  • debug - Most verbose logging, shows detailed request/response data

  • warn - Only warning and error messages

  • error - Only error messages

Example:

{
  "mcpServers": {
    "Carbon-Voice": {
      "command": "npx",
      "env": {
        "CARBON_VOICE_API_KEY": "your_api_key_here",
        "LOG_LEVEL": "debug"
      },
      "args": ["-y", "@carbonvoice/cv-mcp-server"]
    }
  }
}

LOG_DIR

Specifies the directory where log files will be stored. Defaults to: /tmp/cv-mcp-server/logs

The server will create two log files in this directory:

  • combined.log - Contains all log messages

  • error.log - Contains only error messages

Example:

{
  "mcpServers": {
    "Carbon-Voice": {
      "command": "npx",
      "env": {
        "CARBON_VOICE_API_KEY": "your_api_key_here",
        "LOG_DIR": "/Users/USER_NAME/Documents/cv-mcp-server/logs"
      },
      "args": ["-y", "@carbonvoice/cv-mcp-server"]
    }
  }
}

Complete Example with Both Variables:

{
  "mcpServers": {
    "Carbon-Voice": {
      "command": "npx",
      "env": {
        "CARBON_VOICE_API_KEY": "your_api_key_here",
        "LOG_LEVEL": "debug",
        "LOG_DIR": "/Users/USER_NAME/Documents/cv-mcp-server/logs"
      },
      "args": ["-y", "@carbonvoice/cv-mcp-server"]
    }
  }
}

Available Tools

Messages

  • list_messages - List messages, filtered by date (max 183-day span), conversation, folder, workspace, creator, or language

  • get_message - Retrieve a specific message by ID

  • get_messages - Retrieve up to 100 messages by ID in one call, narrowed to the main fields unless response_fields asks for more; ids not returned (not found, no access, deleted) are listed in missing_ids

  • get_recent_messages - Get the 10 most recent messages with full context

  • create_conversation_message - Send a message to a conversation

  • create_direct_message - Send direct messages to users or groups

  • create_voicememo_message - Create a voice memo from text (spoken via TTS) or from audio at a URL

  • add_attachments_to_message - Add link attachments to existing messages

  • summarize_conversation - Summarise a conversation with an AI Action (needs a prompt_id from list_ai_actions)

Voice memo audio. Pass audio_url (a public https URL) to upload existing audio; the server fetches it and forwards the bytes. The upstream audio_file multipart param is not exposed over MCP, because a JSON-RPC client cannot construct a File. Fetches are constrained: https only (plain http needs the host in AUDIO_FETCH_ALLOWED_HOSTS), private/loopback/ link-local/site-local addresses refused, URLs embedding credentials refused, redirects re-validated per hop, plus a size cap and timeout — see AUDIO_FETCH_* under Audio fetch controls.

Users

  • get_current_user - Who you are acting as, plus your workspace IDs

  • get_user - Retrieve user information by ID

  • search_user - Find a user by phone number or email

  • search_users - Search multiple users by various identifiers

Conversations

  • list_conversations - Get all conversations from the last 6 months, with optional filtering by user_ids/match (applied by the API), plus types and name (case-insensitive substring), which this server applies to the response. A name-filtered response also carries unfiltered_count — how many conversations the name was matched against, after the other filters — so an empty result can be told apart from a name that simply did not match

  • get_conversation - Retrieve conversation details by ID

  • get_conversation_users - Get all users in a conversation

Folders

  • get_root_folders - List root folders for a workspace

  • create_folder - Create new folders

  • get_folder - Retrieve folder information

  • get_folder_with_messages - Get folder with its messages

  • update_folder_name - Rename folders

  • delete_folder - Delete folders (⚠️ destructive operation)

  • move_folder - Move folders between locations

  • move_message_to_folder - Organize messages into folders

Workspace

  • get_workspaces_basic_info - Get basic workspace information

AI Actions

  • list_ai_actions - List available AI prompts/actions

  • run_ai_action - Execute AI actions on messages

  • run_ai_action_for_shared_link - Run AI actions on shared content

  • get_ai_action_responses - Retrieve AI-generated responses

Search & Notifications

  • search_message_ids - Find message IDs by notified state, mentions, labels, creator, conversation, or workspace (cursor-paginated, IDs only)

  • search_messages_by_heard_status - Find unheard/heard messages, with per-conversation unheard counts

  • list_inbox_notifications - List inbox notifications (including the mentions category) with a total unread count

  • search_transcripts - Find messages by meaning (semantic search over transcripts). Without workspace_id it searches every workspace and groups the hits by workspace

These four call the full Carbon Voice API rather than the simplified surface, since notified state, listened state, notification records and transcript search have no simplified-API equivalent.

Action Items

  • list_my_action_items - Your action items across every conversation and folder: those assigned to you, plus unassigned ones you created. Check assigned_to before treating an item as someone's personal commitment

  • list_action_items - List action items in one conversation, folder, or home

  • get_action_item - Get a single action item by ID

  • create_action_item - Create an action item

  • update_action_item - Update title, notes, assignee, or due date

  • set_action_item_status - Move an item between suggested, todo, and done

  • delete_action_item - Permanently delete an action item

  • suggest_action_items_from_message - Extract action items from ONE message and return them immediately (no polling)

  • suggest_action_items_from_messages - Extract candidate action items from SEVERAL messages using AI. Enqueued and answered 202, so poll a listing tool with status: "suggested" for the results. Reasons over the whole set at once, so it can catch commitments that span messages

  • create_message_share_link - Create a shareable link to a message (returns the URL)

  • get_message_share_link - Look up an existing share link, including its access settings

Narrowing Responses (response_fields)

Most read tools accept an optional response_fields array — a dot-path allowlist that shrinks the response before it reaches the agent's context. Paths traverse arrays element-wise, and pagination fields (total, has_next_page, has_more, next_cursor, …) are always kept so the "is there more?" signal survives. So is list_conversations's unfiltered_count, for the same reason: a projection that stripped it would leave an empty result looking like a conversation that does not exist. search_transcripts keeps needs_workspace_choice, skipped_workspaces and scope_capped the same way, so a partial search never reads as a full one.

{ "response_fields": ["total", "has_next_page", "results.id", "results.transcript"] }

Omitting it returns the full payload unchanged, so existing integrations are unaffected. Measured on recorded fixtures (npm run measure:payloads):

Tool

Full

Narrowed

get_current_user

8,447 bytes

2,050 bytes (75.7% smaller)

list_messages (20 results)

21,947 bytes

4,629 bytes (78.9% smaller)

Each tool's description suggests a sensible starting set for the common case.

Usage Examples

Getting Started

After configuration, you can interact with Carbon Voice through your AI assistant. Here are some example requests:

"Show me my recent messages"
"Create a voice memo about today's meeting"
"Search for user john@example.com"
"Show me my workspace information"
"List my conversations from this week"

Working with Folders

"Create a folder called 'Project Updates'"
"Move message ID 12345 to the Project Updates folder"
"Show me all messages in the Marketing folder"

AI Actions

"Run a summary AI action on message ID 67890"
"List all available AI prompts"
"Get AI responses for conversation ID 123"

Error Handling

The server includes comprehensive error handling and logging. Errors are returned in a structured format that includes:

  • Error messages

  • HTTP status codes

  • Request context

  • Debugging information

Local Testing

cp .env.sample .env      # credentials only needed for real tool calls
npm run build

Pointing a real client at your local build

To use your branch in Claude Desktop / Cursor / Claude Code instead of the published package, build it and point the client at the built entrypoint by absolute path.

npm run build          # produces dist/transports/stdio/stdio.js
pwd                    # note the absolute path

Claude Code (CLI) — easiest, and scoped to one project:

claude mcp add carbon-voice-dev \
  --env CARBON_VOICE_PAT=cv_pat_your_token_here \
  -- node /absolute/path/to/cv-mcp-server/dist/transports/stdio/stdio.js

Claude Desktop — ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows). Cursor — Settings → Features → Model Context Protocol. Same JSON:

{
  "mcpServers": {
    "carbon-voice-dev": {
      "command": "node",
      "args": ["/absolute/path/to/cv-mcp-server/dist/transports/stdio/stdio.js"],
      "env": {
        "CARBON_VOICE_PAT": "cv_pat_your_token_here"
      }
    }
  }
}

Restart the client after editing. Name it carbon-voice-dev so it can sit alongside the published Carbon Voice entry and you can compare the two.

Either credential works in the env block — CARBON_VOICE_PAT is shown because it expires and is self-service; CARBON_VOICE_API_KEY behaves the same way. Both grant full access. See the credential comparison further down.

The env block is mandatory — .env is NOT read here. env-cmd only wraps the npm scripts, and scripts/mcp-client.mjs parses .env itself; the server reads plain process.env. An MCP client spawns the process with a minimal environment, so a key that only exists in .env will not be seen.

A missing credential looks like success. Both CARBON_VOICE_PAT and CARBON_VOICE_API_KEY are optional in the config schema and tools/list never calls the API, so the server connects and shows all 44 tools with no key at all. The failure surfaces only on the first tool call. "It connected" does not mean auth works — make a real call to confirm.

After any code change: npm run build, then restart the client. Clients cache the tool list per connection, so a reconnect is what picks up new or renamed tools.

Debugging. Logs default to the file transport at /tmp/cv-mcp-server/logs/ (combined.log, error.log) — the place to look when a client reports a server that won't start:

tail -f /tmp/cv-mcp-server/logs/combined.log

Add "LOG_LEVEL": "debug" to the env block for request/response tracing. Logs go to stderr and files, never stdout, so they cannot corrupt the JSON-RPC stream.

Driving the server from the terminal

scripts/mcp-client.mjs is a minimal stdio MCP client — the MCP Inspector is a browser UI, which is no help in a terminal or CI.

npm run mcp:list                     # every tool with its wire cost
npm run mcp:schema -- get_message    # description + input JSON Schema an agent sees
npm run mcp:size                     # tools/list payload budget
npm run mcp:call -- get_current_user '{"response_fields":["user.user_guid"]}'

MCP_DEBUG=1 shows server logs (they go to stderr, so they never corrupt the JSON-RPC stream on stdout).

list, schema and size need no credentials — the server builds its tool list without calling out. So does anything the tool's own schema rejects, which never reaches a handler:

npm run mcp:call -- create_voicememo_message '{"audio_url":"not-a-url"}'
# -> JSON-RPC -32602, "Invalid url" on path audio_url

The SSRF guard is a different matter. audio_url is only fetched after the caller is authenticated against cv-api, so a URL like http://169.254.169.254/ returns 401 before the guard is consulted unless credentials are configured — with them, it returns INVALID_AUDIO_URL. That ordering is deliberate: an unauthenticated caller should not be able to make this server fetch anything at all.

Calls that reach the API need stdio credentials: CARBON_VOICE_PAT (preferred) or CARBON_VOICE_API_KEY.

Smoke-testing against a real account

cp .env.sample .env      # set CARBON_VOICE_PAT (preferred) or CARBON_VOICE_API_KEY
npm run build
npm run mcp:smoke

Walks ~19 read-only steps against your live account, chaining IDs the way the tool descriptions tell an agent to — workspace id, then conversation id, then message id — so a broken prerequisite shows up as a failed step instead of an agent quietly guessing. Add --verbose to dump each payload.

Read-only is a property of the script, which calls no create, update or delete tool — not of the credential. Whatever you put in .env can write; see the credential comparison above.

Every read is called twice: bare, and with the response_fields set its own description recommends. The report shows the byte delta per tool and in total, so the projection claim is measured on your data rather than on a fixture.

It cannot change your account — no tool that creates, updates, moves or deletes is invoked. Write paths are listed at the end with copy-paste commands to run deliberately, one at a time.

Exit code is non-zero if any step fails. When every step fails it prints a diagnosis, because that pattern is nearly always configuration rather than code:

Note

Cause

401 UNAUTHORIZED

no valid CARBON_VOICE_PAT or CARBON_VOICE_API_KEY (see the note below — neither may be an OAuth token)

403 FORBIDDEN

key is valid, but workspace access is refused on SSO grounds

NETWORK_ERROR

no route to the API from this machine

405 UNKNOWN_ERROR

an HTTP proxy is intercepting — axios needs a CONNECT tunnel, check HTTPS_PROXY

Two credential options for stdio, and a PAT is the better one. Set CARBON_VOICE_PAT instead of CARBON_VOICE_API_KEY where you can — it is sent as Authorization: Bearer cv_pat_..., which is what cv-api's PatTokenStrategy reads:

API key

PAT

Access

full user identity

full user identity

Expiry

long-lived

max 2 years, revocable

Getting one

email devsupport@phononx.com

self-service: POST /pats

A PAT is not a least-privilege credential. It carries cv:read / cv:write scopes and is issued with both by default, but cv-api enforces them in exactly one place — the app subscribe/unsubscribe endpoints (user-app.service.ts). Nothing in /simplified/* reads them, so a cv:read PAT can send messages and delete folders like any other credential. Do not hand one to an untrusted client expecting read-only access. The PAT is better because you can expire and revoke it, not because it is narrower.

When both are set the PAT wins and x-api-key is suppressed entirely. That matters: cv-api tries api-key before pat-token in its strategy chain, so sending both would authenticate the request as the long-lived key rather than the PAT you configured — losing its expiry, its revocability and its identity in the audit trail.

Neither is used by the HTTP transport, which authenticates with OAuth.

CARBON_VOICE_API_KEY is a personal API key, not an OAuth credential. The two transports authenticate differently, and setCarbonVoiceAuthHeader (src/auth/auth.service.ts) sends one or the other, never both:

API key (stdio)

OAuth (HTTP)

Header

x-api-key: <key>

Authorization: Bearer <access_token>

Identity

one user, fixed when the key is issued

whoever authorizes your app

Credential

one long-lived token

client_id + client_secret → access token

An OAuth access token will not work here: cv-api's ApiKeyStrategy looks the value up as a TYPE_API_KEY token, and an access token is not in that table. (The reverse does work — an API key is accepted in either header, via a documented backward-compatibility fallback.)

The key carries your identity with no scoping, so treat it like a password: .env (gitignored) or a client's env block, never a commit.

MCP Inspector

npm run mcp:inspector:stdio          # browser UI against the stdio server
npm run dev:http                     # then: npm run mcp:inspector:http

HTTP transport

npm run dev:http                     # stateful (what production runs)
npm run dev:http:stateless           # fresh server per request

Unauthenticated endpoints for a quick check:

curl localhost:3005/health           # includes upstream API reachability
curl localhost:3005/info
curl localhost:3005/.well-known/oauth-protected-resource

POST / (the MCP endpoint) needs a bearer token carrying the mcp:read and mcp:write scopes — without one it returns 401, with the wrong scopes insufficient_scope.

You do not need an OAuth round trip to test the protocol layer. The dev CLI mints a local token and targets a running HTTP server with --http:

npm run dev:http                                       # in one terminal
npm run mcp:list   -- --http                           # defaults to localhost:3005
npm run mcp:size   -- --http http://localhost:3005/
npm run mcp:schema -- --http get_message
npm run mcp:call   -- --http get_current_user '{}'

This works because createOAuthTokenVerifier (src/auth/auth.service.ts) uses jwt.decode, not jwt.verify — it requires a decodable JWT with sub, client_id and the two scopes, and the SDK middleware enforces exp. The signature is not checked, so the signing secret is irrelevant.

What that covers, and what it does not. Enough for the transport, session handling, tools/list, schema shape and error envelopes. Not enough for calls that touch data: the token is forwarded verbatim to cv-api as Authorization: Bearer <token>, and cv-api does validate it, so a minted token gets a 401 there. For real data over HTTP, pass a genuine access token:

npm run mcp:call -- --http --token <access_token> get_current_user '{}'

For tool-level work against real data, stdio with an API key is simpler — no OAuth flow at all.

Not verifying the signature locally is not an auth bypass: cv-api is the authority, session ids are random UUIDs rather than derived from token claims, and rate limiting is IP-based. A forged token buys only a forged sub/client_id in this server's logs and session context — worth knowing if you rely on those for attribution.

Tests

npm run test:unit                    # fast, no network
npm run test:e2e                     # HTTP transport
npm run test:coverage
npm run measure:payloads             # response projection + tools/list budget

Development

This section is for developers who want to contribute, implement new features, or fix issues.

Development Commands

Building and Development

npm run build          # Build the project
npm run auto:build     # Watch mode with auto-rebuild (recommended for development)
npm run lint:fix       # Fix linting issues

API Generation

npm run generate:api   # Generate TypeScript types from Carbon Voice API

Running the Server

npm run dev:http       # Start HTTP server in development mode with hot reload
npm run start:http     # Start HTTP server in production mode

Testing with MCP Inspector

Setup: Copy .env.sample to .env and configure your development environment variables.

npm run mcp:inspector:stdio  # Test stdio transport with MCP Inspector
npm run mcp:inspector:http   # Test HTTP transport with MCP Inspector

For stdio transport testing:

  1. Open the generated URL with token (e.g., http://localhost:6274/?MCP_PROXY_AUTH_TOKEN=46bfbd8938955be26da7f2089a8cccb7be57ed570e65d8d2d68e95561ed9b79e)

  2. Set Transport Type: STDIO

  3. Set Command: node

  4. Click Connect

  5. Should see Connected info.

For HTTP transport testing:

  1. Open the generated URL with token

  2. Set Transport Type: Streamable HTTP

  3. Set URL: http://localhost:3005

  4. Click Auth, then Quick Oauth Flow.

  5. Will be redirected to Carbon Voice Auth Page. After Login, Bearer token should be auto added to Authorization Request headers.

  6. Click Connect

  7. Should see Connected info.

Version Management

Note: Only code merged to main branch with a different version from the current one will create a new Git tag and trigger a new npm package release. The CI/CD pipeline automatically checks if the version in package.json has changed before deploying and publishing.

Version Commands

npm run version:patch  # Bump patch version (1.0.0 → 1.0.1)
npm run version:minor  # Bump minor version (1.0.0 → 1.1.0)
npm run version:major  # Bump major version (1.0.0 → 2.0.0)

Release Commands

npm run release:patch  # Build, test, version patch, and merge to main
npm run release:minor  # Build, test, version minor, and merge to main
npm run release:major  # Build, test, version major, and merge to main
npm run deploy:release # Build, test, and merge to main (no version bump)

Development Workflow Examples

Commit to Develop

# 1. Make your changes and test locally
npm run build
npm run lint:fix

# 2. Commit and push to develop
git add .
git commit -m "feat: add new message filtering feature"
git push origin develop

Release Bug Fix

# 1. Test your changes
npm run build
npm run mcp:inspector:http

# 2. Release patch version
npm run release:patch

Release New Feature

# 1. Test your changes
npm run build
npm run mcp:inspector:stdio
npm run mcp:inspector:http

# 2. Release minor version
npm run release:minor

Development Tips

  • Use auto:build during development for automatic rebuilding when files change

  • Test both transports with MCP Inspector before releasing

  • Run generate:api when Carbon Voice API changes

  • Use semantic versioning: patch for fixes, minor for features, major for breaking changes

  • Always test with both stdio and HTTP transports before releasing

MCP Compliance

This server is fully compliant with the Model Context Protocol specification and follows all security best practices outlined in the official documentation. The implementation supports both stdio and HTTP transports as defined in the MCP specification.

Support

License

ISC License - See LICENSE file for details.


Note: This MCP server requires a valid Carbon Voice API key to function with stdio transport. For HTTP transport, OAuth2 authentication is handled automatically through the web interface. Please ensure you have the appropriate credentials before attempting to use the server.

Available Tools

44 tools
add_attachments_to_messageA

Attach one or more link URLs to an existing message. USE WHEN: Adding external links to a message that already exists. USE INSTEAD: create_message_share_link to share a Carbon Voice message outward — that produces a link, this consumes them. FIRST: id comes from list_messages (field results[].id) — call it first if you don't have one. EXAMPLE: {"id":"msg-abc","links":["https://example.com/spec"]} RETURNS: {...} confirmation with the resulting attachments.

Inputs: id (required), links (required).

create_action_itemA

Create an action item, optionally attached to a conversation or folder. USE WHEN: Recording a task. Only title is required. Attach it by passing both container_type and container_id, and link it to what prompted it with source_message_id. USE INSTEAD: suggest_action_items_from_messages to have tasks extracted from message content automatically instead of writing each one yourself. EXAMPLE: {"title":"Send the pricing deck","assigned_to":"user-abc"} RETURNS: {id, title, status, notes_text?, assigned_to?, due_date?, container_id?, container_type?, creator_id, ...}. New items start at status todo. ERROR BAD_REQUEST: assigned_to is not a valid user ID, or container_id does not match container_type. — Resolve people with search_users (never pass a name) and containers with list_conversations or get_root_folders.

Inputs: title (required), due_date, notes_text, assigned_to, +4 more.

create_conversation_messageA

Post a message into an existing conversation, or reply in a thread. USE WHEN: You have a conversation_id. Pass parent_id (a message ID) to reply as a thread. Either transcript or links is required — the schema marks neither individually, so both param descriptions say so. USE INSTEAD: create_direct_message to reach people who are not already in a conversation. create_voicememo_message for a standalone memo. FIRST: id comes from list_conversations (field results[].id) — call it first if you don't have one. EXAMPLE: {"id":"conv-abc","transcript":"Agreed, shipping Friday."} RETURNS: {message: {id, link, transcript?, status, type, conversation_id, created_at, ...}}. ERROR BAD_REQUEST: Neither transcript nor links was provided. — Pass at least one of them.

Inputs: id (required), links, transcript, from_message_id, +1 more.

create_direct_messageA

Send a direct message to one or more people, by user ID or email. USE WHEN: Reaching people outside an existing conversation. Address it with to.user_ids or to.emails. Requires transcript or links. USE INSTEAD: create_conversation_message when a conversation already exists — a DM starts a separate thread rather than joining it. FIRST: to.user_ids comes from search_users (field id) — call it first if you don't have one. EXAMPLE: {"to":{"user_ids":["user-abc"]},"transcript":"Quick question about the deck."} RETURNS: {message: {id, link, transcript?, status, conversation_id, created_at, ...}}. ERROR BAD_REQUEST: A user ID is invalid, or neither transcript nor links was provided. — Resolve people with search_users — never pass a display name as a user ID — and include a transcript or links.

Inputs: to (required), links, transcript, workspace_id, +2 more.

create_folderA

Create a folder in a workspace, optionally nested under another. USE WHEN: Organising memos. name, type and workspace_id are all required; add parent_folder_id to nest. USE INSTEAD: move_folder to relocate a folder that already exists. FIRST: workspace_id comes from get_workspaces_basic_info (field id) — call it first if you don't have one. EXAMPLE: {"name":"Q4 planning","type":"voicememo","workspace_id":"ws-abc"} RETURNS: The created folder, same shape as get_folder.

Inputs: name (required), type (required), workspace_id (required), parent_folder_id.

create_voicememo_messageA

Create a voice memo, either from text (spoken via text-to-speech) or from an audio file at a URL. USE WHEN: Pass transcript (2-5000 chars) to have Carbon Voice speak the text, or an https audio_url to upload audio, which wins over transcript. File it with folder_id, whose type must match, or a workspace_id. USE INSTEAD: create_conversation_message to post into an existing conversation, or create_direct_message to send to specific people. A voice memo is standalone and lives in a folder or workspace. EXAMPLE: {"transcript":"Reminder to review the pricing deck before Friday."} RETURNS: {message: {id, link, transcript?, audio_url?, duration_ms, status, type, created_at, ...}}. status is often processing at first. ERROR INVALID_AUDIO_URL: audio_url is not https, unreachable, too large, timed out, embeds credentials, or resolves to a private address. — The message gives the reason. Use a public https URL, or pass transcript instead. ERROR BAD_REQUEST: None of transcript, audio_url or links was provided, or the transcript is outside 2-5000 characters. — Provide one of the three, and keep the transcript within the length limits.

Inputs: links, audio_url, folder_id, transcript, +1 more.

delete_action_itemA
Destructive

Permanently delete an action item. USE WHEN: The item was created in error and should not exist at all. USE INSTEAD: set_action_item_status with done to complete an item — that keeps the record. Deleting cannot be undone, so prefer it only when the item is genuinely spurious. FIRST: id comes from list_my_action_items (field results[].id) — call it first if you don't have one. EXAMPLE: {"id":"ai-abc"} RETURNS: Deletion confirmation for the removed item.

Inputs: id (required).

delete_folderA
Destructive

Permanently delete a folder, including every nested folder and all their messages. USE WHEN: Only when the whole subtree should be destroyed. This cascades and cannot be undone. USE INSTEAD: move_folder to get a folder out of the way, or move_message_to_folder to relocate its messages first. Check total_nested_messages_count via get_folder before calling — the cascade is easy to underestimate. FIRST: id comes from get_root_folders (field results[].id) — call it first if you don't have one. EXAMPLE: {"id":"folder-abc"} RETURNS: Deletion confirmation.

Inputs: id (required).

get_action_itemA
Read-only

Get one action item by its ID, with full detail. USE WHEN: You have an action item ID and need its notes, assignee, due date, or source message. USE INSTEAD: list_my_action_items or list_action_items if you do not have an ID yet — they already return the same fields per item, so a follow-up call is usually wasted. FIRST: id comes from list_my_action_items (field results[].id) — call it first if you don't have one. EXAMPLE: {"id":"ai-abc"} RETURNS: {id, title, status, notes_text?, creator_id, assigned_to?, due_date?, container_id?, container_type?, source_message_id?, last_updated_by, ...}.

Inputs: id (required), response_fields.

get_ai_action_responsesA
Read-only

Retrieve AI Action results that were generated previously. USE WHEN: You want existing output rather than a fresh run — e.g. showing what an AI Action already produced for a message or conversation. Combine prompt_id, message_id and channel_id to narrow. USE INSTEAD: run_ai_action (or summarize_conversation) to generate new output; this tool only reads what already exists and returns an empty array if nothing has been generated. EXAMPLE: {"channel_id":"conv-abc","limit":10} RETURNS: Array of {id, prompt_id, creator_id, message_ids, channel_id?, workspace_id?, responses: [{language, text?, markdown?, html?, json?}], created_at}. NARROW: pass response_fields ["id","prompt_id","responses"] unless you need more — the full payload is much larger.

Inputs: date, limit, direction, prompt_id, +3 more.

get_conversationA
Read-only

Get one conversation by ID, with full metadata. USE WHEN: You have a conversation_id and need its description, visibility, owner or workspace name. USE INSTEAD: get_conversation_users for the participant list. list_messages with conversation_id for its messages — this returns neither. FIRST: id comes from list_conversations (field results[].id) — call it first if you don't have one. EXAMPLE: {"id":"conv-abc"} RETURNS: {id, name, description?, link, workspace_id, workspace_name, owner_id, type, visibility, ...}.

Inputs: id (required), response_fields.

get_conversation_usersA
Read-only

List the people in a conversation. USE WHEN: Finding out who is in a conversation, or collecting participant user IDs. USE INSTEAD: search_users to resolve people by name or email generally — this is scoped to one conversation. FIRST: id comes from list_conversations (field results[].id) — call it first if you don't have one. EXAMPLE: {"id":"conv-abc"} RETURNS: Array of user objects with id and profile fields. NARROW: pass response_fields ["id","full_name"] unless you need more — the full payload is much larger.

Inputs: id (required), response_fields.

get_current_userA
Read-only

Get the calling user's own identity, workspaces and settings. USE WHEN: Establishing who you are acting as, or finding the caller’s workspace IDs before a workspace-scoped call. Takes no arguments. USE INSTEAD: get_user for somebody else (it requires an explicit ID). get_workspaces_basic_info if you only need workspace IDs and names — it is far smaller than this response. EXAMPLE: {} RETURNS: {success, user: {user_guid, first_name, last_name?, email_txt?, phone_txt?, workspace_guids, identities, entries, environments, lifecycle_events, notification_settings, settings, ...}, settings: {...}}. This payload is LARGE — several unbounded arrays and an open settings map. NARROW: pass response_fields ["user.user_guid","user.first_name","user.email_txt","user.workspace_guids"] unless you need more — the full payload is much larger.

Inputs: response_fields.

get_folderA
Read-only

Get one folder's metadata and, optionally, its immediate subfolders. USE WHEN: Inspecting a folder. Set include_first_level_tree: true to get subfolders. Both date AND direction are silently ignored unless you do — upstream only documented that caveat on date. USE INSTEAD: get_folder_with_messages when you want the messages inside the folder — this returns structure and counts only. FIRST: id comes from get_root_folders (field results[].id) — call it first if you don't have one. EXAMPLE: {"id":"folder-abc","include_first_level_tree":true} RETURNS: {id, name, type, workspace_id, parent_folder_id?, path?, subfolder_ids?, message_ids?, total_nested_folders_count, total_nested_messages_count, subfolders?, ...}.

Inputs: id (required), date, direction, response_fields, +1 more.

get_folder_with_messagesA
Read-only

Get a folder together with the messages stored directly in it. USE WHEN: Reading a folder’s contents. Only messages at that folder’s own level are returned — nested folders are not walked. USE INSTEAD: get_folder for structure and counts without message bodies. list_messages with folder_id when you need date filtering or paging, which this tool does not support. FIRST: id comes from get_root_folders (field results[].id) — call it first if you don't have one. EXAMPLE: {"id":"folder-abc"} RETURNS: {folder: {...}, messages: [{...}]}. NARROW: pass response_fields ["folder.id","folder.name","messages"] unless you need more — the full payload is much larger.

Inputs: id (required), response_fields.

get_messageA
Read-only

Get one message by ID, optionally expanded with related records. USE WHEN: You have a message ID. fields ADDS related data (conversation, creator, labels) — it does not narrow the response. Use response_fields to narrow. USE INSTEAD: list_messages when you do not have an ID, or need several messages — it already returns full bodies, so fetching each one again is wasted. get_messages for several known IDs in one call. FIRST: id comes from list_messages (field results[].id) — call it first if you don't have one. EXAMPLE: {"id":"msg-abc","fields":"creator"} RETURNS: {message: {id, transcript?, ai_summary?, audio_url?, creator_id, duration_ms, status, type, attachments?, created_at, ...}}.

Inputs: id (required), fields, language, response_fields.

get_messagesA
Read-only

Get up to 100 messages by ID in one call, in the order given. USE WHEN: You already have several message IDs (from search_transcripts, search_message_ids, an AI action) and need their transcripts. One call instead of one get_message per ID. USE INSTEAD: get_message for one ID or to expand conversation/creator/labels; list_messages to browse a conversation without IDs. FIRST: message_ids comes from search_transcripts (field results[].message_id, or workspaces[].results[].message_id) — call it first if you don't have one. EXAMPLE: {"message_ids":["msg-abc","msg-def"]} RETURNS: By default {results: [{id, conversation_id, creator_id, created_at, status, content.transcript, content.ai_summary}], missing_ids}; response_fields: ["results"] for whole messages (content.time_codes has one entry per word). status not active (e.g. processing): not ready, call again later. missing_ids: not found, no access, or deleted; do not retry them.

Inputs: message_ids (required), language, response_fields.

get_recent_messagesA
Read-only

Get up to 10 of the most recent messages, each with its conversation, creator and labels. USE WHEN: A quick "what just happened" glance. Pre-joined, so no follow-up calls for creator or conversation names. USE INSTEAD: list_messages whenever you need more than 10, any date range, paging, or a filter other than conversation and language — this tool supports none of those. EXAMPLE: {"conversation_id":"conv-abc"} RETURNS: {results: [{message: {...}, conversation: {...}, creator: {...}, labels: [...]}]}. No total and no paging: the cap of 10 is the whole answer.

Inputs: language, conversation_id, response_fields.

get_root_foldersA
Read-only

List the root folders of a workspace for a given folder type. USE WHEN: Orienting in the folder tree, or finding a folder_id. type is required: voicememo or prerecorded. include_all_tree returns nested folders too. USE INSTEAD: get_folder to inspect one folder. get_folder_with_messages when you want a folder’s messages rather than its structure. EXAMPLE: {"type":"voicememo","workspace_id":"ws-abc"} RETURNS: {type, workspace_id?, include_all_tree?, sort_by, sort_direction, results: [{id, name, parent_folder_id?, subfolder_ids?, total_nested_folders_count, total_nested_messages_count, ...}]}. Not paginated — this is the complete set. NARROW: pass response_fields ["results.id","results.name","results.total_nested_messages_count"] unless you need more — the full payload is much larger.

Inputs: type (required), sort_by, workspace_id, sort_direction, +2 more.

get_userA
Read-only

Get a user's full profile by ID — names, languages, voice settings, workspace roles. USE WHEN: You already have a user ID and need complete details. USE INSTEAD: search_user / search_users to FIND someone by email, phone or name. get_current_user for the caller — this tool needs an explicit ID and will not default to you. FIRST: id comes from search_users (field id) — call it first if you don't have one. EXAMPLE: {"id":"user-abc"} RETURNS: {id, first_name, last_name?, languages, voice_gender, workspace_ids, workspace_roles, user_type, created_at, ...}. NARROW: pass response_fields ["id","first_name","last_name","workspace_ids"] unless you need more — the full payload is much larger.

Inputs: id (required), response_fields.

get_workspaces_basic_infoA
Read-only

List every workspace you belong to, as id and name only. USE WHEN: The cheapest way to resolve a workspace name to an ID before a workspace-scoped call. Takes no arguments. USE INSTEAD: get_current_user if you need more than ids and names — but note that response is much larger, so prefer this one when ids suffice. EXAMPLE: {} RETURNS: Array of {id, name}. Nothing else, and no paging.

Inputs: no named parameters.

list_action_itemsA
Read-only

List action items belonging to one container — a conversation, a folder, or home. USE WHEN: You have a container_id and want its action items. container_type is channel for a conversation, folder for a folder, or home. A conversation id is NOT a folder id — resolve container_id with the tool matching your container_type. Filter by status or assigned_to (pass the string null for unassigned). USE INSTEAD: list_my_action_items for everything assigned to you regardless of where it lives. FIRST: container_id comes from list_conversations (field results[].id) when container_type is channel — call it first if you don't have one. FIRST: container_id comes from get_root_folders (field results[].id) when container_type is folder — call it first if you don't have one. EXAMPLE: {"container_type":"channel","container_id":"conv-abc","status":"todo"} RETURNS: Same as list_my_action_items: {results: [...], total?, results_count?, has_more?, next_cursor?, filters?}. NARROW: pass response_fields ["results.id","results.title","results.status","results.assigned_to"] unless you need more — the full payload is much larger.

Inputs: container_id (required), container_type (required), date, limit, +6 more.

list_ai_actionsA
Read-only

List the AI Actions (Prompts) available to you — each has an id usable as prompt_id. USE WHEN: Before calling run_ai_action or summarize_conversation, to find a prompt_id. Also to show the user which AI Actions exist. Filter by owner_type (user = your own, workspace = shared, system = Carbon Voice built-ins). USE INSTEAD: get_ai_action_responses if you want results that were already generated rather than the list of available actions. EXAMPLE: {"owner_type":"system"} RETURNS: Array of {id, name, description?, prompt, owner_type, workspace_id?, response_format?, created_at, last_updated_at}. Use id as prompt_id elsewhere. NARROW: pass response_fields ["id","name","description","owner_type"] unless you need more — the full payload is much larger.

Inputs: owner_type, workspace_id, response_fields.

list_conversationsA
Read-only

List your conversations from the last 6 months, optionally filtered by participants, type and name. USE WHEN: Finding a conversation_id. Filter with user_ids plus match, types and name — YOUR DM with someone is user_ids: ["<their id>"], types: ["directMessage"]. You are always an implicit participant, so never pass your own ID. Filters AND together; if several match, ask which was meant. USE INSTEAD: get_conversation when you already have an ID and want full detail — this returns only id, name, workspace_id and type. EXAMPLE: {"user_ids":["user-abc"],"types":["directMessage"]} RETURNS: {results_count, results: [{id, name, workspace_id, type}]} where type is directMessage | customerConversation | namedConversation | asyncMeeting. No paging: results_count is what is returned, after filtering. name adds unfiltered_count: rows the name was matched against, AFTER user_ids/types. ALWAYS check it before saying no such conversation exists. 0 of 47 means none matched that string (misspelt, or >6 months old); 0 of 0 means your other filters left nothing — not that the caller has none. Widen the filters or ask; never report it does not exist.

Inputs: name, match, types, user_ids, +1 more.

list_inbox_notificationsA
Read-only

List your inbox notifications, with a total unread count. USE WHEN: Answering "what did I miss" or "where was I mentioned" — pass category: "mentions" for mentions. The response includes total_unread, so you can report a count without paging. USE INSTEAD: search_message_ids with notified_status if you want the messages themselves rather than notification records. search_messages_by_heard_status for unlistened messages. EXAMPLE: {"category":"mentions","limit":25} RETURNS: {results: [...], total_results, total_unread, filters}. Pages with skip/limit, not cursors. NARROW: pass response_fields ["results","total_unread","total_results"] unless you need more — the full payload is much larger.

Inputs: date, skip, type, limit, +3 more.

list_messagesA
Read-only

List messages with filtering by date, conversation, folder, workspace, creator or language. USE WHEN: The general-purpose message reader; full bodies incl. transcript and AI summary. Max date span 183 days. user_ids filters by SENDER — for messages exchanged WITH someone, pass conversation_id from list_conversations. Use presigned URLs as-is. USE INSTEAD: get_recent_messages for a quick look at the latest few (hard-capped at 10, no paging). search_message_ids for filters this cannot express — notified state, mentions or labels. FIRST: workspace_id comes from get_workspaces_basic_info (field id) — call it first if you don't have one. EXAMPLE: {"workspace_id":"ws-abc","start_date":"2026-09-01T00:00:00Z","size":25} RETURNS: {page, size, sort_direction, total, results_count, has_next_page, filters, results: [{id, transcript?, ai_summary?, audio_url?, creator_id, conversation_id?, duration_ms, reply_count, status, type, created_at, ...}]}. Page on has_next_page/total — do not guess. NARROW: pass response_fields ["total","has_next_page","results.id","results.transcript","results.created_at"] unless you need more — the full payload is much larger.

Inputs: page, size, type, end_date, +8 more.

list_my_action_itemsA
Read-only

List your action items across every conversation and folder: those assigned to you, PLUS unassigned ones you created. USE WHEN: Answering "what do I owe / what is on my plate" — but check assigned_to before calling something the user's own commitment: a null one is an item they raised that nobody has picked up. Filter by status (todo open, suggested AI-proposed, done complete). Page with starting_after. USE INSTEAD: list_action_items when you want one specific conversation or folder rather than everything of yours. EXAMPLE: {"status":"todo","limit":25} RETURNS: {results: [{id, title, status, notes_text?, assigned_to?, due_date?, container_id?, container_type?, source_message_id?, creator_id, ...}], total?, results_count?, has_more?, next_cursor?, filters?}. Keep paging while has_more is true, passing next_cursor as starting_after. NARROW: pass response_fields ["results.id","results.title","results.status","results.assigned_to","results.due_date"] unless you need more — the full payload is much larger.

Inputs: date, limit, status, direction, +3 more.

move_folderA
Destructive

Move a folder into another folder, or up to a workspace root. USE WHEN: Relocating a folder. Pass folder_id for a new parent folder, or workspace_id to move it to the workspace root — one or the other, not both. USE INSTEAD: update_folder_name to rename in place. move_message_to_folder for a single message rather than a folder. FIRST: id comes from get_root_folders (field results[].id) — call it first if you don't have one. EXAMPLE: {"id":"folder-abc","folder_id":"folder-parent"} RETURNS: The moved folder, same shape as get_folder. ERROR BAD_REQUEST: Both folder_id and workspace_id were given, or neither, or the move would nest a folder inside itself. — Pass exactly one destination.

Inputs: id (required), folder_id, workspace_id.

move_message_to_folderA
Destructive

Move a message into a folder, or out to a workspace. USE WHEN: Filing a memo. Only voicememo/prerecorded messages you created can be moved, and the message type must match the folder's type. Pass exactly one of folder_id or workspace_id. USE INSTEAD: move_folder to relocate a whole folder. create_voicememo_message with folder_id to file a memo at creation time instead of moving it after. FIRST: message_id comes from list_messages (field results[].id) — call it first if you don't have one. EXAMPLE: {"message_id":"msg-abc","folder_id":"folder-abc"} RETURNS: The updated message with its new placement. ERROR BAD_REQUEST: The message type is not voicememo/prerecorded, it does not match the destination folder's type, or both/neither destination was given. — Check type via get_message and the folder type via get_folder; they must match. Pass exactly one destination.

Inputs: message_id (required), folder_id, workspace_id.

run_ai_actionA

Run an AI Action (Prompt) against one or more specific messages. USE WHEN: You have concrete message_ids and a prompt_id, and want the AI Action applied to exactly those messages. USE INSTEAD: summarize_conversation if you want a whole conversation summarized and would otherwise have to list its messages yourself — it does that selection for you. FIRST: prompt_id comes from list_ai_actions (field id) — call it first if you don't have one. FIRST: message_ids comes from list_messages (field results[].id) — call it first if you don't have one. EXAMPLE: {"prompt_id":"prompt-abc","message_ids":["msg-1","msg-2"],"language":"english"} RETURNS: {id, prompt_id, message_ids, creator_id, channel_id?, workspace_id?, responses: [{language, text?, markdown?, html?, json?}], created_at}. The generated output is in responses[], one entry per language. ERROR BAD_REQUEST: prompt_id or one of message_ids is not a valid ID. — Call list_ai_actions for valid prompt_id values and list_messages for valid message IDs; do not retry with the same IDs.

Inputs: prompt_id (required), message_ids (required), language, channel_id, +3 more.

search_message_idsA
Read-only

Find message IDs by notified state, mentions, labels, creator, conversation or workspace — returning IDs plus cursor metadata. USE WHEN: Any filter list_messages cannot express: whether you were notified (notified_status), whether you were tagged (tagged_user_ids), or by label_ids. Cheap in tokens because it returns IDs only — hydrate the ones you need with get_message. USE INSTEAD: list_messages when a date range, conversation or workspace filter is all you need and you want full message bodies in one call. search_messages_by_heard_status for unread/listened state, which this tool cannot filter on. EXAMPLE: {"notified_status":"notified","limit":50} RETURNS: {ids: [{...}], has_more, next_cursor?}. Keep paging while has_more is true, passing next_cursor back as next_cursor. ERROR BAD_REQUEST: An ID list contains names rather than IDs, or exceeds 50 entries. — Resolve people to IDs with search_users and conversations with list_conversations; split lists longer than 50.

Inputs: limit, has_notes, label_ids, creator_ids, +8 more.

search_messages_by_heard_statusA
Read-only

Find messages by whether you have listened to them, and get per-conversation unheard counts. USE WHEN: "What have I not listened to yet" / "catch me up". heardStatus: "unheard" is the unread filter. The response also carries unheard_counts_by_channel, so you can prioritise conversations without fetching their messages. USE INSTEAD: search_message_ids for notified state, mentions or date anchors — this tool accepts no date filter (see note below). list_messages for plain recent history. EXAMPLE: {"heardStatus":"unheard","limit":25} RETURNS: {messages: [{message_guid, creator_guid, creator_first_name, channel_guids, transcript_txt, message_ts, heard_status, ...}], unheard_counts_by_channel: {conversation_id: count}, success}. Use unheard_counts_by_channel to decide where to look first. NARROW: pass response_fields ["unheard_counts_by_channel","messages.message_guid","messages.channel_guids","messages.creator_first_name","messages.transcript_txt","messages.message_ts"] unless you need more — the full payload is much larger.

Inputs: limit, user_guids, heardStatus, label_guids, +3 more.

search_transcriptsA
Read-only

Find messages by meaning (semantic search over transcripts), with the part that matched. USE WHEN: "Where did we discuss X?" without knowing the date or conversation. Omitting workspace_id searches every workspace, one request each out of 20/min: send it when known. Someone's own words ("what did Ana say"): their search_user id in creator_ids, not the name in query. USE INSTEAD: search_message_ids for notified, mentions/tags, labels; list_messages for plain history; search_messages_by_heard_status for unread. Exact names, URLs, ticket numbers may be missed. FIRST: workspace_id comes from get_workspaces_basic_info (field id) when searching one workspace — call it first if you don't have one. EXAMPLE: {"query":"launch date decision","workspace_id":"ws-abc"} RETURNS: With workspace_id: {results: [{message_id, conversation_id, conversation_name, score, matched_chunk, ...}], scope_capped}. Without: {needs_workspace_choice, workspaces: [{workspace_id, workspace_name, result_count, best_score, scope_capped, results}], empty_workspaces, skipped_workspaces: [{workspace_id, workspace_name, reason}]}. needs_workspace_choice true: ask the user which workspace (name, count, best matched_chunk), then call again with its id. skipped_workspaces were NOT searched: tell the user; retry RATE_LIMITED ones later by id. Next page: seen ids in exclude_message_ids. scope_capped true: narrow by conversation_ids or dates. Window [start_date, end_date), both with an offset. conversation_id: null = your voice memo. matched_chunk is usually the whole transcript; for more, get_messages with the message_ids. ERROR BAD_REQUEST: A bad argument — fix the one the message names. ERROR FORBIDDEN: Not a member of workspace_id — pick one from get_workspaces_basic_info. ERROR RATE_LIMITED: 20 searches/min used — wait a minute, or retry with one workspace_id. ERROR SERVER_ERROR: Search is down — retry later and tell the user. ERROR NOT_FOUND: Search not deployed — tell the user; do not retry.

Inputs: query (required), limit, end_date, start_date, +5 more.

search_userA
Read-only

Find a single user by email, phone or name. USE WHEN: Resolving ONE person. Supply exactly one of email, phone or name. Name search only matches your own contacts. USE INSTEAD: search_users for several people in one call — it takes arrays and saves a round trip per person. get_user when you already have the ID. EXAMPLE: {"email":"someone@example.com"} RETURNS: {id, full_name, first_name, last_name?, link, image_url?, languages?, ...}. Use id wherever another tool asks for a user ID. ERROR NOT_FOUND: Nobody matched, or a name search hit a non-contact. — Try an email or phone instead of a name; name search is limited to your contacts.

Inputs: name, email, phone.

search_usersA
Read-only

Resolve several users at once by emails, phones, IDs or names. USE WHEN: Turning a list of people into user IDs in one call — the right first step before any tool that takes user IDs. Name search only matches your contacts. USE INSTEAD: search_user for a single lookup. get_user for a full profile once you have the ID. EXAMPLE: {"names":["Brett"]} RETURNS: Array of {id, full_name, first_name, last_name?, link, languages?, ...}. If a name returns more than one candidate, ask which person was meant rather than guessing. NARROW: pass response_fields ["id","full_name"] unless you need more — the full payload is much larger.

Inputs: ids, names, emails, phones, +1 more.

set_action_item_statusA
Destructive

Move an action item between suggested, todo and done. USE WHEN: Completing an item (done), reopening it (todo), or accepting an AI-suggested item by promoting it from suggested to todo. USE INSTEAD: update_action_item for title, notes, assignee or due date; this tool only sets status. FIRST: id comes from list_my_action_items (field results[].id) — call it first if you don't have one. EXAMPLE: {"id":"ai-abc","status":"done"} RETURNS: The updated action item, same shape as get_action_item.

Inputs: id (required), status (required).

suggest_action_items_from_messageA

Extract action items from ONE message and return them immediately. USE WHEN: Turning a single message into tasks — "what did she ask me to do?". The items come back in this call, already saved with status: "suggested"; promote the ones you want with set_action_item_status. Prefer this over suggest_action_items_from_messages whenever there is exactly one message, since it needs no polling. USE INSTEAD: suggest_action_items_from_messages for two or more messages — it reasons over the whole set at once and can catch commitments that span messages, which calling this tool repeatedly cannot. create_action_item when you already know the task. FIRST: message_id comes from list_messages (field results[].id) — call it first if you don't have one. EXAMPLE: {"message_id":"msg-1"} RETURNS: Array of the created action items, each with id, title, assigned_to, due_date, notes_text and status: "suggested". An empty array means the model found nothing actionable. Runs the extraction inline, so expect this call to take a few seconds.

Inputs: message_id (required), response_fields.

suggest_action_items_from_messagesA

Queue AI extraction of candidate action items from specific messages. Runs in the background. USE WHEN: Turning a conversation into tasks — "what did we agree to?". Pass the message_ids to analyse, then POLL list_my_action_items or list_action_items with status: "suggested" for the results, and promote the ones you want with set_action_item_status. USE INSTEAD: suggest_action_items_from_message (singular) for a SINGLE message — it returns the items directly, with no polling. create_action_item when you already know the task and do not need it inferred — that returns the item synchronously, with an id. FIRST: message_ids comes from list_messages (field results[].id) — call it first if you don't have one. EXAMPLE: {"message_ids":["msg-1","msg-2"]} RETURNS: ACKNOWLEDGEMENT ONLY — no items are returned. Extraction is queued and runs in the background, so poll a listing tool with status: "suggested" to see the results.

Inputs: message_ids (required).

summarize_conversationA

Summarize a conversation by running an AI Action over its recent messages. USE WHEN: You want a conversation summarized and have a conversation_id. Message selection is handled for you — omit message_ids and the most recent messages are used. USE INSTEAD: run_ai_action if you already know exactly which message_ids to process, or want a non-summary AI Action. FIRST: prompt_id comes from list_ai_actions (field id) — call it first if you don't have one. FIRST: conversation_id comes from list_conversations (field results[].id) — call it first if you don't have one. EXAMPLE: {"conversation_id":"conv-abc","prompt_id":"prompt-abc","limit":50} RETURNS: Same as run_ai_action: {id, prompt_id, message_ids, responses: [{language, text?, markdown?, ...}], ...}. ERROR BAD_REQUEST: prompt_id is not a valid AI Action ID. — Call list_ai_actions to get valid prompt_id values.

Inputs: prompt_id (required), conversation_id (required), limit, end_date, +4 more.

update_action_itemA
Destructive

Change an action item's title, notes, assignee, or due date. USE WHEN: Editing item content. Send only the fields you want changed — omitted fields are left as they are. USE INSTEAD: set_action_item_status to move an item between todo / done / suggested; status is not editable here. FIRST: id comes from list_my_action_items (field results[].id) — call it first if you don't have one. EXAMPLE: {"id":"ai-abc","due_date":"2026-10-01"} RETURNS: The updated action item, same shape as get_action_item.

Inputs: id (required), title, due_date, notes_text, +1 more.

update_folder_nameA
Destructive

Rename a folder. USE WHEN: Changing only the name. name is the sole editable field here. USE INSTEAD: move_folder to change where a folder sits in the tree. FIRST: id comes from get_root_folders (field results[].id) — call it first if you don't have one. EXAMPLE: {"id":"folder-abc","name":"Q4 planning (final)"} RETURNS: The updated folder, same shape as get_folder.

Inputs: id (required), name (required).

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A4.2/5.0

    Scored across 44 tools

    Disambiguation4/5

    The descriptions do heavy lifting: nearly every tool has an explicit USE INSTEAD clause pointing at its nearest neighbor (get_message vs get_messages vs list_messages, search_user vs search_users, list_action_items vs list_my_action_items), which makes most boundaries clear. The recurring singular/plural pairs and the four different message-read paths remain a real misselection risk despite the guidance, so it is not quite five.

    Naming Consistency4/5

    Tool names are uniformly snake_case with a verb_noun shape (get_message, create_folder, list_action_items, run_ai_action), so the pattern is highly predictable. Minor deviations exist — update_folder_name embeds a field name while update_action_item does not, set_action_item_status uses a different verb, and get_workspaces_basic_info drops the verb_noun pattern — but these are small blemishes.

    Tool Count2/5

    At 44 tools this is well past the point where an agent can hold the surface in mind, and several tools are near-substitutes rather than distinct capabilities (get_recent_messages is a capped subset of list_messages; the single- and plural-message suggest tools differ mainly by sync vs async; get_workspaces_basic_info duplicates part of get_current_user). The breadth reflects a genuinely large product, but the set could be consolidated substantially.

    Completeness3/5

    Read/write coverage is strong across messages, folders, conversations, users, AI actions, share links, and action items, with full CRUD on folders and action items. However there is no message delete or edit/transcript-update, no create_conversation (a notable gap for a messaging app), and although share links expose revoked_at, no tool revokes or deletes one.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      C
      maintenance
      Enables reading, searching, sending iMessages, viewing image attachments, and managing conversations, with full support for modern macOS attributedBody parsing.
      14
      2
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents on macOS to securely read and search the local Messages database, catch up on missed messages via a persistent inbox, and send texts or files to allowlisted chats, with optional voice note transcription and text-to-speech.
      10
      12 npm
      MIT
    • F
      license
      Not graded
      quality
      A
      maintenance
      Enables sending text, photo, and video messages, browsing and searching conversations, retrieving user details, downloading shared or uploaded media, and managing message status through MCP clients.
      -