integram-mcp 0.7.145 → 0.7.146

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 -2
  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 — даёт доступ к 776 инструментам (таблицы, документы, отчёты, автоматизации, портал, Telegram-боты, граф знаний и т.д.) из Claude Code, Claude Desktop и Cursor.
5
+ MCP-сервер для Integram — даёт доступ к 778 инструментам (таблицы, документы, отчёты, автоматизации, портал, 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.145
18
+ -- npx -y integram-mcp@0.7.146
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.145
52
+ -- npx -y integram-mcp@0.7.146
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.145"],
66
+ "args": ["-y", "integram-mcp@0.7.146"],
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.145"],
86
+ "args": ["-y", "integram-mcp@0.7.146"],
87
87
  "env": {
88
88
  "INTEGRAM_URL": "https://ai2o.online",
89
89
  "INTEGRAM_EMAIL": "you@example.com",
@@ -187,8 +187,8 @@ claude mcp add integram -e INTEGRAM_URL=... -e INTEGRAM_EMAIL=... -e INTEGRAM_PA
187
187
  | **objects** | Перемещение, дублирование, переупорядочивание записей, корзина, обратные ссылки | 20 |
188
188
  | **agents** | Реестр внешних AI-агентов, делегирование | 16 |
189
189
  | **reports** | Отчёты: CRUD, колонки, JOIN, фильтры, экспорт | 16 |
190
+ | **grants** | Роли, гранты, row-level правила (только admin) | 15 |
190
191
  | **presentations** | Презентации: PPTX-движок воркспейса (список, чтение, создание из outline, сохранение слайдов, meta и статусы, версии и откат, шаринг, экспорт PPTX/PDF, импорт PPTX, превью биндингов, удаление) | 15 |
191
- | **grants** | Роли, гранты, row-level правила (только admin) | 13 |
192
192
  | **graph** | Граф данных: запросы, окрестности, кратчайший путь | 13 |
193
193
  | **kag** | Граф знаний: поиск, обход, вопрос-ответ, ввоз сущностей и связей | 13 |
194
194
  | **comments** | Комментарии и реакции к записям | 7 |
package/index.js CHANGED
@@ -441,7 +441,7 @@ Similar names are NOT interchangeable (set_grant vs set_portal_config): verify t
441
441
  The server appends workspace rules and top facts to the first tool response. Write workspace rules via add_rule without scope. scope=instance writes instance-wide rules: admin only, contents must be facts or pointers, never directives.
442
442
 
443
443
  ## Pointers
444
- Module guides → ask_advisor / docs_search / docs_read. Tool behavior → the tool's own description. Platform defects → report_platform_issue (see its description for the format).
444
+ Module guides → ask_advisor / docs_search / docs_read. Tool behavior → the tool's own description. Platform defects → report_platform_issue (see its description for the format). Embedder method corpus (registered per installation) → docs_search finds it automatically — [instance doc] labels.
445
445
  `;
446
446
 
447
447
  const server = new Server(
@@ -546,7 +546,7 @@ const READ_ONLY_TOOLS = new Set([
546
546
  'list_tables', 'list_objects', 'list_views', 'get_view', 'get_object', 'get_related', 'graph_query',
547
547
  'list_documents', 'get_object_history', 'list_comments', 'semantic_search',
548
548
  'get_table_schema', 'list_reports', 'get_report', 'describe_report',
549
- 'list_members', 'list_roles', 'get_user_permissions', 'list_grants',
549
+ 'list_members', 'list_roles', 'get_user_permissions', 'list_grants', 'list_domain_roles',
550
550
  'search_documents', 'get_document', 'get_document_blocks', 'workflow_get_state',
551
551
  'list_doc_versions', 'list_doc_sharing', 'list_doc_folders', 'list_doc_tags', 'preview_document',
552
552
  'get_block_history', 'get_doc_version',
@@ -960,6 +960,8 @@ export const EN_DESCRIPTIONS = {
960
960
  // Grants / permissions
961
961
  list_members: 'Show all workspace users with their roles and access level. Use for "show users", "who has access", "permissions", "member list" (admin only). Returns: { items:[{id,userId,email,name,username,role,roleId,roleName,lastSeenAt}], total }, where id is the membership ID (needed for remove_member and update_member_role — it is NOT userId), lastSeenAt — last visit, null if never visited.',
962
962
  list_roles: 'Show all roles and their access rights to object types (READ/WRITE/ADMIN). Use for "what roles exist", "role permissions", "what can an editor do" (admin only). Returns: { items:[{id,name}], total }.',
963
+ list_domain_roles: 'List domain (quartet) role assignments — the narrowing layer on top of the system role: effective access = min(system role, domain role), owner/admin unaffected. Returns: { items:[{id,username,email,role,roleId,roleName}] } (admin only).',
964
+ set_domain_role: 'Assign a domain (quartet) role to a user — a custom workspace role that can ONLY narrow their grants (it can never expand access). roleId=null clears the assignment. The role must be a custom role of THIS workspace (see list_roles) and the user must be a member. Requires confirmation (admin only). NOT a replacement for set_grant: regular role grants — set_grant.',
963
965
  get_user_permissions: 'Show all permissions of a specific user — which objects and at what level (READ/WRITE/ADMIN), whether they can export and delete (admin only).',
964
966
  get_permissions_report: 'Permissions matrix: users, roles, grants on object types (admin only).',
965
967
  set_grant: 'Grant or change access of a role or user to an object type (requires confirmation). level: NONE/READ/WRITE/ADMIN; NONE writes a DENY row (overrides the role grant for that targetTypeId) — to revoke a grant entirely use remove_grant. targetTypeId=0 means all types (admin only). NOT for portal settings: portal config — set_portal_config.',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "integram-mcp",
3
- "version": "0.7.145",
3
+ "version": "0.7.146",
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",