integram-mcp 0.7.67 → 0.7.69

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +6 -6
  2. package/index.js +5 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  [![npm](https://img.shields.io/npm/v/integram-mcp)](https://www.npmjs.com/package/integram-mcp)
4
4
 
5
- MCP-сервер для Integram — даёт доступ к 736 инструментам (таблицы, документы, отчёты, автоматизации, портал, Telegram-боты, граф знаний и т.д.) из Claude Code, Claude Desktop и Cursor.
5
+ MCP-сервер для Integram — даёт доступ к 737 инструментам (таблицы, документы, отчёты, автоматизации, портал, Telegram-боты, граф знаний и т.д.) из Claude Code, Claude Desktop и Cursor.
6
6
 
7
7
  Работает с облачным Integram на **ai2o.online** или с локальным сервером.
8
8
 
@@ -15,7 +15,7 @@ claude mcp add integram \
15
15
  -e INTEGRAM_URL=https://ai2o.online \
16
16
  -e INTEGRAM_EMAIL=you@example.com \
17
17
  -e INTEGRAM_PASSWORD=secret \
18
- -- npx -y integram-mcp@0.7.67
18
+ -- npx -y integram-mcp@0.7.69
19
19
  ```
20
20
 
21
21
  Ставить ничего не нужно: `npx` скачает пакет сам.
@@ -43,7 +43,7 @@ claude mcp add integram \
43
43
  -e INTEGRAM_URL=http://localhost:8081 \
44
44
  -e INTEGRAM_EMAIL=you@example.com \
45
45
  -e INTEGRAM_PASSWORD=secret \
46
- -- npx -y integram-mcp@0.7.67
46
+ -- npx -y integram-mcp@0.7.69
47
47
  ```
48
48
 
49
49
  Удалить: `claude mcp remove integram`
@@ -57,7 +57,7 @@ claude mcp add integram \
57
57
  "mcpServers": {
58
58
  "integram": {
59
59
  "command": "npx",
60
- "args": ["-y", "integram-mcp@0.7.67"],
60
+ "args": ["-y", "integram-mcp@0.7.69"],
61
61
  "env": {
62
62
  "INTEGRAM_URL": "https://ai2o.online",
63
63
  "INTEGRAM_EMAIL": "you@example.com",
@@ -77,7 +77,7 @@ claude mcp add integram \
77
77
  "mcpServers": {
78
78
  "integram": {
79
79
  "command": "npx",
80
- "args": ["-y", "integram-mcp@0.7.67"],
80
+ "args": ["-y", "integram-mcp@0.7.69"],
81
81
  "env": {
82
82
  "INTEGRAM_URL": "https://ai2o.online",
83
83
  "INTEGRAM_EMAIL": "you@example.com",
@@ -162,7 +162,7 @@ claude mcp add integram -e INTEGRAM_URL=... -e INTEGRAM_EMAIL=... -e INTEGRAM_PA
162
162
  <!-- BEGIN:tool-groups — генерируется backend/scripts/sync-tool-counts.mjs, руками не править -->
163
163
  | Группа | Что делает | Кол-во |
164
164
  |---|---|---|
165
- | **workspace** | Файлы, коннекторы, участники, бэкапы, дашборды, вью, аудит, нормализатор, автоматизации, вебхуки, формы | 131 |
165
+ | **workspace** | Файлы, коннекторы, участники, бэкапы, дашборды, вью, аудит, нормализатор, автоматизации, вебхуки, формы | 132 |
166
166
  | **pm** | Управление проектами: задачи, спринты, доски, бэклог, диаграммы | 66 |
167
167
  | **portal** | Портал: конфиг, каталог, корзины, заказы, тикеты, KB, метрики, Telegram-боты | 61 |
168
168
  | **teamchat** | Сообщения, решения, метрики агентов, W-матрица, топики | 58 |
package/index.js CHANGED
@@ -743,11 +743,12 @@ create_automation({ name, trigger: { type, typeId }, active?, condition, actions
743
743
  - Trigger types: on_create, on_update, on_delete, on_deadline, on_webhook, on_form_submit, schedule, manual, ai_analysis, on_metric_threshold, on_metric_silence, on_document, on_ncl_run_completed, on_ncl_requirement_created, on_ncl_evidence_stale, on_telegram_command, on_telegram_message, on_telegram_pre_checkout, on_telegram_shipping, on_telegram_payment, on_telegram_inline, on_telegram_join_request, on_telegram_business_connection, on_telegram_business_message, on_bot_chat_member, pm_deadline, on_issue_commented, on_issue_updated, on_issue_created, on_issue_status_changed, on_sprint_started, on_sprint_completed
744
744
  pm_deadline: { days: N (за сколько дней до due_date PM-задачи, default 1), hour: 0-23 (час UTC ежедневного скана, default 7) }; в действиях доступны {{pm_title}}, {{pm_number}}, {{pm_due_date}}, {{pm_assignee_email}} (send_notification адресуйте username: '{{pm_assignee_email}}')
745
745
  on_issue_commented / on_issue_updated: событие PM-задачи (комментарий / правка полей), pm-переменные те же
746
- - Actions: send_notification, send_notification_to_group, update_field, create_object, delete_object, fire_webhook, run_ai_agent, run_script, run_server_function, send_telegram, send_telegram_media, create_document, run_connector, send_email, update_related_records, set_requisite, update_related, http_request, if_else, switch, transform, wait_delay, request_approval, delegate_to_agent, invoke_agent, send_invoice, telegram_forward, answer_inline_query, telegram_ban, telegram_unban, telegram_restrict, telegram_promote, telegram_approve_join, telegram_decline_join, telegram_pin, telegram_unpin, telegram_get_chat, telegram_post_story, answer_shipping, telegram_business_reply, create_issue, update_issue
746
+ - Actions: send_notification, send_notification_to_group, update_field, create_object, delete_object, fire_webhook, run_ai_agent, run_script, run_server_function, run_video_job, send_telegram, send_telegram_media, create_document, run_connector, send_email, update_related_records, set_requisite, update_related, http_request, if_else, switch, transform, wait_delay, request_approval, delegate_to_agent, invoke_agent, send_invoice, telegram_forward, answer_inline_query, telegram_ban, telegram_unban, telegram_restrict, telegram_promote, telegram_approve_join, telegram_decline_join, telegram_pin, telegram_unpin, telegram_get_chat, telegram_post_story, answer_shipping, telegram_business_reply, create_issue, update_issue
747
747
  create_issue: { title, description?, issue_type?, priority?, assignee_id?, parent_id?, board_id?, sprint_id?, due_date?, estimate?, labels?, assigneeRole?, assigneeStrategy? } — создаёт PM-задачу; результат: {{_created_issue_id}}, {{_created_issue_number}}. assigneeRole — имя EAV-таблицы-роли воркспейса (строки = участники, у каждого логин в колонке «Логин»/«Username»/«Email», колонка ищется по имени или алиасу); assigneeStrategy: least_busy (умолчание) | first; assignee_id и assigneeRole взаимно исключают друг друга — конфликт отвергается при сохранении. Роль без резолвимых участников → задача без исполнителя + уведомление роли (или триггера), прогон не падает.
748
748
  update_issue: { id, title?, description?, issue_type?, status?, priority?, assignee_id?, sprint_id?, parent_id?, estimate?, due_date?, labels? } — правит PM-задачу; id можно взять из {{pm_issue_id}}
749
749
  update_related_records: { childTypeId, matchRefReqId, targetTypeId, targetMatchReqId, targetFieldReqId, sourceFieldReqId, operation: 'add'|'subtract'|'set' } — declarative cross-table update (e.g. inventory deduction: order items → match product ref → subtract from stock)
750
750
  run_server_function: { repo, fn, args?, resultVar?, idempotencyKey?, idempotencyMinutes? } — call a codespace server function (api/<fn>.js in a workspace git repo) from an automation; this is how repo code gets put on a schedule (trigger.type: 'schedule'), which previously was impossible since server functions were reachable only over HTTP from the portal. Same sandbox, capabilities and limits as the portal path (codespace/server-fn-executor.js); capabilities are declared by a "// capabilities:" comment inside the function file. Replay protection is ON by default: repo+fn+args+record runs once per idempotencyMinutes (default 1) — keep it BELOW the schedule interval or runs are silently skipped; 0 disables it. A failed call releases its claim so the next run retries. Sets {{_server_fn_error}} / {{_server_fn_skipped}}.
751
+ run_video_job: { scenario, resultVar? } — queue a video-engine render job (scenario = steps[] + narration, the pipeline tts→record→assemble lives in the video-engine module). Does NOT wait for the render: jobId lands in {{_video_job_id}} and {{resultVar}}; status/result via /video-engine/jobs/:id. Sets {{_video_job_error}} on failure.
751
752
  send_telegram_media: { kind: voice|video|document, botId?, chatId, text? (voice: TTS via Piper + ffmpeg→OGG, ffmpeg failure falls back to WAV document), videoJobId? (video-engine job id), fileUrl?, caption?, resultVar? } — send a voice note / video / file to a Telegram chat. chatId/text/caption accept {{variables}}. Sets {{_tg_media_message_id}} / {{_tg_media_error}}.
752
753
  create_document: { title, markdown, resultVar? } — create a workspace document from markdown (a meeting protocol lands on the portal as a document). Owner: ctx.user id or the automation's created_by. Sets {{_document_id}} / {{_document_error}}.
753
754
  send_notification_to_group: { typeId, usernameReqId, title, body, filter?: { reqId, val } } — notifies all members of a table whose usernameReqId field is a valid Integram username; optional filter restricts to members where reqId==val (e.g. role filter)
@@ -862,6 +863,7 @@ query_audit(type?, actor?, dateFrom?, dateTo?, action?, objectId?, typeId?, repo
862
863
 
863
864
  - list_notifications, mark_read(notifId), send_notification(targetUsername, title, body), delete_notification(notifId)
864
865
  - get_notification_count() — number of unread notifications for current user
866
+ - get_unread_across_workspaces() — unread counts across all user's workspaces
865
867
  - notification_action(notifId, actionKey) — execute action on a notification (e.g. approve/reject a suspended automation). Requires confirmation.
866
868
 
867
869
  ## Workspace admin
@@ -1347,6 +1349,7 @@ const READ_ONLY_TOOLS = new Set([
1347
1349
  'get_graph_node', 'get_graph_neighborhood', 'list_graph_nodes', 'get_shortest_path',
1348
1350
  'graph_health', 'list_memory_agents', 'browse_graph_memory',
1349
1351
  'download_file', 'get_file_meta', 'get_notification_count', 'get_workspace', 'get_template',
1352
+ 'get_unread_across_workspaces',
1350
1353
  'count_objects', 'import_preview', 'get_trash_item',
1351
1354
  // teamchat & decisions
1352
1355
  'search_teamchat', 'search_similar_decisions', 'analyze_decision_conflicts', 'get_agent_metrics',
@@ -1410,6 +1413,7 @@ const EN_DESCRIPTIONS = {
1410
1413
  patch_file: 'Replace one unique snippet of text in a repository file. Preferred over commit_file for editing existing files: no need to send the whole file, works at any file size, rarely conflicts. oldStr must occur exactly once — lengthen the anchor if it does not. Matching is exact, including indentation.',
1411
1414
  // Notifications
1412
1415
  get_notification_count: 'Get the number of unread notifications for the current user. Returns: { count }.',
1416
+ get_unread_across_workspaces: 'Unread notification counts across ALL workspaces the user is a member of. Returns: { total, items: [{ workspace, count }] }. Poll this instead of switching workspaces to check each one.',
1413
1417
  // Workspace
1414
1418
  get_workspace: 'Get current workspace details: name, slug, plan, settings (admin only).',
1415
1419
  get_template: 'Get details of a workspace template by ID (schema, description). Returns: { id, slug, name, description, icon, category, schema }.',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "integram-mcp",
3
- "version": "0.7.67",
3
+ "version": "0.7.69",
4
4
  "type": "module",
5
5
  "description": "MCP server for Integram — connect AI assistants to your workspace via Model Context Protocol",
6
6
  "mcpName": "io.github.judas-priest/integram",