integram-mcp 0.7.172 → 0.7.175

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 +4 -3
  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 — даёт доступ к 823 инструментам (таблицы, документы, отчёты, автоматизации, портал, Telegram-боты, граф знаний и т.д.) из Claude Code, Claude Desktop и Cursor.
5
+ MCP-сервер для Integram — даёт доступ к 824 инструментам (таблицы, документы, отчёты, автоматизации, портал, 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.172
18
+ -- npx -y integram-mcp@0.7.175
19
19
  ```
20
20
 
21
21
  Ставить ничего не нужно: `npx` скачает пакет сам.
@@ -49,7 +49,7 @@ claude mcp add integram \
49
49
  -e INTEGRAM_URL=http://localhost:8081 \
50
50
  -e INTEGRAM_EMAIL=you@example.com \
51
51
  -e INTEGRAM_PASSWORD=secret \
52
- -- npx -y integram-mcp@0.7.172
52
+ -- npx -y integram-mcp@0.7.175
53
53
  ```
54
54
 
55
55
  Удалить: `claude mcp remove integram`
@@ -63,7 +63,7 @@ claude mcp add integram \
63
63
  "mcpServers": {
64
64
  "integram": {
65
65
  "command": "npx",
66
- "args": ["-y", "integram-mcp@0.7.172"],
66
+ "args": ["-y", "integram-mcp@0.7.175"],
67
67
  "env": {
68
68
  "INTEGRAM_URL": "https://ai2o.online",
69
69
  "INTEGRAM_EMAIL": "you@example.com",
@@ -83,7 +83,7 @@ claude mcp add integram \
83
83
  "mcpServers": {
84
84
  "integram": {
85
85
  "command": "npx",
86
- "args": ["-y", "integram-mcp@0.7.172"],
86
+ "args": ["-y", "integram-mcp@0.7.175"],
87
87
  "env": {
88
88
  "INTEGRAM_URL": "https://ai2o.online",
89
89
  "INTEGRAM_EMAIL": "you@example.com",
@@ -178,7 +178,7 @@ claude mcp add integram -e INTEGRAM_URL=... -e INTEGRAM_EMAIL=... -e INTEGRAM_PA
178
178
  | **portal** | Портал: конфиг, каталог, корзины, заказы, тикеты, KB, метрики, Telegram-боты | 67 |
179
179
  | **docs** | Документы, блоки, версии, шаринг, папки, теги, шаблоны, PDF | 53 |
180
180
  | **nightcall** | Нормативная спецификация и проверяемая генерация: требования, обязательства, свидетельства, базовые линии | 44 |
181
- | **codespace** | Git-репозитории: ветки, коммиты, файлы, точечная правка (`patch_file`), pull requests; запись с `baseCommit` сливается с чужими изменениями вместо перезаписи | 41 |
181
+ | **codespace** | Git-репозитории: ветки, коммиты, файлы, точечная правка (`patch_file`), pull requests; запись с `baseCommit` сливается с чужими изменениями вместо перезаписи | 42 |
182
182
  | **schema** | Таблицы, колонки, кнопки (AI/HTTP/script), вычисляемые колонки, валидация | 36 |
183
183
  | **memory** | Память агента, инсайты, процедуры, противоречия | 30 |
184
184
  | **orgs** | Организации: участники, области, приглашения | 29 |
package/index.js CHANGED
@@ -812,7 +812,7 @@ export const EN_DESCRIPTIONS = {
812
812
  create_portal_ticket: 'Open a support ticket on behalf of a portal customer (admin): a ticket in the support module linked to the customer with an initial status. Returns: { id, subject }.',
813
813
  create_portal_order: 'Place a portal order on behalf of a customer (admin): creates a REAL order with money — an order record with items at server catalog prices. WITHOUT idempotencyKey a repeated call creates a DUPLICATE order — pass the key on retries. Requires confirmation.',
814
814
  // Portal
815
- invoke_server_function: 'Execute a codespace server function (api/<name>.js in the workspace git repo). Arbitrary code in a sandbox — requires confirmation. Optional idempotencyMinutes suppresses retries with identical args within an N-minute window — enable for functions with external side effects.',
815
+ invoke_server_function: 'Execute a codespace server function (api/<name>.js in the workspace git repo). Arbitrary code in a sandbox — requires confirmation. Optional idempotencyMinutes suppresses retries with identical args within an N-minute window — enable for functions with external side effects. A function may declare its capabilities in a header comment "// capabilities: query, write" — BEFORE invoking, read the header via search_code/read_file: a writing function creates records, PM tasks and sends notifications. The tool response always carries capabilities and writes (true for writing functions) with a warning in note. dryRun: true — safe diagnostics: write-bridges are replaced with stubs and the response carries a dryRun.intercepted journal of what would have been called; no confirmation required; side effects OUTSIDE bridges (external fetch, ai calls) are NOT suppressed.',
816
816
  list_portal_config_history: 'List portal config snapshot history (admin): recent saves with dates and authors. Call BEFORE restore_portal_config.',
817
817
  restore_portal_config: 'Roll the portal config back to a history snapshot (admin). Overwrites the ENTIRE current config — call list_portal_config_history first and tell the user what will be lost. The portal cache is invalidated automatically. Requires confirmation.',
818
818
  get_portal_analytics: 'Portal visit and order stats (admin): page/product views and orders created over 1d|7d|30d (default 7d).',
@@ -1078,7 +1078,7 @@ export const EN_DESCRIPTIONS = {
1078
1078
  update_automation: 'Update an automation: name, trigger, condition, actions, enabled (requires confirmation). Returns: { id, type:"automation", message }.',
1079
1079
  trigger_automation: 'Run an automation manually (requires confirmation). Returns: { id, type:"automation", message }.',
1080
1080
  search_prices: 'Find product prices on marketplaces. Returns [{name, price, url, source}]. Sources: komus (office supplies), wildberries (general), samson (building materials), yandex-market (general), megamarket (general), lemanapro (building materials, requires home proxy), price-ru (general aggregator), petrovich (building materials). Returns: { items, query, source }. Call once per source.',
1081
- run_script: 'Execute JavaScript in an isolated sandbox (isolated-vm). Available globals: row (current record), fetch(url,opts), ai(prompt,model?), output(value), setField(reqId,value) (requires objectId), query(typeId,opts) (returns metadata, not full fields), getRecord(id), createRecord(typeId,{name,fields}), updateRecord(id,{fields}), deleteRecord(id), browse(query,source?) (price search), console.log(), JSON, Math, Date. Limits: 128MB RAM, 60s timeout, rate limits on calls. Returns: { value, fields, logs }. (requires confirmation); available to admin/owner only, workspace secrets are injected only by names mentioned in the script',
1081
+ run_script: 'Execute JavaScript in an isolated sandbox (isolated-vm). Available globals: row (current record), fetch(url,opts), ai(prompt,model?), output(value), setField(reqId,value) (requires objectId), query(typeId,opts) (returns metadata, not full fields), getRecord(id), createRecord(typeId,{name,fields}), updateRecord(id,{fields}), deleteRecord(id), browse(query,source?) (price search), console.log(), JSON, Math, Date. Limits: 128MB RAM, 60s timeout. Budget: 50 mutations and 30 queries per call (SANDBOX_PROFILES.automation); exceeding it makes the script fail, everything written before the failure is kept, and the error is returned in script_result.error. Returns: { value, fields, logs }. (requires confirmation); available to admin/owner only, workspace secrets are injected only by names mentioned in the script',
1082
1082
  get_automation_runs: 'Show the run history of an automation.',
1083
1083
  // Webhooks update
1084
1084
  update_webhook: 'Update a webhook: URL, events, enabled (requires confirmation). Returns: { id, type:"webhook", message }.',
@@ -1259,6 +1259,7 @@ export const EN_DESCRIPTIONS = {
1259
1259
  list_branches: 'List repository branches. Returns: { items: [branchName, ...], total }.',
1260
1260
  create_branch: 'Create a new branch in a repository. Returns: { created: true, name, fromRef }.',
1261
1261
  delete_branch: 'Delete a repository branch. The default branch cannot be deleted. Returns: { deleted: true, name }.',
1262
+ ff_push: 'Fast-forward a branch to an existing commit with server-side compare-and-swap. The branch moves ONLY if its current tip equals expectedBase AND commit is a descendant (fast-forward). No merge, no history rewrite. Stale branch -> REF_STALE (409, details.currentBase carries the fresh sha); not a fast-forward -> NOT_FAST_FORWARD (409). Use instead of create_pr->merge_pr when a branch just needs to be advanced. Returns: { ok, slug, branch, old, new }.',
1262
1263
  list_tags: 'List repository tags, newest first. Returns: { items: [{ name, sha, date }] }.',
1263
1264
  create_tag: 'Create a lightweight tag on a branch or commit. Returns: { name, sha, message }.',
1264
1265
  delete_tag: 'Delete a repository tag. Irreversible. Returns: { deleted: true, message }.',
@@ -1977,7 +1978,7 @@ async function handleCloneWorkspace({ sourceSlug, name, slug, includeDocuments,
1977
1978
  }
1978
1979
 
1979
1980
  return {
1980
- content: [{ type: 'text', text: `Workspace "${sourceSlug}" cloned into "${ws.name}" (slug: ${ws.slug}). Automatically switched to it. ${activeTools.size} core tools loaded.${gaps.length ? ' ' + gaps.join(' ') : ''}` }],
1981
+ content: [{ type: 'text', text: `Workspace "${sourceSlug}" cloned into "${ws.name}" (id: ${ws.id}, slug: ${ws.slug}). Automatically switched to it. ${activeTools.size} core tools loaded.${gaps.length ? ' ' + gaps.join(' ') : ''}` }],
1981
1982
  };
1982
1983
  } catch (err) {
1983
1984
  return { content: [{ type: 'text', text: `Error cloning workspace: ${err.message}` }], isError: true };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "integram-mcp",
3
- "version": "0.7.172",
3
+ "version": "0.7.175",
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",