The Periskope WhatsApp MCP (Model Context Protocol) tool provides an interface to interact with Periskope's WhatsApp API services through Claude, GPT, and other AI assistants that support the Model Context Protocol.
- Node.js (v16 or higher)
- A valid Periskope API key
- Periskope Phone ID
- An MCP client (Claude Desktop, Cursor etc.)
To use the Periskope WhatsApp MCP, you need to add it to your claude_desktop_config.json
file. This file is typically located in your home directory under .cursor/mcp.json
.
Add the following configuration to your mcp.json
:
{
"mcpServers": {
"periskope-mcp": {
"command": "npx",
"args": ["-y", "@periskope/whatsapp-mcp-staging"],
"env": {
"PERISKOPE_API_KEY": "your_periskope_api_key_here",
"PERISKOPE_PHONE_ID": "your_periskope_phone_id_here"
}
}
}
}
Make sure to:
- Replace
your_periskope_api_key_here
with your actual Periskope API key - Replace
your_periskope_phone_id_here
with your actual Periskope phone ID
The MCP provides several tools for interacting with Periskope's WhatsApp API:
- periskope_send_message: Sends a WhatsApp message to a specified number
- periskope_edit_message: Edits a message in a chat
- periskope_delete_message: Deletes a message from a chat
- periskope_forward_message: Forwards a message to other chats
- periskope_list_chats: Lists all WhatsApp chats
- periskope_get_chat: Gets details about a specific WhatsApp chat
- periskope_create_chat: Creates a new WhatsApp group chat
- periskope_update_contact_labels: Updates the labels of a WhatsApp contact
- periskope_add_participants_to_group: Adds participants to a WhatsApp group
- periskope_remove_participants_from_group: Removes participants from a WhatsApp group
- periskope_promote_participants_to_admins: Promotes participants to admins in a WhatsApp group
- periskope_demote_participants_from_admins: Demotes participants from admins in a WhatsApp group
- periskope_get_all_tickets: Gets all tickets
- periskope_get_ticket: Gets details about a specific ticket
- periskope_update_ticket: Updates an existing ticket
To use this tool, you need a Periskope API key:
- Sign up for an account at console.periskope.app
- Navigate to Settings > API settings in your console.
- Generate a new API key
- Update the PERISKOPE_PHONE_ID with your phone number (with country code and without any special characters) to validate an API request. For e.g. 919876512340.
For issues, questions, or feature requests, please contact:
- Email: support@periskope.app
- Website: periskope.app