Skip to main content
Glama

mcp-pachca

MCP-сервер для корпоративного мессенджера Pachca. Позволяет Claude Code, Cursor и другим MCP-клиентам читать чаты, искать сообщения, просматривать пользователей и отправлять сообщения.

Установка

npx mcp-pachca --setup

Мастер настройки:

  1. Выберите MCP-клиент (Claude Code / Cursor)

  2. Выберите область конфигурации (проект / глобально)

  3. Введите email от Pachca

  4. Введите 6-значный код из письма

Сессия сохраняется в ~/.config/mcp-pachca/session.json, конфигурация MCP записывается автоматически.

Ручная конфигурация

Если мастер уже пройден, можно добавить сервер вручную в .mcp.json:

{
  "mcpServers": {
    "pachca": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "mcp-pachca@latest"]
    }
  }
}

Related MCP server: lark-mcp-server

Инструменты

Инструмент

Описание

pachca_search_users

Поиск пользователей по имени или email

pachca_get_user

Получить пользователя по ID

pachca_list_chats

Список чатов по папкам (pinned / team / personal)

pachca_get_chat

Получить чат по ID

pachca_get_chat_members

Участники чата

pachca_list_messages

Сообщения в чате (anchor-based пагинация)

pachca_get_message

Получить сообщение по ID

pachca_send_message

Отправить сообщение в чат

pachca_search

Полнотекстовый поиск по сообщениям

pachca_get_profile

Текущий пользователь ("кто я")

pachca_get_unread

Чаты с непрочитанными сообщениями

pachca_get_presence

Онлайн-статус пользователей

pachca_get_personal_chat

Найти личный чат с пользователем по его ID

Разработка

git clone https://github.com/r-ms/mcp-pachca.git
cd mcp-pachca
npm install
npm run build
node dist/index.js --setup   # авторизация
node dist/index.js            # запуск сервера

Для отладки запросов к API:

DEBUG=1 node dist/index.js

Лицензия

MIT

Available Tools

13 tools
pachca_get_chatC

Get a single chat by ID.

Inputs: id (required).

pachca_get_chat_membersC

Get members of a chat.

Inputs: id (required), limit, cursor.

pachca_get_messageC

Get a single message by ID.

Inputs: id (required).

pachca_get_personal_chatA

Resolve a user ID to their personal (DM) chat ID. Use this before sending a direct message to a user.

Inputs: id (required).

pachca_get_presenceA

Get online/offline status for one or more users.

Inputs: ids (required).

pachca_get_profileA

Get the current authenticated user's profile ("who am I").

Inputs: no named parameters.

pachca_get_unreadB

Get list of chat IDs that have unread messages.

Inputs: no named parameters.

pachca_get_userC

Get a single user by ID.

Inputs: id (required).

pachca_list_chatsA

List chats organized by folder. First call without folder to see available folders, then specify a folder kind to list its chats.

Inputs: cursor, folder.

pachca_list_messagesA

List messages in a chat. Uses anchor-based pagination: provide message_id + direction to page through history.

Inputs: chat_id (required), per, direction, message_id.

pachca_search_usersA

Search for users in Pachca by name or email. Returns matching users with cursor-based pagination.

Inputs: query (required), cursor.

pachca_send_messageC

Send a message to a chat in Pachca.

Inputs: text (required), chat_id (required), parent_message_id.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 13 tools

    Disambiguation5/5

    Each tool targets a clearly distinct resource or action: chats, messages, users, presence, unread state, search, and profile. Search tools are differentiated by scope (messages vs. users), and chat/message read tools are separated by list vs. single-item retrieval.

    Naming Consistency4/5

    All tools use a consistent pachca_ prefix and mostly follow verb_noun naming. Minor deviations like pachca_search and pachca_get_unread omit an explicit resource noun, but the verb pattern remains readable and predictable.

    Tool Count5/5

    The server exposes 13 tools, which is well within the appropriate 3-15 range for a chat/messaging integration. Each tool appears to serve a distinct read, search, or send capability without obvious redundancy.

    Completeness3/5

    The surface covers core read/send workflows: listing chats, reading and searching messages, resolving DM chats, and sending messages. However, it lacks notable lifecycle operations such as editing/deleting messages, creating or managing chats, marking messages read, and handling attachments or reactions.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables reading Telegram chats and searching messages through natural language, connecting to MCP clients like Claude Code, Codex, and Cursor.
      26 npm
      1
      MIT
    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables reading, searching, and writing to Google Chat spaces, direct messages, and sidebar through MCP clients such as Claude Code and Claude Desktop.
      Apache 2.0
    • A
      license
      A
      quality
      C
      maintenance
      Enables AI agents such as Claude Code to read and send Slack messages as the user through a local MCP server, supporting multiple workspaces, threads, search, reactions, statuses, and dry-run/read-only safeguards.
      13
      MIT