MCPサーバー

Green API WhatsApp

com.green-api/whatsapp
ビジネス・業務 コミュニケーション 公開・接続可能 MCP 2025-11-25

このMCPでできること

Manages WhatsApp instances, contacts, groups, messages, notifications, chat history, and account connection state through Green API.

whatsapp_add_group_participant
Add a participant to a WhatsApp group
外部アクセスあり
入力スキーマ
{'type': 'object', 'required': ['instance_id', 'group_id', 'participant_chat_id'], 'properties': {'group_id': {'type': 'string', 'description': 'Group ID'}, 'instance_id': {'type': 'number', 'description': 'WhatsApp instance ID'}, 'participant_chat_id': {'type': 'string', 'description': 'Participant chat ID (79001234567@c.us)'}}}
whatsapp_check_whatsapp
Check whether a phone number has a WhatsApp account
読み取り専用 冪等
入力スキーマ
{'type': 'object', 'required': ['instance_id', 'phone_number'], 'properties': {'instance_id': {'type': 'number', 'description': 'WhatsApp instance ID'}, 'phone_number': {'type': 'number', 'description': 'Phone number to check'}}}
whatsapp_connect
Connect a WhatsApp instance. Call this before using other tools. Validates credentials via getStateInstance.
入力スキーマ
{'type': 'object', 'required': ['instance_id', 'api_token'], 'properties': {'api_url': {'type': 'string', 'description': 'API URL (defaults to https://api.green-api.com)'}, 'api_token': {'type': 'string', 'description': 'Instance API token'}, 'instance_id': {'type': 'number', 'description': 'WhatsApp instance ID (from console.green-api.com)'}}}
whatsapp_create_group
Create a WhatsApp group
外部アクセスあり
入力スキーマ
{'type': 'object', 'required': ['instance_id', 'group_name', 'chat_ids'], 'properties': {'chat_ids': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Participant list (chat IDs, e.g. 79001234567@c.us)'}, 'group_name': {'type': 'string', 'description': 'Group name'}, 'instance_id': {'type': 'number', 'description': 'WhatsApp instance ID'}}}
whatsapp_create_instance
Create a new WhatsApp instance via the GREEN-API Partner API
外部アクセスあり
入力スキーマ
{'type': 'object', 'required': ['partner_token'], 'properties': {'partner_token': {'type': 'string', 'description': 'Partner Token from your GREEN-API dashboard'}}}
whatsapp_delete_instance
Delete a WhatsApp instance via the GREEN-API Partner API
破壊的操作あり 外部アクセスあり
入力スキーマ
{'type': 'object', 'required': ['partner_token', 'instance_id'], 'properties': {'instance_id': {'type': 'number', 'description': 'Instance ID to delete'}, 'partner_token': {'type': 'string', 'description': 'Partner Token from your GREEN-API dashboard'}}}
whatsapp_delete_message
Delete a message
破壊的操作あり 外部アクセスあり
入力スキーマ
{'type': 'object', 'required': ['instance_id', 'chat_id', 'id_message'], 'properties': {'chat_id': {'type': 'string', 'description': 'Chat ID'}, 'id_message': {'type': 'string', 'description': 'ID of the message to delete'}, 'instance_id': {'type': 'number', 'description': 'WhatsApp instance ID'}}}
whatsapp_delete_notification
Delete a notification from the queue (acknowledge receipt)
破壊的操作あり 外部アクセスあり
入力スキーマ
{'type': 'object', 'required': ['instance_id', 'receipt_id'], 'properties': {'receipt_id': {'type': 'number', 'description': 'Notification ID (receiptId from receiveNotification)'}, 'instance_id': {'type': 'number', 'description': 'WhatsApp instance ID'}}}
whatsapp_disconnect
Disconnect a WhatsApp instance and remove credentials from the session
入力スキーマ
{'type': 'object', 'required': ['instance_id'], 'properties': {'instance_id': {'type': 'number', 'description': 'WhatsApp instance ID'}}}
whatsapp_edit_message
Edit a previously sent message
破壊的操作あり 外部アクセスあり
入力スキーマ
{'type': 'object', 'required': ['instance_id', 'chat_id', 'id_message', 'message'], 'properties': {'chat_id': {'type': 'string', 'description': 'Chat ID'}, 'message': {'type': 'string', 'description': 'New message text'}, 'id_message': {'type': 'string', 'description': 'ID of the message to edit'}, 'instance_id': {'type': 'number', 'description': 'WhatsApp instance ID'}}}
whatsapp_forward_messages
Forward messages to another chat
破壊的操作あり 外部アクセスあり
入力スキーマ
{'type': 'object', 'required': ['instance_id', 'chat_id', 'chat_id_from', 'messages'], 'properties': {'chat_id': {'type': 'string', 'description': 'Destination chat ID'}, 'messages': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Message IDs to forward'}, 'instance_id': {'type': 'number', 'description': 'WhatsApp instance ID'}, 'chat_id_from': {'type': 'string', 'description': 'Source chat ID'}}}
whatsapp_get_authorization_code
Get an authorization code for sign-in by phone number
読み取り専用 冪等
入力スキーマ
{'type': 'object', 'required': ['instance_id', 'phone_number'], 'properties': {'instance_id': {'type': 'number', 'description': 'WhatsApp instance ID'}, 'phone_number': {'type': 'string', 'description': 'Phone number (e.g. 79001234567)'}}}
whatsapp_get_chat_history
Get chat message history. Use a small 'count' (default 50, max 100) to keep responses focused.
読み取り専用 冪等
入力スキーマ
{'type': 'object', 'required': ['instance_id', 'chat_id'], 'properties': {'count': {'type': 'number', 'description': 'Number of messages (default 50, max 100)'}, 'chat_id': {'type': 'string', 'description': 'Chat ID (79001234567@c.us or 120363XXX@g.us)'}, 'instance_id': {'type': 'number', 'description': 'WhatsApp instance ID'}}}
whatsapp_get_contact_avatar
Get the avatar of a contact or group
読み取り専用 冪等
入力スキーマ
{'type': 'object', 'required': ['instance_id', 'chat_id'], 'properties': {'chat_id': {'type': 'string', 'description': 'Contact or group ID'}, 'instance_id': {'type': 'number', 'description': 'WhatsApp instance ID'}}}
whatsapp_get_contact_info
Get information about a contact or group
読み取り専用 冪等
入力スキーマ
{'type': 'object', 'required': ['instance_id', 'chat_id'], 'properties': {'chat_id': {'type': 'string', 'description': 'Contact or group ID'}, 'instance_id': {'type': 'number', 'description': 'WhatsApp instance ID'}}}
whatsapp_get_contacts
Get the contact list
読み取り専用 冪等
入力スキーマ
{'type': 'object', 'required': ['instance_id'], 'properties': {'instance_id': {'type': 'number', 'description': 'WhatsApp instance ID'}}}
whatsapp_get_group_data
Get group data (members, name, invite link)
読み取り専用 冪等
入力スキーマ
{'type': 'object', 'required': ['instance_id', 'group_id'], 'properties': {'group_id': {'type': 'string', 'description': 'Group ID (e.g. 120363XXX@g.us)'}, 'instance_id': {'type': 'number', 'description': 'WhatsApp instance ID'}}}
whatsapp_get_instances
List all partner instances via the GREEN-API Partner API
読み取り専用 冪等
入力スキーマ
{'type': 'object', 'required': ['partner_token'], 'properties': {'partner_token': {'type': 'string', 'description': 'Partner Token from your GREEN-API dashboard'}}}
whatsapp_get_message
Get a message by ID
読み取り専用 冪等
入力スキーマ
{'type': 'object', 'required': ['instance_id', 'chat_id', 'id_message'], 'properties': {'chat_id': {'type': 'string', 'description': 'Chat ID'}, 'id_message': {'type': 'string', 'description': 'Message ID'}, 'instance_id': {'type': 'number', 'description': 'WhatsApp instance ID'}}}
whatsapp_get_qr
Get the QR code for instance authorization. The result contains the QR as an image and a qrLink URL to an official GREEN-API page with a full-size auto-refreshing QR code. Always include the qrLink in your response as a clickable markdown link so the user can open it in the browser and scan comfortably.
読み取り専用 冪等
入力スキーマ
{'type': 'object', 'required': ['instance_id'], 'properties': {'instance_id': {'type': 'number', 'description': 'WhatsApp instance ID'}}}
whatsapp_get_settings
Get instance settings
読み取り専用 冪等
入力スキーマ
{'type': 'object', 'required': ['instance_id'], 'properties': {'instance_id': {'type': 'number', 'description': 'WhatsApp instance ID'}}}
whatsapp_get_state
Get instance state (authorized, notAuthorized, blocked, sleepMode)
読み取り専用 冪等
入力スキーマ
{'type': 'object', 'required': ['instance_id'], 'properties': {'instance_id': {'type': 'number', 'description': 'WhatsApp instance ID'}}}
whatsapp_get_wa_settings
Get WhatsApp account settings (name, description, etc.)
読み取り専用 冪等
入力スキーマ
{'type': 'object', 'required': ['instance_id'], 'properties': {'instance_id': {'type': 'number', 'description': 'WhatsApp instance ID'}}}
whatsapp_last_incoming_messages
Get recent incoming messages from the last N minutes (default 60, max 1440 = 24 hours).
読み取り専用 冪等
入力スキーマ
{'type': 'object', 'required': ['instance_id'], 'properties': {'minutes': {'type': 'number', 'description': 'Time window in minutes (default 60, max 1440)'}, 'instance_id': {'type': 'number', 'description': 'WhatsApp instance ID'}}}
whatsapp_last_outgoing_messages
Get recent outgoing messages from the last N minutes (default 60, max 1440 = 24 hours).
読み取り専用 冪等
入力スキーマ
{'type': 'object', 'required': ['instance_id'], 'properties': {'minutes': {'type': 'number', 'description': 'Time window in minutes (default 60, max 1440)'}, 'instance_id': {'type': 'number', 'description': 'WhatsApp instance ID'}}}
whatsapp_leave_group
Leave a WhatsApp group
破壊的操作あり 外部アクセスあり
入力スキーマ
{'type': 'object', 'required': ['instance_id', 'group_id'], 'properties': {'group_id': {'type': 'string', 'description': 'Group ID (120363XXX@g.us)'}, 'instance_id': {'type': 'number', 'description': 'WhatsApp instance ID'}}}
whatsapp_logout
Log out the WhatsApp instance
破壊的操作あり 外部アクセスあり
入力スキーマ
{'type': 'object', 'required': ['instance_id'], 'properties': {'instance_id': {'type': 'number', 'description': 'WhatsApp instance ID'}}}
whatsapp_read_chat
Mark chat messages as read
外部アクセスあり
入力スキーマ
{'type': 'object', 'required': ['instance_id', 'chat_id'], 'properties': {'chat_id': {'type': 'string', 'description': 'Chat ID'}, 'id_message': {'type': 'string', 'description': 'ID of a specific message (optional)'}, 'instance_id': {'type': 'number', 'description': 'WhatsApp instance ID'}}}
whatsapp_reboot
Reboot the WhatsApp instance
外部アクセスあり
入力スキーマ
{'type': 'object', 'required': ['instance_id'], 'properties': {'instance_id': {'type': 'number', 'description': 'WhatsApp instance ID'}}}
whatsapp_receive_notification
Get one notification from the queue (manual polling)
読み取り専用 冪等
入力スキーマ
{'type': 'object', 'required': ['instance_id'], 'properties': {'instance_id': {'type': 'number', 'description': 'WhatsApp instance ID'}}}
whatsapp_remove_group_admin
Revoke admin rights from a group member
破壊的操作あり 外部アクセスあり
入力スキーマ
{'type': 'object', 'required': ['instance_id', 'group_id', 'participant_chat_id'], 'properties': {'group_id': {'type': 'string', 'description': 'Group ID (120363XXX@g.us)'}, 'instance_id': {'type': 'number', 'description': 'WhatsApp instance ID'}, 'participant_chat_id': {'type': 'string', 'description': 'Participant chat ID (79001234567@c.us)'}}}
whatsapp_remove_group_participant
Remove a participant from a WhatsApp group
破壊的操作あり 外部アクセスあり
入力スキーマ
{'type': 'object', 'required': ['instance_id', 'group_id', 'participant_chat_id'], 'properties': {'group_id': {'type': 'string', 'description': 'Group ID'}, 'instance_id': {'type': 'number', 'description': 'WhatsApp instance ID'}, 'participant_chat_id': {'type': 'string', 'description': 'Participant chat ID (79001234567@c.us)'}}}
whatsapp_send_contact
Send a contact card via WhatsApp
破壊的操作あり 外部アクセスあり
入力スキーマ
{'type': 'object', 'required': ['instance_id', 'chat_id', 'phone_number'], 'properties': {'chat_id': {'type': 'string', 'description': 'Chat ID'}, 'company': {'type': 'string', 'description': 'Contact company'}, 'last_name': {'type': 'string', 'description': 'Contact last name'}, 'first_name': {'type': 'string', 'description': 'Contact first name'}, 'instance_id': {'type': 'number', 'description': 'WhatsApp instance ID'}, 'phone_number': {'type': 'number', 'description': 'Contact phone number'}}}
whatsapp_send_file
Send a file by URL
破壊的操作あり 外部アクセスあり
入力スキーマ
{'type': 'object', 'required': ['instance_id', 'chat_id', 'url'], 'properties': {'url': {'type': 'string', 'description': 'File URL'}, 'caption': {'type': 'string', 'description': 'File caption'}, 'chat_id': {'type': 'string', 'description': 'Chat ID'}, 'file_name': {'type': 'string', 'description': 'File name'}, 'instance_id': {'type': 'number', 'description': 'WhatsApp instance ID'}}}
whatsapp_send_file_by_upload
Send a file directly to a chat via multipart upload (no separate URL step)
破壊的操作あり 外部アクセスあり
入力スキーマ
{'type': 'object', 'required': ['instance_id', 'chat_id', 'file_base64', 'filename'], 'properties': {'caption': {'type': 'string', 'description': 'File caption (optional)'}, 'chat_id': {'type': 'string', 'description': 'Chat ID (79001234567@c.us or 120363XXX@g.us)'}, 'filename': {'type': 'string', 'description': 'File name with extension (e.g. photo.jpg)'}, 'file_base64': {'type': 'string', 'description': 'File contents encoded as base64'}, 'instance_id': {'type': 'number', 'description': 'WhatsApp instance ID'}}}
whatsapp_send_location
Send a location
破壊的操作あり 外部アクセスあり
入力スキーマ
{'type': 'object', 'required': ['instance_id', 'chat_id', 'latitude', 'longitude'], 'properties': {'name': {'type': 'string', 'description': 'Place name'}, 'address': {'type': 'string', 'description': 'Address'}, 'chat_id': {'type': 'string', 'description': 'Chat ID'}, 'latitude': {'type': 'number', 'description': 'Latitude'}, 'longitude': {'type': 'number', 'description': 'Longitude'}, 'instance_id': {'type': 'number', 'description': 'WhatsApp instance ID'}}}
whatsapp_send_message
Send a text message via WhatsApp
破壊的操作あり 外部アクセスあり
入力スキーマ
{'type': 'object', 'required': ['instance_id', 'chat_id', 'message'], 'properties': {'chat_id': {'type': 'string', 'description': 'Chat ID (79001234567@c.us or 120363XXX@g.us)'}, 'message': {'type': 'string', 'description': 'Message text'}, 'instance_id': {'type': 'number', 'description': 'WhatsApp instance ID'}, 'link_preview': {'type': 'boolean', 'description': 'Show link previews'}, 'quoted_message_id': {'type': 'string', 'description': 'ID of the message to quote (optional)'}}}
whatsapp_send_poll
Send a poll via WhatsApp
破壊的操作あり 外部アクセスあり
入力スキーマ
{'type': 'object', 'required': ['instance_id', 'chat_id', 'message', 'options'], 'properties': {'chat_id': {'type': 'string', 'description': 'Chat ID'}, 'message': {'type': 'string', 'description': 'Poll question'}, 'options': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Answer options (strings)'}, 'instance_id': {'type': 'number', 'description': 'WhatsApp instance ID'}, 'multiple_answers': {'type': 'boolean', 'description': 'Allow multiple answers'}}}
whatsapp_set_group_admin
Promote a group member to admin
外部アクセスあり
入力スキーマ
{'type': 'object', 'required': ['instance_id', 'group_id', 'participant_chat_id'], 'properties': {'group_id': {'type': 'string', 'description': 'Group ID (120363XXX@g.us)'}, 'instance_id': {'type': 'number', 'description': 'WhatsApp instance ID'}, 'participant_chat_id': {'type': 'string', 'description': 'Participant chat ID (79001234567@c.us)'}}}
whatsapp_set_settings
Update instance settings (webhooks, proxy, etc.)
破壊的操作あり 外部アクセスあり
入力スキーマ
{'type': 'object', 'required': ['instance_id'], 'properties': {'instance_id': {'type': 'number', 'description': 'WhatsApp instance ID'}, 'webhook_url': {'type': 'string', 'description': 'URL for incoming webhooks'}, 'delay_message': {'type': 'number', 'description': 'Message send delay (ms)'}, 'state_webhook': {'type': 'boolean', 'description': 'Enable state webhook'}, 'device_webhook': {'type': 'boolean', 'description': 'Enable device webhook'}, 'incoming_webhook': {'type': 'boolean', 'description': 'Enable incoming message webhook'}, 'outgoing_webhook': {'type': 'boolean', 'description': 'Enable outgoing message webhook'}, 'webhook_url_token': {'type': 'string', 'description': 'Token for the webhook URL'}, 'status_instance_webhook': {'type': 'boolean', 'description': 'Enable instance status webhook'}, 'mark_incoming_messages_readed': {'type': 'boolean', 'description': 'Mark incoming messages as read'}}}
whatsapp_upload_file
Upload a file to GREEN-API storage and return its URL. Use the returned URL with whatsapp_send_file.
外部アクセスあり
入力スキーマ
{'type': 'object', 'required': ['instance_id', 'file_base64', 'filename'], 'properties': {'filename': {'type': 'string', 'description': 'File name with extension (e.g. photo.jpg)'}, 'file_base64': {'type': 'string', 'description': 'File contents encoded as base64'}, 'instance_id': {'type': 'number', 'description': 'WhatsApp instance ID'}}}
追加
whatsapp_upload_file
2026年9月17日12:35
追加
whatsapp_set_settings
2026年9月17日12:35
追加
whatsapp_set_group_admin
2026年9月17日12:35
追加
whatsapp_send_poll
2026年9月17日12:35
追加
whatsapp_send_message
2026年9月17日12:35
追加
whatsapp_send_location
2026年9月17日12:35
追加
whatsapp_send_file_by_upload
2026年9月17日12:35
追加
whatsapp_send_file
2026年9月17日12:35
追加
whatsapp_send_contact
2026年9月17日12:35
追加
whatsapp_remove_group_participant
2026年9月17日12:35
追加
whatsapp_remove_group_admin
2026年9月17日12:35
追加
whatsapp_receive_notification
2026年9月17日12:35
追加
whatsapp_reboot
2026年9月17日12:35
追加
whatsapp_read_chat
2026年9月17日12:35
追加
whatsapp_logout
2026年9月17日12:35
追加
whatsapp_leave_group
2026年9月17日12:35
追加
whatsapp_last_outgoing_messages
2026年9月17日12:35
追加
whatsapp_last_incoming_messages
2026年9月17日12:35
追加
whatsapp_get_wa_settings
2026年9月17日12:35
追加
whatsapp_get_state
2026年9月17日12:35
追加
whatsapp_get_settings
2026年9月17日12:35
追加
whatsapp_get_qr
2026年9月17日12:35
追加
whatsapp_get_message
2026年9月17日12:35
追加
whatsapp_get_instances
2026年9月17日12:35
追加
whatsapp_get_group_data
2026年9月17日12:35
追加
whatsapp_get_contacts
2026年9月17日12:35
追加
whatsapp_get_contact_info
2026年9月17日12:35
追加
whatsapp_get_contact_avatar
2026年9月17日12:35
追加
whatsapp_get_chat_history
2026年9月17日12:35
追加
whatsapp_get_authorization_code
2026年9月17日12:35