Skip to main content
Glama

kalagh-mcp

CI

An MCP server for one Kalagh provider (WhatsApp, Telegram, Instagram, email, …). Every provider operation — channels, contacts, chats, messages, media, logs — is a tool for Claude, carried over the transport you pick: REST, Socket.IO or gRPC.

  • The tools are the provider's own API. At startup the server reads the running provider's /api/docs-json and turns each operation into a tool with its real request schema. A newer provider, an older one, or another platform's gets matching tools with no change here. When the provider can't be reached at startup, the bundled snapshot (schema/openapi.json) is used instead.

  • One tool surface, three carriers. The provider publishes one surface over three transports: the REST path is the socket event name, and the controller method is the gRPC rpc. So each tool runs unchanged on whichever transport you configure.

  • Safe by default where it matters. Arguments are validated against the schema before they leave, and unknown fields are refused, exactly as REST refuses them. Every route is classified by hand (read, write or destructive). Anything that reaches other people — sends, reactions, edits, read receipts, blocks, group changes — or deletes or redirects data (a channel's webhook or credentials) is annotated destructive. A route the table doesn't know is treated as destructive. KALAGH_READ_ONLY=true hides every tool that writes.

Install

Each release on GitHub (Releases) is a tag vX.Y.Z with the Claude Desktop extension kalagh-mcp-vX.Y.Z.mcpb attached. Both ways of installing below use a release. Neither needs a clone or a build of your own.

Claude Desktop (chat) — a desktop extension with a settings form

  1. Download kalagh-mcp-vX.Y.Z.mcpb from the latest release.

  2. Double-click it, or drag it onto Settings → Extensions.

  3. Fill in the form: the provider URL, the API key (stored in the OS keychain), the transport, the socket and gRPC addresses, read-only mode and the download folder.

No JSON editing is needed. The extension carries the whole server in one file and runs on the Node.js that ships with Claude Desktop. To update, install the newer .mcpb over it; your settings are kept.

Claude Code (CLI, and the Code tab of the desktop app)

Register it once at user scope and it is available in every project. The Code tab of the Claude desktop app runs Claude Code, so it picks up the same registration. npx fetches the tagged release from GitHub and builds it on first start (a few seconds, then cached):

claude mcp add kalagh --scope user \
  -e KALAGH_API_URL=https://kalagh.smg.tr \
  -e KALAGH_API_KEY="$KALAGH_API_KEY" \
  -e KALAGH_TRANSPORT=grpc \
  -e KALAGH_GRPC_URL=kalagh-grpc.smg.tr:443 \
  -e KALAGH_WS_URL=https://kalagh-ws.smg.tr \
  -- npx -y github:navid-kianfar/kalagh-mcp#v1.0.0

claude mcp list should show kalagh as connected. Inside a session, /mcp shows its tools, and the status tool reports how it is connected. To update, change the tag (claude mcp remove kalagh, then add it again with the new #vX.Y.Z).

To keep the key out of the config file, use a project .mcp.json. Claude Code expands environment variables in it, so the key stays in your shell profile:

{
  "mcpServers": {
    "kalagh": {
      "command": "npx",
      "args": ["-y", "github:navid-kianfar/kalagh-mcp#v1.0.0"],
      "env": {
        "KALAGH_API_URL": "https://kalagh.smg.tr",
        "KALAGH_API_KEY": "${KALAGH_API_KEY}",
        "KALAGH_TRANSPORT": "http"
      }
    }
  }
}

To run a local checkout instead, use pnpm install && pnpm build, then node /path/to/kalagh-mcp/dist/index.js as the command.

Don't paste the API key into a chat. Anything typed into a conversation is kept in its transcript, and nothing in a chat can register an MCP server. Configuration belongs in the MCP config (above) or the extension's settings.

Several providers

Each provider is its own server instance with its own URL and key. Register one per provider under different names, e.g. kalagh-whatsapp and kalagh-telegram. Their tools stay apart as mcp__kalagh-whatsapp__messages_send and so on.

Related MCP server: WhatsApp MCP for Claude Desktop

Configuration

Variable

Default

Meaning

KALAGH_API_URL

(required)

REST base, e.g. https://kalagh.smg.tr (no /api/kalagh). Always needed: the tool list, uploads and /storage downloads use it.

KALAGH_API_KEY

(required)

The provider's API_KEY. Sent as x-api-key (REST), in the handshake (Socket.IO), or as x-api-key metadata (gRPC).

KALAGH_TRANSPORT

http

http, ws or grpc.

KALAGH_WS_URL

—

Socket.IO URL, e.g. https://kalagh-ws.smg.tr. Required for ws. When set, provider events are buffered for events_recent.

KALAGH_GRPC_URL

—

host:port, e.g. kalagh-grpc.smg.tr:443. Required for grpc. A local provider is grpc://localhost:4002. When set (and no socket URL is), provider events come from StreamEvents.

KALAGH_GRPC_TLS

TLS, except loopback

TLS on the gRPC channel. grpcs:// in the URL forces it on, and grpc:// or false turns it off. Plaintext is the default only for localhost/127.0.0.1/::1, because the key travels in the call metadata.

KALAGH_STORAGE_ORIGINS

—

Comma-separated origins storage_get may download from besides the provider's own, e.g. the object store behind presigned attachment links. Nothing else is ever fetched.

KALAGH_READ_ONLY

false

Only the tools that read are listed.

KALAGH_DOWNLOAD_DIR

$TMPDIR/kalagh-mcp

Where avatars, media and storage downloads are written.

KALAGH_TIMEOUT_MS

60000

Per-call timeout.

Locally a provider serves REST on http://localhost:4000, Socket.IO on http://localhost:4001 and gRPC on localhost:4002 (plaintext).

Tools

There is one tool per provider operation, named after its REST path: channels_list, chats_get, messages_send, messages_send_poll, contacts_block, logs_webhooks, … The provider's three back-compat aliases (messages/sync-chat, messages/download-media, messages/mark-messages-as-read) are left out, since each has a canonical twin.

Each description ends with how the operation is carried, e.g. (POST /api/kalagh/messages/send · gRPC SendMessage · socket "messages/send").

Special handling:

Tool

What it does

messages_send_media

Takes local file paths (files: [{ path, filename?, mimeType? }]) and uploads them as one message, via REST multipart on every transport.

channels_create, channels_request_qr

The pairing QR comes back as an image the client shows, ready to scan.

messages_get_media, contacts_get_avatar, chats_get_avatar

The file is saved to the download folder and its path is returned; images are also shown inline. gRPC answers the bytes in-band. REST answers a descriptor { mimeType, filename, storagePath, url }, and the server downloads the file from /storage for you.

storage_get

Downloads a stored object, from a /storage/... path or an attachment's URL.

events_recent

The provider events received since the server started (needs KALAGH_WS_URL or KALAGH_GRPC_URL). afterSeq reads only newer ones, and waitSeconds waits for the next match, e.g. a channel connecting after its QR is scanned.

status

Transport, endpoints, where the schemas came from, the event subscription, and the provider's health and info.

How each transport carries a call

REST

Socket.IO

gRPC

Operations

POST /api/kalagh/<path>

event <path> + ack

rpc on kalagh.KalaghService

health, info, storage_get

✓

via REST

via REST

messages_send_media

multipart

via REST

via REST

Media and avatar bytes

descriptor, then /storage

via REST (descriptor, then /storage)

in-band

Events

—

event broadcast

StreamEvents

On gRPC, arguments are shaped onto the proto from the proto itself: free-form objects (credentials, every metadata) travel as JSON strings, and map<string,string> values are stringified. A field REST takes but the proto doesn't declare is never dropped. That call goes over REST instead. Today there is no such field (KNOWN_PROTO_GAPS in test/surface.test.ts is empty, and fails when the provider grows one).

Releasing

Releases are cut from main by tagging; CI does the rest.

npm version patch        # or minor / major
git push --follow-tags

npm version bumps package.json. Its version hook gives manifest.json the same number, then npm commits both and tags vX.Y.Z. Pushing the tag runs release.yml, which:

  1. checks that the tag, package.json and manifest.json agree;

  2. typechecks and runs the tests;

  3. builds kalagh-mcp-vX.Y.Z.mcpb;

  4. publishes a GitHub Release with the .mcpb attached and generated notes.

The Claude Code install pins a tag too (github:navid-kianfar/kalagh-mcp#vX.Y.Z), so a release is the only deployment there is: nothing runs on a server. Every push and pull request runs ci.yml: typecheck and tests on Node 22 and 24, then the .mcpb build. CI also checks that the bundled server starts on its own and refuses a missing configuration. With the repository secrets KALAGH_API_URL and KALAGH_API_KEY set, CI also runs the read-only smoke test against that provider.

When the provider's API changes: in kalagh, run pnpm --filter @kalagh/core postman:generate (which writes providers/docs/openapi.json). Here, run pnpm sync-schema && pnpm test, then commit and release. A running provider's own /api/docs-json takes precedence anyway, so a schema sync only matters for the offline fallback and the gRPC proto.

Development

pnpm test            # unit tests: catalog, gRPC shaping, validation, output, events
pnpm sync-schema     # copy openapi.json + kalagh.proto from ../kalagh (--check to verify)
pnpm inspect         # the MCP Inspector against dist/index.js
pnpm pack:mcpb       # bundle/ + kalagh.mcpb for Claude Desktop

# read-only smoke test against a running provider, through a real MCP client
KALAGH_API_URL=https://kalagh.smg.tr KALAGH_API_KEY=… \
  KALAGH_TRANSPORT=grpc KALAGH_GRPC_URL=kalagh-grpc.smg.tr:443 node scripts/smoke.mjs

The snapshot's source of record is the kalagh repo. pnpm --filter @kalagh/core postman:generate writes providers/docs/openapi.json alongside the Postman collection, and the provider's drift test fails when either is stale. Run pnpm sync-schema here after it changes.

License

Proprietary — © AchaSoft, all rights reserved. See LICENSE.

Available Tools

67 tools
channels_aliasesC
Read-only

The identity pairings this channel observed (e.g. WhatsApp LID ↔ phone JID) (POST /api/kalagh/channels/aliases · gRPC GetPlatformAliases · socket "channels/aliases")

Inputs: channelId (required).

channels_createC

Create a channel and return its first QR code / state (POST /api/kalagh/channels/create · gRPC CreateChannel · socket "channels/create")

Inputs: title (required), id, config, logLevel, +4 more.

channels_credentials_patchA
Destructive

Deep-merge fields into a channel’s stored credentials Reaches other people on the platform, deletes, or redirects data — say exactly what will happen and get the user’s confirmation first. (POST /api/kalagh/channels/credentials/patch · gRPC PatchChannelCredentials · socket "channels/credentials/patch")

Inputs: id (required), credentials (required).

channels_deleteB
Destructive

Delete a channel and everything that hangs off it Reaches other people on the platform, deletes, or redirects data — say exactly what will happen and get the user’s confirmation first. (POST /api/kalagh/channels/delete · gRPC DeleteChannel · socket "channels/delete")

Inputs: id (required).

channels_getC
Read-only

One channel by row id or by the connected account id (POST /api/kalagh/channels/get · gRPC GetChannel · socket "channels/get")

Inputs: id, platformId.

channels_listD
Read-only

A page of channels (POST /api/kalagh/channels/list · gRPC GetChannels · socket "channels/list")

Inputs: page, limit.

channels_request_qrB

A fresh login QR code for a channel awaiting pairing (POST /api/kalagh/channels/request-qr · gRPC RequestQRCode · socket "channels/request-qr")

Inputs: id (required).

channels_restartB

Reconnect the channel’s session, keeping its pairing (POST /api/kalagh/channels/restart · gRPC RestartChannel · socket "channels/restart")

Inputs: id (required).

channels_terminateB
Destructive

Log the channel out of the platform (pairing is dropped) Reaches other people on the platform, deletes, or redirects data — say exactly what will happen and get the user’s confirmation first. (POST /api/kalagh/channels/terminate · gRPC TerminateChannel · socket "channels/terminate")

Inputs: id (required).

channels_unloadB

Drop the channel’s session from memory without logging out (POST /api/kalagh/channels/unload · gRPC UnloadChannel · socket "channels/unload")

Inputs: id (required).

channels_updateB
Destructive

Change a channel’s title, webhook, event and logging settings Reaches other people on the platform, deletes, or redirects data — say exactly what will happen and get the user’s confirmation first. (POST /api/kalagh/channels/update · gRPC UpdateChannel · socket "channels/update")

Inputs: id (required), title, config, logLevel, +5 more.

chats_add_participantB
Destructive

Add a participant to a chat Reaches other people on the platform, deletes, or redirects data — say exactly what will happen and get the user’s confirmation first. (POST /api/kalagh/chats/add-participant · gRPC AddChatParticipant · socket "chats/add-participant")

Inputs: chatId (required), channelId (required), participantId (required).

chats_archiveC

Archive a chat (POST /api/kalagh/chats/archive · gRPC ArchiveChat · socket "chats/archive")

Inputs: chatId (required), channelId (required).

chats_createC
Destructive

Create a chat (a group, where the platform has them) Reaches other people on the platform, deletes, or redirects data — say exactly what will happen and get the user’s confirmation first. (POST /api/kalagh/chats/create · gRPC CreateChat · socket "chats/create")

Inputs: name (required), channelId (required), participants.

chats_deleteB
Destructive

Soft-delete a chat Reaches other people on the platform, deletes, or redirects data — say exactly what will happen and get the user’s confirmation first. (POST /api/kalagh/chats/delete · gRPC DeleteChat · socket "chats/delete")

Inputs: chatId (required).

chats_getB
Read-only

One chat by row id, or by platform id within a channel (POST /api/kalagh/chats/get · gRPC GetChat · socket "chats/get")

Inputs: chatId, channelId, platformId.

chats_get_avatarB
Read-only

A chat’s avatar, described; the bytes are served from GET /storage/* The file is saved locally and its path returned (images are also shown). gRPC answers the bytes in-band; on REST/socket they are fetched from the provider’s storage. (POST /api/kalagh/chats/get-avatar · gRPC GetChatAvatar)

Inputs: chatId (required), channelId (required).

chats_get_participantsC
Read-only

The stored participants of a chat (POST /api/kalagh/chats/get-participants · gRPC GetChatParticipants · socket "chats/get-participants")

Inputs: chatId (required).

chats_listC
Read-only

A page of a channel’s chats (POST /api/kalagh/chats/list · gRPC GetChats · socket "chats/list")

Inputs: channelId (required), page, limit.

chats_mark_as_readB
Destructive

Mark a whole chat as read Reaches other people on the platform, deletes, or redirects data — say exactly what will happen and get the user’s confirmation first. (POST /api/kalagh/chats/mark-as-read · gRPC MarkChatAsRead · socket "chats/mark-as-read")

Inputs: chatId (required), channelId (required).

chats_muteC

Mute a chat (POST /api/kalagh/chats/mute · gRPC MuteChat · socket "chats/mute")

Inputs: chatId (required), channelId (required).

chats_pinC

Pin a chat (POST /api/kalagh/chats/pin · gRPC PinChat · socket "chats/pin")

Inputs: chatId (required), channelId (required).

chats_remove_participantB
Destructive

Remove a participant from a chat Reaches other people on the platform, deletes, or redirects data — say exactly what will happen and get the user’s confirmation first. (POST /api/kalagh/chats/remove-participant · gRPC RemoveChatParticipant · socket "chats/remove-participant")

Inputs: chatId (required), channelId (required), participantId (required).

chats_syncC

Import the platform’s chat list for a channel (POST /api/kalagh/chats/sync · gRPC SyncChats · socket "chats/sync")

Inputs: channelId (required).

chats_unarchiveC

Unarchive a chat (POST /api/kalagh/chats/unarchive · gRPC UnarchiveChat · socket "chats/unarchive")

Inputs: chatId (required), channelId (required).

chats_unmuteC

Unmute a chat (POST /api/kalagh/chats/unmute · gRPC UnmuteChat · socket "chats/unmute")

Inputs: chatId (required), channelId (required).

chats_unpinC

Unpin a chat (POST /api/kalagh/chats/unpin · gRPC UnpinChat · socket "chats/unpin")

Inputs: chatId (required), channelId (required).

chats_updateC
Destructive

Rename a chat Reaches other people on the platform, deletes, or redirects data — say exactly what will happen and get the user’s confirmation first. (POST /api/kalagh/chats/update · gRPC UpdateChat · socket "chats/update")

Inputs: chatId (required), channelId (required), name.

contacts_blockB
Destructive

Block a contact on the platform Reaches other people on the platform, deletes, or redirects data — say exactly what will happen and get the user’s confirmation first. (POST /api/kalagh/contacts/block · gRPC BlockContact · socket "contacts/block")

Inputs: channelId (required), contactId (required).

contacts_createC

Create a contact from a name and phone number (POST /api/kalagh/contacts/create · gRPC CreateContact · socket "contacts/create")

Inputs: name (required), phone (required), channelId (required).

contacts_deleteC
Destructive

Soft-delete a contact Reaches other people on the platform, deletes, or redirects data — say exactly what will happen and get the user’s confirmation first. (POST /api/kalagh/contacts/delete · gRPC DeleteContact · socket "contacts/delete")

Inputs: contactId (required).

contacts_getB
Read-only

One contact by row id, or by platform id within a channel (POST /api/kalagh/contacts/get · gRPC GetContact · socket "contacts/get")

Inputs: channelId, contactId, platformId.

contacts_get_avatarC
Read-only

A contact’s avatar, described; the bytes are served from GET /storage/* The file is saved locally and its path returned (images are also shown). gRPC answers the bytes in-band; on REST/socket they are fetched from the provider’s storage. (POST /api/kalagh/contacts/get-avatar · gRPC GetContactAvatar)

Inputs: channelId (required), contactId (required).

contacts_listC
Read-only

A page of a channel’s contacts (POST /api/kalagh/contacts/list · gRPC GetContacts · socket "contacts/list")

Inputs: channelId (required), page, limit.

contacts_syncC

Import the platform’s address book for a channel (POST /api/kalagh/contacts/sync · gRPC SyncContacts · socket "contacts/sync")

Inputs: channelId (required).

contacts_unblockC
Destructive

Unblock a contact on the platform Reaches other people on the platform, deletes, or redirects data — say exactly what will happen and get the user’s confirmation first. (POST /api/kalagh/contacts/unblock · gRPC UnblockContact · socket "contacts/unblock")

Inputs: channelId (required), contactId (required).

contacts_updateC

Rename a contact in the provider’s own records (POST /api/kalagh/contacts/update · gRPC UpdateContact · socket "contacts/update")

Inputs: channelId (required), contactId (required), publicName (required).

contacts_update_statusC

Store a contact’s status / about text (POST /api/kalagh/contacts/update-status · gRPC UpdateContactStatus · socket "contacts/update-status")

Inputs: status (required), channelId (required), contactId (required).

healthA
Read-only

Liveness probe — no authentication required (GET /api/kalagh/health)

Inputs: no named parameters.

infoB
Read-only

Which platform this provider instance serves (GET /api/kalagh/info)

Inputs: no named parameters.

logs_listC
Read-only

A page of a channel’s activity log (POST /api/kalagh/logs/list · gRPC GetLogs · socket "logs/list")

Inputs: channelId (required), page, level, action, +1 more.

logs_webhooksC
Read-only

A page of a channel’s webhook delivery log (POST /api/kalagh/logs/webhooks · gRPC GetWebhookLogs · socket "logs/webhooks")

Inputs: channelId (required), page, action, status, +1 more.

messages_attachmentsC
Read-only

A cursor page of a chat’s file-bearing messages (POST /api/kalagh/messages/attachments · gRPC GetMessageAttachments · socket "messages/attachments")

Inputs: chatId (required), channelId (required), limit, types, +2 more.

messages_deleteB
Destructive

Delete a message for everyone Reaches other people on the platform, deletes, or redirects data — say exactly what will happen and get the user’s confirmation first. (POST /api/kalagh/messages/delete · gRPC DeleteMessage · socket "messages/delete")

Inputs: chatId (required), channelId (required), messageId (required).

messages_forwardB
Destructive

Forward a message to one or more chats Reaches other people on the platform, deletes, or redirects data — say exactly what will happen and get the user’s confirmation first. (POST /api/kalagh/messages/forward · gRPC ForwardMessage · socket "messages/forward")

Inputs: chatId (required), channelId (required), messageId (required), toChatIds (required).

messages_getB
Read-only

One message by row id, or by platform id within a channel (POST /api/kalagh/messages/get · gRPC GetMessage · socket "messages/get")

Inputs: channelId, messageId, platformId.

messages_get_mediaB
Read-only

Fetch a message’s media into provider storage and describe it The file is saved locally and its path returned (images are also shown). gRPC answers the bytes in-band; on REST/socket they are fetched from the provider’s storage. (POST /api/kalagh/messages/get-media · gRPC GetMessageMedia)

Inputs: chatId (required), channelId (required), messageId (required).

messages_historyB
Read-only

A page of stored messages before a given one — never starts a fetch (POST /api/kalagh/messages/history · gRPC GetMessageHistory · socket "messages/history")

Inputs: chatId (required), channelId (required), messageId.

messages_listC
Read-only

A cursor page of a chat’s messages (POST /api/kalagh/messages/list · gRPC GetMessages · socket "messages/list")

Inputs: chatId (required), channelId (required), limit, cursor.

messages_mark_as_readC
Destructive

Mark one message — and the chat up to it — as read Reaches other people on the platform, deletes, or redirects data — say exactly what will happen and get the user’s confirmation first. (POST /api/kalagh/messages/mark-as-read · gRPC MarkMessageAsRead · socket "messages/mark-as-read")

Inputs: chatId (required), channelId (required), messageId (required).

messages_reactC
Destructive

React to a message with an emoji Reaches other people on the platform, deletes, or redirects data — say exactly what will happen and get the user’s confirmation first. (POST /api/kalagh/messages/react · gRPC ReactToMessage · socket "messages/react")

Inputs: emoji (required), chatId (required), channelId (required), messageId (required).

messages_remove_reactionA
Destructive

Remove a reaction from a message Reaches other people on the platform, deletes, or redirects data — say exactly what will happen and get the user’s confirmation first. (POST /api/kalagh/messages/remove-reaction · gRPC RemoveReaction · socket "messages/remove-reaction")

Inputs: emoji (required), chatId (required), channelId (required), messageId (required).

messages_replyB
Destructive

Reply to a message, quoting it Reaches other people on the platform, deletes, or redirects data — say exactly what will happen and get the user’s confirmation first. (POST /api/kalagh/messages/reply · gRPC ReplyMessage · socket "messages/reply")

Inputs: chatId (required), content (required), channelId (required), messageId (required).

messages_sendC
Destructive

Send a message carrying a whole MessageContent Reaches other people on the platform, deletes, or redirects data — say exactly what will happen and get the user’s confirmation first. (POST /api/kalagh/messages/send · gRPC SendMessage · socket "messages/send")

Inputs: content (required), channelId (required), chatId, username, +2 more.

messages_send_contactC
Destructive

Send a contact card (vCard) Reaches other people on the platform, deletes, or redirects data — say exactly what will happen and get the user’s confirmation first. (POST /api/kalagh/messages/send-contact · gRPC SendContact · socket "messages/send-contact")

Inputs: contact (required), channelId (required), chatId, metadata, +4 more.

messages_send_eventC
Destructive

Send a scheduled event Reaches other people on the platform, deletes, or redirects data — say exactly what will happen and get the user’s confirmation first. (POST /api/kalagh/messages/send-event · gRPC SendEvent · socket "messages/send-event")

Inputs: event (required), channelId (required), chatId, metadata, +4 more.

messages_send_interactiveC
Destructive

Send quick-reply buttons and/or a structured list Reaches other people on the platform, deletes, or redirects data — say exactly what will happen and get the user’s confirmation first. (POST /api/kalagh/messages/send-interactive · gRPC SendInteractive · socket "messages/send-interactive")

Inputs: channelId (required), interactive (required), chatId, message, +5 more.

messages_send_locationC
Destructive

Send a location (or a venue, when name/address are given) Reaches other people on the platform, deletes, or redirects data — say exactly what will happen and get the user’s confirmation first. (POST /api/kalagh/messages/send-location · gRPC SendLocation · socket "messages/send-location")

Inputs: location (required), channelId (required), chatId, metadata, +4 more.

messages_send_mediaC
Destructive

Send a message carrying one or more uploaded files Reaches other people on the platform, deletes, or redirects data — say exactly what will happen and get the user’s confirmation first. (POST /api/kalagh/messages/send-media · gRPC SendMedia)

Inputs: files (required), channelId (required), chatId, caption, +5 more.

messages_send_pollB
Destructive

Send a poll — question plus 2..12 options Reaches other people on the platform, deletes, or redirects data — say exactly what will happen and get the user’s confirmation first. (POST /api/kalagh/messages/send-poll · gRPC SendPoll · socket "messages/send-poll")

Inputs: poll (required), channelId (required), chatId, metadata, +4 more.

messages_syncC

Pull a page of a chat’s history from the platform (POST /api/kalagh/messages/sync · gRPC SyncMessages · socket "messages/sync")

Inputs: chatId (required), channelId (required), limit, cursor.

messages_updateB
Destructive

Edit a sent message’s text Reaches other people on the platform, deletes, or redirects data — say exactly what will happen and get the user’s confirmation first. (POST /api/kalagh/messages/update · gRPC UpdateMessage · socket "messages/update")

Inputs: chatId (required), content (required), channelId (required), messageId (required).

statusB
Read-only

How this MCP server is connected: transport, endpoints, where the tool schemas came from, the event subscription, and the provider’s own health and info.

Inputs: no named parameters.

storage_getA
Read-only

Download a stored object (media, avatar) from the provider’s storage to a local file. Pass the path after /storage/, or a full /storage/... URL as found in a message attachment. The file is saved locally and its path returned (images are also shown). gRPC answers the bytes in-band; on REST/socket they are fetched from the provider’s storage. (GET /storage/{path})

Inputs: path (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3/5.0

    Scored across 67 tools

    Disambiguation4/5

    Tools are cleanly namespaced by domain (chats_, contacts_, messages_, channels_, logs_) and most have a single distinct action. A few boundaries are soft — e.g. messages_send versus the specialized send_media/send_contact/send_event variants, and messages_list vs messages_history vs messages_sync — but descriptions clarify the fetch-vs-store distinction.

    Naming Consistency5/5

    Every tool follows a strict snake_case namespace_verb_noun pattern (chats_add_participant, messages_send_poll, channels_request_qr). Verb choices are consistent across domains, making the set highly predictable.

    Tool Count2/5

    67 tools is very heavy and exceeds the range where an agent can hold the surface in mind comfortably. Although the domain (channels, chats, contacts, messages, media, storage, logs) is genuinely broad and most tools earn their place, the sheer granularity is excessive.

    Completeness5/5

    The surface covers full lifecycle operations: create/get/list/update/delete for chats, contacts, and channels; a rich message action set (send, reply, forward, react, edit, delete, read); plus media storage, sync, search, and logs. No obvious dead ends for the stated messaging-platform purpose.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Enables Claude to interact with WhatsApp through a unified backend API, providing 20 tools for messaging, media, groups, contacts, and chat management.
      22
      48 npm
      MIT
    • F
      license
      Not graded
      quality
      A
      maintenance
      Lets users drive a Claude Code session directly from WhatsApp by relaying messages, media, and voice notes in both directions, transcribing voice input, and allowing tool-permission requests to be approved or denied with an emoji reaction. Inbound traffic is gated by pairing codes, allowlists, and per-group policies, and it runs either as a linked personal device or through Meta's official Cloud API for business DMs.
      -
    • F
      license
      Not graded
      quality
      A
      maintenance
      Turns a linked messaging account into a bidirectional bridge to a Claude Code session, sending and receiving text, media, and transcribed voice notes while an allowlist, pairing codes, and per-group policies gate every inbound message. It also lets users approve or deny the assistant's tool requests remotely with an emoji reaction and keep working across restarts via context recovery.
      -