Spoki MCP for AI Agents

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Spoki MCP or direct API to send WhatsApp messages, manage campaigns, automate sales follow-ups, and handle customer support chats through natural language.
Trusted by
AWS
Glean
Zoom
Airtable

30 min · no commitment · see it on your stack

Spoki Logo
Gradient Top
Gradient Middle
Gradient Bottom
divider

Try Spoki now

Enter a prompt below to test the integration in our Tool Router playground. You'll be redirected to sign in and try it live.

Supported Tools

Tools
Add Contact OperatorTool to assign an operator to a contact's chat.
Add Service UserAdds a new service user with a specific role to your Spoki account.
Check Role Private KeyTool to check if a service user role has a private key configured.
Clone TemplateTool to create a duplicate copy of an existing template.
Create Account Onboarding LinkTool to create an onboarding link for a specific Spoki account.
Create Custom FieldCreates a new custom field in Spoki for storing additional contact data.
Create Contact ListCreates a new contact list in Spoki for organizing and managing contacts.
Create Media FileTool to create a new media file entry in Spoki.
Create or Update ContactCreates a new contact or updates an existing contact in Spoki using the phone number as the unique identifier.
Create TemplateCreates a new WhatsApp message template with localizations, buttons, and media headers.
Create TicketTool to create a new support ticket in Spoki.
Delete contactTool to delete a specific contact.
Delete Custom FieldTool to delete a specific custom field.
Delete listTool to delete a specific list.
Delete media fileTool to delete a specific media file.
Delete roleTool to delete a specific role.
Delete templateTool to delete a WhatsApp template.
Delete ticketTool to delete a specific ticket.
Generate Role Private KeyTool to generate a private key for a service user role.
Get Account Current ReportTool to get the current report for a specified account.
List AccountsTool to retrieve a list of Spoki WhatsApp Business accounts with their details.
List AgenciesTool to list all agencies accessible to the user.
List AutomationsTool to list, search, and filter automations.
List campaignsTool to list, search, and filter campaigns.
List ContactsTool to list, search, and filter contacts.
List Custom FieldsTool to list, search, and filter custom fields.
List ListsTool to list, search, and filter contact lists.
List mediaTool to list media files.
List PartnersList all partners accessible to the authenticated account.
List ReportsTool to list, search, and filter usage reports.
List RolesTool to list user roles in the system.
List tagsLists all tags in the account.
List templatesTool to list, search, and filter WhatsApp templates.
List TicketsTool to list, search, and filter tickets.
Remove All List ContactsTool to remove all contacts from a list.
Remove Contact OperatorTool to remove an operator from a contact's chat.
Remove Contacts from ListTool to remove specific contacts from a list.
Resend InvitationTool to resend an invitation email.
Retrieve AccountRetrieves detailed information about a specific Spoki WhatsApp Business account.
Retrieve AutomationTool to retrieve details of a specific automation.
Retrieve ContactTool to retrieve details of a specific contact.
Retrieve Custom FieldTool to retrieve details of a specific custom field.
Retrieve ListTool to retrieve details of a specific list by ID.
Retrieve MediaTool to retrieve details of a specific media file by ID.
Retrieve RoleTool to retrieve details of a specific role by ID.
Retrieve TagTool to retrieve details of a specific tag.
Retrieve TemplateTool to retrieve details of a specific template.
Revert Template to DraftTool to revert a WhatsApp template back to DRAFT status, removing it from WhatsApp.
Bulk Sync ContactsTool to bulk sync (create or update) multiple contacts in a single request.
Sync Contacts to ListTool to create or update contacts and add them to a specific list in Spoki.
Update CampaignTool to update an existing campaign's name, status, or scheduled time.
Update ContactTool to update an existing contact in Spoki.
Update Custom FieldTool to update a specific custom field.
Update Invitation RoleTool to update the role of a pending invitation.
Update MediaTool to update an existing media file in Spoki.
Update RoleTool to update a user's role.
Update TemplateTool to update an existing WhatsApp template in Spoki.
Python
TypeScript

Install Composio

python
pip install composio claude-agent-sdk
Install the Composio SDK and Claude Agent SDK

Create Tool Router Session

python
from composio import Composio
from claude_agent_sdk import ClaudeSDKClient, ClaudeAgentOptions

composio = Composio(api_key='your-composio-api-key')
session = composio.create(user_id='your-user-id')
url = session.mcp.url
Initialize the Composio client and create a Tool Router session

Connect to AI Agent

python
import asyncio

options = ClaudeAgentOptions(
    permission_mode='bypassPermissions',
    mcp_servers={
        'tool_router': {
            'type': 'http',
            'url': url,
            'headers': {
                'x-api-key': 'your-composio-api-key'
            }
        }
    },
    system_prompt='You are a helpful assistant with access to Spoki tools.',
    max_turns=10
)

async def main():
    async with ClaudeSDKClient(options=options) as client:
        await client.query('List campaigns scheduled for next week on Spoki')
        async for message in client.receive_response():
            if hasattr(message, 'content'):
                for block in message.content:
                    if hasattr(block, 'text'):
                        print(block.text)

asyncio.run(main())
Use the MCP server with your AI agent

Why Use Composio?

AI Native Spoki Integration

  • Supports both Spoki MCP and direct API based integrations
  • Structured, LLM-friendly schemas for reliable tool execution
  • Rich coverage for reading, writing, and querying your Spoki data

Managed Auth

  • Built-in API key handling with secure storage and rotation
  • Central place to manage, scope, and revoke Spoki access
  • Per user and per environment credentials instead of hard-coded keys

Agent Optimized Design

  • Tools are tuned using real error and success rates to improve reliability over time
  • Comprehensive execution logs so you always know what ran, when, and on whose behalf

Enterprise Grade Security

  • Fine-grained RBAC so you control which agents and users can access Spoki
  • Scoped, least privilege access to Spoki resources
  • Full audit trail of agent actions to support review and compliance

Frequently Asked Questions

Do I need my own developer credentials to use Spoki with Composio?

Yes, Spoki requires you to configure your own API key credentials. Once set up, Composio handles secure credential storage and API request handling for you.

Can I use multiple toolkits together?

Yes! Composio's Tool Router enables agents to use multiple toolkits. Learn more.

Is Composio secure?

Composio is SOC 2 and ISO 27001 compliant with all data encrypted in transit and at rest. Learn more.

What if the API changes?

Composio maintains and updates all toolkit integrations automatically, so your agents always work with the latest API versions.

Used by agents from

Context
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai
Context
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai
Context
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai

Never worry about agent reliability

We handle tool reliability, observability, and security so you never have to second-guess an agent action.