🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis
Socket
Book a DemoInstallSign in
Socket

@periskope/whatsapp-mcp

Package Overview
Dependencies
Maintainers
4
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@periskope/whatsapp-mcp

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.

latest
npmnpm
Version
0.1.8
Version published
Weekly downloads
6
200%
Maintainers
4
Weekly downloads
 
Created
Source

Periskope WhatsApp MCP

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.

Prerequisites

  • Node.js (v16 or higher)
  • A valid Periskope API key
  • Periskope Phone ID
  • An MCP client (Claude Desktop, Cursor etc.)

Setup

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"],
      "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 connected Periskope phone number

Available Tools

The MCP provides several tools for interacting with Periskope's WhatsApp API:

Chat Management

  • 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_chat_labels: Updates the labels of a WhatsApp chat
  • periskope_update_chat: Updates a WhatsApp chat properties on periskope
  • periskope_update_chat_settings: Updates the settings of a WhatsApp chat
  • periskope_search_chat: Searches for chats by name

Message Management

  • periskope_send_message: Sends a WhatsApp message to a specified number
  • periskope_list_messages_in_a_chat: Lists all messages in a specific WhatsApp chat
  • periskope_get_message_by_id: Gets a message by its ID
  • periskope_react_to_message: Reacts to a message
  • periskope_forward_message: Forwards a message to other chats
  • periskope_edit_message: Edits a message in a chat
  • periskope_delete_message: Deletes a message from a chat
  • periskope_search_message: Searches for messages by content

Contact Management

  • periskope_list_contacts: Lists all WhatsApp contacts
  • periskope_update_contact_labels: Updates the labels of a WhatsApp contact
  • periskope_update_contact: Updates a WhatsApp contact
  • periskope_get_contact_by_id: Gets a contact by its ID
  • periskope_search_contact: Searches for contacts by name

Group Management

  • 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

Ticket Management

  • periskope_get_all_tickets: Gets all tickets
  • periskope_get_ticket: Gets details about a specific ticket
  • periskope_update_ticket: Updates an existing ticket

Obtaining a Periskope API Key

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.

Support

For issues, questions, or feature requests, please contact:

Keywords

mcp

FAQs

Package last updated on 20 Apr 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts