Anima MCP Server
The Anima MCP Server provides tools for AI agents to manage communications, identity, and security. Capabilities include:
Workspace & Usage: Account overview and usage rollups.
Agent Management: Create, list, get, update, delete agents; manage addresses and metadata.
Email: Send, receive, search (semantic/keyword), reply, forward, thread retrieval, attachment download, plus full draft lifecycle.
Domain Management: Register, verify, list, get, update, delete custom sending domains; fetch DNS zone files.
Phone Numbers: List, provision, release numbers with capability filters (SMS/MMS/voice).
Phone Calls: Initiate outbound calls; list, get details (including AI summaries, scores), transcripts, and recordings; list available AI voices.
SMS/MMS: Send SMS/MMS with media; get and list messages; manage conversation threads.
Provisioning Requests: Request, list, check status, and cancel provisioning of vaults or numbers (requires human owner approval).
Credential Vault: Provision vaults; CRUD credentials (logins, cards, identities, notes); search; generate TOTP codes.
Webhooks: Create/update, get, list, delete subscriptions; send test events with authentication configs.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Anima MCP Server Send an email to contact@example.com about the project update."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@anima-labs/mcp
MCP (Model Context Protocol) server for Anima -- 58 tools across 10 categories for AI agent communication, identity, and security.
Hosted vs local (which one do I want?)
Anima runs a hosted MCP gateway at https://mcp.useanima.sh/mcp -- nothing to install, always current, and it carries the fullest tool surface (it adds inbox management and other tools beyond this package's 54). If your client speaks remote MCP (Cursor, VS Code, Claude Code --transport http), point it there with Authorization: Bearer ak_... and you're done. See the MCP docs.
This npm package is the stdio bridge for clients without remote-MCP support and for pinned/air-gapped configs. Same platform, same auth, smaller tool set.
anima setup-mcp install --all # hosted gateway (default)
anima setup-mcp install --all --mode stdio # this packageRelated MCP server: domani
Installation
npm install @anima-labs/mcp
# or
bun add @anima-labs/mcpQuick Start
# stdio mode (default -- for Claude Desktop, Cursor, Windsurf, etc.)
npx @anima-labs/mcp
# HTTP mode (for web integrations)
npx @anima-labs/mcp --http --port=8014
# Selective tool loading (only register specific groups)
npx @anima-labs/mcp --tools=email,vault,phoneEnvironment Variables
Variable | Required | Description |
| No | API server URL (default: |
| Yes | Agent API key ( |
| No | Master key ( |
Selective Tool Loading
Use the --tools flag to load only the tool groups you need. This reduces the tool count exposed to the LLM, which can improve tool selection accuracy and reduce token usage.
npx @anima-labs/mcp --tools=email,vault,phoneAvailable tool groups:
Group | Description |
| Account overview and usage rollups |
| Agent CRUD and address/identity management |
| Email send/receive, threads, drafts, attachments |
| Custom sending domains: DNS, verification, zone files |
| Phone number provisioning and release |
| Outbound calls, transcripts, recordings, voices |
| SMS/MMS send and conversation history |
| Ask your human owner for a vault or phone number |
| Credential vault management and TOTP |
| Webhook subscription management and testing |
If --tools is not provided, all groups are registered (current default behavior).
HTTP Mode
Run the MCP server over HTTP instead of stdio for web integrations:
npx @anima-labs/mcp --http --port=8014The server listens at http://localhost:8014/mcp and expects a Bearer <api-key> authorization header on each request.
Configuration Templates
Claude Desktop
~/.config/claude/claude_desktop_config.json:
{
"mcpServers": {
"anima": {
"command": "npx",
"args": ["-y", "@anima-labs/mcp"],
"env": { "ANIMA_API_KEY": "ak_..." }
}
}
}With selective loading:
{
"mcpServers": {
"anima": {
"command": "npx",
"args": ["-y", "@anima-labs/mcp", "--tools=email,vault,phone"],
"env": { "ANIMA_API_KEY": "ak_..." }
}
}
}Cursor
.cursor/mcp.json:
{
"mcpServers": {
"anima": {
"command": "npx",
"args": ["-y", "@anima-labs/mcp"],
"env": { "ANIMA_API_KEY": "ak_..." }
}
}
}Windsurf
.windsurf/mcp.json:
{
"mcpServers": {
"anima": {
"command": "npx",
"args": ["-y", "@anima-labs/mcp"],
"env": { "ANIMA_API_KEY": "ak_..." }
}
}
}Tool Reference
Workspace (2 tools)
Tool | Description |
| Single-call workspace snapshot: context, send-capability flags, inventory counts, and blockers |
| Usage rollup for a billing period |
Agent (5 tools)
Tool | Description |
| Create a new agent, optionally with metadata and an initial address |
| Get full detail for an agent: settings, metadata, status, addresses, and identities |
| List agents in the current account context with cursor pagination |
| Update an agent's name or metadata, and add/update/delete an address |
| Delete an agent by ID |
Email (13 tools)
Tool | Description |
| Send a new outbound email from the agent mailbox |
| Get full detail for a single email by ID, including metadata and body |
| List emails newest-first with cursor pagination, optionally scoped to one agent |
| Search email by meaning (semantic vector search) or literal keyword |
| Reply to an existing email thread with correct threading headers |
| Forward an existing email to another recipient |
| Fetch all messages in one or more email threads |
| Get a temporary download URL for an email attachment |
| Create a new email draft (composed but not sent) |
| Get full detail for a single draft by ID |
| List email drafts with optional filters |
| Send a draft |
| Discard a draft |
Domain (7 tools)
Tool | Description |
| Register a custom sending domain in the workspace |
| Trigger a verification check after DNS records are configured |
| Get full detail for a domain, including verification and config state |
| List all domains connected to the current workspace |
| Update mutable configuration on a domain |
| Delete a domain from the workspace |
| Get the full DNS zone file for a domain |
Phone (3 tools)
Tool | Description |
| List provisioned phone numbers, optionally filtered by agent |
| Provision a new phone number and assign it to an agent |
| Release a provisioned phone number back to the carrier pool |
Phone Call (6 tools)
Tool | Description |
| Initiate an outbound phone call from an agent (returns a callId immediately) |
| List phone calls with optional filters |
| Get full detail for a call: status, duration, participants, AI summary, and quality score |
| Get the full transcript with speaker labels, timestamps, and confidence scores |
| Get a time-limited download URL for a call recording (WAV) |
| List available AI voices for placing phone calls |
SMS (5 tools)
Tool | Description |
| Send an SMS, or an MMS by passing |
| Get full detail for a single SMS by ID (includes its |
| List SMS messages with optional filters |
| List SMS conversations |
| Get a specific SMS conversation with message history |
Provisioning (4 tools)
An agent cannot provision its own vault or phone number -- vault_provision
and phone_number_provision are master-key-only, and an MCP session is
authenticated as the agent. These tools file the ask instead; the owner decides
in the Anima console.
Approve and decline are deliberately NOT exposed as tools. An MCP tool is something the model can decide to call, and a prompt-injected agent able to approve its own request could grant itself a billable phone number -- exactly the escalation the flow exists to prevent.
Tool | Description |
| Ask your owner to provision a vault or phone number |
| List requests you have filed and their status |
| Check one request; a decline carries the owner's reason |
| Withdraw a pending request you no longer need |
Vault (8 tools)
Tool | Description |
| Provision a credential vault for an agent |
| List credentials in an agent vault with optional type filter |
| Get a single vault credential by ID |
| Create a new credential in an agent vault |
| Update an existing vault credential by ID |
| Delete a credential from vault storage by ID |
| Search vault credentials by keyword across names and content |
| Get the current TOTP code for a credential with a TOTP secret |
Webhook (5 tools)
Tool | Description |
| Create or update a webhook subscription |
| Get a webhook subscription by ID |
| List webhook subscriptions with cursor pagination |
| Delete a webhook subscription by ID |
| Send a test event to verify endpoint reachability and signature verification |
Contributing: the contract gates
Every tool here is a thin client over the Anima REST API, which makes two lies easy
to ship and nearly impossible to notice — both return a green 200:
a tool calling a route the API doesn't have, and
a tool advertising a parameter its route ignores (the API validates with Zod, which strips unknown input, so the server answers as if nothing was wrong and the model believes its filter was applied).
Two CI gates in src/__tests__/integration/contract-parity.test.ts make both
impossible. They check src/tool-routes.ts — where each tool declares the routes
it calls and any param it handles client-side — against
src/__tests__/fixtures/contract-routes.json, a snapshot of the real
@anima/contracts route surface.
Adding or changing a tool means updating its entry in src/tool-routes.ts.
If a gate fails, fix the tool: editing the declaration to match a lie, or parking a
param in clientParams, re-opens the exact hole the gates close.
Refreshing the snapshot (needs a checkout of the anima monorepo — it is private, so CI cannot do this for you):
bun run contracts:refresh -- --anima ../anima # rewrite the snapshot
bun run contracts:check -- --anima ../anima # diff only; non-zero on driftCommunity
Join the Anima Discord to ask questions in #mcp, share what you're building in #showcase, and stay up to date with releases in #announcements.
License
MIT
Available Tools
54 toolsaccount_overviewARead-onlyIdempotent
Single-call workspace snapshot: organization context, credential identity, send-capability flags (canSendEmail / canSendSms), inventory counts (agents, domains, phones), and active blockers. Strict superset of the legacy whoami + workspace_health pair. Use this before any non-trivial workflow to answer 'who am I and can I do X right now?' without paying a real send to find out.
Inputs: no named parameters. Returns: object
agent_createA
Create a new agent with optional metadata, and optionally attach an initial address. Use this when provisioning a new sending identity or automation actor. To add more addresses later, use agent_update.
Inputs: name (required), address, metadata. Returns: object
agent_deleteADestructiveIdempotent
Delete an agent by ID. Use this to remove deprecated or compromised agents that should no longer send messages. Cascades to attached addresses, email identities, and phone identities.
Inputs: id (required). Returns: id, deleted
agent_getARead-onlyIdempotent
Fetch full detail for a single agent by ID: settings, metadata, status, and the full addresses[] / emailIdentities[] / phoneIdentities[] lists. Use agent_list to browse multiple agents.
Inputs: id (required). Returns: object
agent_listARead-onlyIdempotent
List agents in the current account context with cursor pagination. Returns a lightweight per-agent record (addresses are NOT included to avoid N+1 round-trips). Use agent_get for full single-agent detail.
Inputs: limit, cursor. Returns: count, items, total, cursor, +2 more
agent_updateA
Update an agent's name or metadata, and/or add/update/delete an address. Use addAddress to attach a new address, updateAddress to change fields on an existing one (by addressId), deleteAddressId to remove one. Multiple field-level changes can be combined in a single call.
Inputs: id (required), name, metadata, addAddress, +2 more. Returns: object
domain_createAIdempotent
Register a custom sending domain in the workspace so it can be configured for email traffic. Use this before DNS setup and verification.
Inputs: domain (required). Returns: object
domain_deleteADestructiveIdempotent
Delete a domain from the workspace when it is no longer needed. Use this to remove old or incorrect domain configurations.
Inputs: id (required). Returns: id, deleted
domain_getARead-onlyIdempotent
Fetch full detail for a single domain by ID, including verification and configuration state. Use domain_list to browse all domains.
Inputs: id (required). Returns: object
domain_listARead-onlyIdempotent
List every domain connected to the current workspace (unpaginated). Use this to audit configured sender domains and choose one for follow-up actions.
Inputs: no named parameters. Returns: count, items, total, cursor, +2 more
domain_updateAIdempotent
Update mutable configuration on a domain. Currently the only updatable field is feedbackEnabled — toggle SES bounce and complaint feedback processing on or off.
Inputs: id (required), feedbackEnabled. Returns: object
domain_verifyAIdempotent
Trigger a verification check for a domain after DNS records are configured. Use this to re-run DNS validation and update verification status.
Inputs: id (required). Returns: object
domain_zone_fileARead-onlyIdempotent
Get the full DNS zone file for a domain. Use this for complete DNS export or to verify all records are correctly configured.
Inputs: id (required). Returns: object
email_attachment_getARead-onlyIdempotent
Get a temporary download URL for an email attachment. Use this when you need direct file access for preview or download.
Inputs: id (required). Returns: object
email_draft_createA
Create a new email draft (composed but not sent). Drafts can be incomplete — missing recipients, subject, or body. Use email_draft_send later to actually deliver, or email_draft_delete to discard.
Inputs: agentId (required), cc, to, bcc, +7 more. Returns: object
email_draft_deleteADestructiveIdempotent
Discard a draft. Use this to remove drafts that are no longer needed. Use email_draft_send if you want to deliver instead.
Inputs: id (required). Returns: id, deleted
email_draft_getARead-onlyIdempotent
Fetch full detail for a single draft by ID. Use email_draft_list to browse drafts.
Inputs: id (required). Returns: object
email_draft_listARead-onlyIdempotent
List email drafts with optional filters. Returns lightweight draft records — use email_draft_get for full detail.
Inputs: limit, cursor, agentId. Returns: count, items, total, cursor, +2 more
email_draft_sendA
Send a draft. Atomically converts the draft to a delivered Message + deletes the draft row. The draft must have at least one recipient, a subject, and a body. Returns the newly-created Message.
Inputs: id (required). Returns: id, status, messageId
email_forwardA
Forward an existing email to another recipient by loading the original content first. Use this to share a prior message while preserving context.
Inputs: to (required), agentId (required), originalId (required), text, +1 more. Returns: id, status, messageId
email_getARead-onlyIdempotent
Fetch full detail for a single email by ID, including metadata and body. Use email_list to browse emails in a folder.
Inputs: id (required). Returns: object
email_listARead-onlyIdempotent
List emails with cursor pagination, optionally scoped to one agent. Returns lightweight per-email records — use email_get for the full body, or email_search to find a specific message by content. Ordering is not guaranteed: page with cursor rather than assuming the first page is the newest mail.
Inputs: limit, cursor, agentId. Returns: count, items, total, cursor, +2 more
email_replyA
Reply to an existing email thread by first loading the original message and setting threading headers. Use this when you need a proper in-thread response.
Inputs: text (required), agentId (required), originalId (required), html, +2 more. Returns: id, status, messageId
email_searchARead-onlyIdempotent
Search email by MEANING (default) or by literal keyword. Semantic mode uses vector search, so 'the invoice dispute' finds the message even when it never says 'invoice' or 'dispute' — use it when you know what a message was ABOUT but not what it said. Use fulltext mode for exact strings (order numbers, error codes). Prefer this over paging email_list when looking for something specific.
Inputs: query (required), mode, limit, agentId, +2 more. Returns: count, items, total, cursor, +2 more
email_sendB
Send a new outbound email from the agent mailbox. Use this when you need to compose and deliver a message with optional CC, threading headers.
Inputs: to (required), body (required), agentId (required), subject (required), +6 more. Returns: id, status, messageId
email_thread_getARead-onlyIdempotent
Fetch all email messages in one or more threads. Pass id for a single thread or ids for multiple. Returns messages ordered within each thread. Uses the messages endpoint filtered by threadId + channel=EMAIL under the hood.
Inputs: id, ids, limit, agentId. Returns: object
phone_call_createA
Initiate an outbound phone call from an agent (REST-style: returns a callId immediately). The agent must have a provisioned phone number. For real-time streaming of the call back through the tool invocation, use the hosted MCP server (mcp.useanima.sh) where this tool stays open for the call's lifetime.
Inputs: to (required), tier, agentId, fromNumber. Returns: id, status, messageId
phone_call_getARead-onlyIdempotent
Get full detail for a single phone call: status, duration, participants, tier, AI-generated summary (one-liner, topics, action items, decisions, open questions, next steps), and quality score. The summary is generated once on first read after post-call processing and cached.
Inputs: id (required). Returns: object
phone_call_listARead-onlyIdempotent
List phone calls with optional filters. Returns lightweight call records — for full call detail including summary and score, use phone_call_get.
Inputs: limit, offset, status, agentId, +1 more. Returns: count, items, total, cursor, +2 more
phone_call_recording_getARead-onlyIdempotent
Get a time-limited download URL for a call recording (WAV format). The URL expires after 1 hour. Recording must have been enabled during the call.
Inputs: id (required). Returns: object
phone_call_transcript_getARead-onlyIdempotent
Get the full transcript of a phone call with speaker labels, timestamps, and confidence scores. Available after the call ends and transcription completes.
Inputs: id (required). Returns: object
phone_number_listARead-onlyIdempotent
List provisioned phone numbers, optionally filtered by agent. Each result includes status and capability flags (sms/mms/voice).
Inputs: agentId. Returns: count, items, total, cursor, +2 more
phone_number_provisionA
Provision a new phone number from the carrier pool and assign it to an agent. Note: provisioning a number costs money on the underlying carrier; do not call speculatively. Use countryCode / areaCode / capabilities to constrain selection.
Inputs: agentId (required), areaCode, countryCode, capabilities. Returns: object
phone_number_releaseADestructiveIdempotent
Release a previously provisioned phone number back to the carrier pool. Use this when cleaning up unused numbers. Released numbers cannot be recovered.
Inputs: agentId (required), phoneNumber (required). Returns: id, deleted
sms_getARead-onlyIdempotent
Fetch full detail for a single SMS by ID (includes its threadId for joining the conversation). Use sms_list to browse multiple SMS messages.
Inputs: id (required). Returns: object
sms_listARead-onlyIdempotent
List SMS messages with optional filters. Each result includes its threadId for joining the conversation. Use sms_get for full single-message detail.
Inputs: limit, cursor, agentId. Returns: count, items, total, cursor, +2 more
sms_sendA
Send an SMS to a phone number, or an MMS by passing mediaUrls. The agent must have a provisioned phone number. Use this for transactional texts or conversational messaging.
Inputs: to (required), body (required), agentId (required), mediaUrls. Returns: id, status, messageId
sms_thread_getARead-onlyIdempotent
Get a specific SMS conversation with message history. Use sms_thread_list to find IDs. Returns messages in the thread ordered by time.
Inputs: id (required), limit. Returns: object
sms_thread_listARead-onlyIdempotent
List SMS conversations. Optionally filter by agent_id to see conversations for a specific agent. Each conversation is a thread between your number and an external contact. Returns thread summaries with last message snippet + participant address.
Inputs: limit, offset, agentId. Returns: count, items, total, cursor, +2 more
usage_overviewARead-onlyIdempotent
Usage rollup for a billing period. Returns counters keyed by usage type (e.g. 'email_sent', 'sms_sent', 'voice_call_minutes') plus the latest update timestamp. Defaults to the current calendar month in UTC when period is omitted. Use to answer 'where am I against my tier limits?' without paying for per-event detail.
Inputs: period. Returns: object
vault_credential_createA
Create a new credential in an agent vault. Pass type plus the matching payload block (login / card / identity / notes). The response is masked — the caller already has the plaintext it just sent, so re-disclosing through MCP would only expose the LLM to its own input.
Inputs: name (required), type (required), agentId (required), card, +5 more. Returns: object
vault_credential_deleteADestructiveIdempotent
Delete a credential from vault storage by ID. Use this to remove obsolete or compromised secrets.
Inputs: id (required). Returns: id, deleted
vault_credential_getARead-onlyIdempotent
Get a single vault credential by ID. Sensitive fields (passwords, tokens, SSNs, CVV) are masked. To use the plaintext value for autofill or as an upstream credential, mint a vault token at the credential broker — the LLM never sees the secret directly.
Inputs: id (required). Returns: object
vault_credential_get_totpARead-only
Get the current TOTP code for a credential that has a TOTP secret configured. Use for time-based one-time passcode login flows. Returns the live 6-digit code derived from the stored secret — the secret itself is never disclosed.
Inputs: id (required). Returns: object
vault_credential_listARead-onlyIdempotent
List every credential in an agent vault. Use this to browse stored secrets before reading, updating, or deleting entries. Each item carries a type, so filter the returned list client-side. Sensitive fields in the response are masked.
Inputs: agentId (required). Returns: count, items, total, cursor, +2 more
vault_credential_searchARead-onlyIdempotent
Search vault credentials by keyword across names and content. Use this when you know part of the name, URL, or username but not the exact credential ID. Different access pattern from vault_credential_list — list is paginated browsing, search is text-query lookup.
Inputs: search (required), agentId (required), type. Returns: count, items, total, cursor, +2 more
vault_credential_updateAIdempotent
Update an existing vault credential by ID. Use to rotate passwords or revise stored details. Response masked — caller already has plaintext for fields they just sent.
Inputs: id (required), card, name, login, +4 more. Returns: object
vault_provisionAIdempotent
Provision a credential vault for an agent. Required before vault_credential_create can be called against a freshly-created agent — without a vault, credentials have nowhere to live. Idempotent: returns the existing vault if one already exists. Master-key only.
Inputs: agentId (required). Returns: object
voice_listARead-onlyIdempotent
List available AI voices for placing phone calls. The catalog is multilingual — filter by language or gender. Each voice includes descriptive metadata and a vendor-neutral audio preview URL, plus the voice ID needed for phone_call.
Inputs: gender, language. Returns: count, items, total, cursor, +2 more
webhook_deleteADestructiveIdempotent
Delete a webhook subscription by ID. Permanently removes the configuration and stops future deliveries. To temporarily pause without deleting, use webhook_set with { id, active: false }.
Inputs: id (required). Returns: id, deleted
webhook_getARead-onlyIdempotent
Get a webhook subscription by ID. Returns the full configuration (URL, subscribed events, active state, description).
Inputs: id (required). Returns: object
webhook_listARead-onlyIdempotent
List webhook subscriptions for the calling org with cursor pagination. Use to enumerate existing webhooks before set/delete operations.
Inputs: limit, cursor. Returns: count, items, total, cursor, +2 more
webhook_setAIdempotent
Create or update a webhook subscription. If id is provided the call updates that webhook (PUT). If omitted it creates a new one (POST) — url and events are then required. Use this for declarative 'ensure webhook X exists' workflows where the caller doesn't track which side of create/update it's on.
Inputs: id, url, active, events, +4 more. Returns: object
webhook_testA
Send a test event payload to a webhook to verify the endpoint is reachable and the signature verification on the receiver side works. Returns a deliveryId you can correlate with your endpoint's logs.
Inputs: id (required), event. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 54 tools
Each tool targets a distinct resource-action pair (e.g., email_send vs email_reply, sms_send vs phone_call_create), and resource groups (email, sms, phone, vault, domain, webhook, agent) are clearly separated. No two tools have overlapping purposes.
Tool names consistently follow a verb_noun pattern (e.g., agent_create, email_list, phone_number_provision) or a consistent noun_verb pattern within resource groups (e.g., webhook_set, vault_credential_get). No mixing of conventions or confusing abbreviations.
At 54 tools, the server is overloaded even for a multi-resource API. Many tools could be consolidated (e.g., draft CRUD vs email CRUD are separate, phone call tools are numerous). This exceeds the typical MCP scope and may confuse agents.
The server covers all major operations for each resource: CRUD for agents, domains, webhooks, vault credentials; plus specialized actions like email reply/forward, SMS thread management, phone call transcripts, and account/usage overviews. No obvious missing endpoints for the stated domain.
Related MCP Connectors
Send email, manage domains, templates, webhooks and broadcasts from your AI agent.
Send email, manage domains, templates, webhooks and broadcasts from your AI agent.
AI phone agents, calls and campaigns as tools, and messaging between your AI agent sessions.
Email inboxes, webhooks, mock APIs, 2FA codes, approvals and 170 tools for AI agents.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceProvides access to over 80 tools for managing OMICall and OMICRM APIs, including call center operations, ticket management, and multi-channel communication across platforms like Zalo and Facebook. It enables automated calling, agent management, and AI-powered text-to-speech capabilities through natural language.102 npm4MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to register domains, manage DNS, create mailboxes, and send/receive email through typed tools.2MIT
- AlicenseAqualityBmaintenanceEnables AI agents to send transactional emails and manage email infrastructure through the AgentiSend API, including domain verification, budgeted keys, and message logs.46MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to search for, purchase, connect, and verify custom domains end to end, including setting up email records, configuring forwarding, diagnosing drift, and confirming TLS issuance without handling DNS records directly. It offers twelve hosted tools covering domain availability, registration orders, provider discovery, and account-wide connection inventory.1MIT