integram-mcp 0.7.0 → 0.7.1
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.
- package/index.js +55 -52
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -147,33 +147,33 @@ Server: ${BASE_URL}
|
|
|
147
147
|
3. Workspace management: clone_workspace to duplicate an existing workspace; delete_workspace to permanently remove one.
|
|
148
148
|
|
|
149
149
|
## Tool discovery
|
|
150
|
-
Only core tools (
|
|
151
|
-
- "schema" — create/modify tables and columns, AI/HTTP/script buttons, computed columns (LOOKUP/ROLLUP/FORMULA), validation rules, AI formula generation
|
|
152
|
-
- "reports" — create, run, export reports with aggregation, joins and filters
|
|
153
|
-
- "docs" — documents, blocks, folders, tags, sharing, versions, templates, PDF generation
|
|
154
|
-
- "workspace" — files, import/export, connectors, members, backups, dashboards, view/record sharing, audit log, normalizer, automations, webhooks, forms
|
|
155
|
-
- "portal" — portal config, catalog, carts, orders, tickets, KB articles, metrics, customer profiles, Telegram bots, @kit component catalog
|
|
150
|
+
Only core tools (CRUD, search, graph, comments, bulk, history) are loaded by default. Use search_tools to activate more — it reports how many tools it activated and names them:
|
|
151
|
+
- "schema" — create/modify tables and columns, AI/HTTP/script buttons, computed columns (LOOKUP/ROLLUP/FORMULA), validation rules, AI formula generation
|
|
152
|
+
- "reports" — create, run, export reports with aggregation, joins and filters
|
|
153
|
+
- "docs" — documents, blocks, folders, tags, sharing, versions, templates, PDF generation
|
|
154
|
+
- "workspace" — files, import/export, connectors, members, backups, dashboards, view/record sharing, audit log, normalizer, automations, webhooks, forms
|
|
155
|
+
- "portal" — portal config, catalog, carts, orders, tickets, KB articles, metrics, customer profiles, Telegram bots, @kit component catalog
|
|
156
156
|
- "telegram" — Telegram bot management, messaging, moderation, payments, stories, business API (subset of portal group)
|
|
157
|
-
- "grants" — roles, grants, row-level rules, member access (admin only)
|
|
158
|
-
- "codespace" — git repositories: branches, commits, files, pull requests, conflict-safe writes
|
|
159
|
-
- "teamchat" — rooms, topics, messages, decisions, agent metrics, W-matrix (ONA)
|
|
160
|
-
- "graph" — get_related, graph_query, neighborhood, shortest path, health, memory agents
|
|
161
|
-
- "meta-kb" — debate-based knowledge curation: start debates, parallel experts, LLM synthesis
|
|
162
|
-
- "kag" — knowledge-augmented generation: search, traverse, ask, import, browse, stats, clusters, anomalies
|
|
163
|
-
- "memory" — agent long-term memory, recall, procedures, contradictions
|
|
164
|
-
- "timeseries" — record, query, and list time-series data sources
|
|
165
|
-
- "advisor" — platform expert: docs map/search/read, tool cards, advice on schema design and best practices
|
|
166
|
-
- "ai" — text-to-speech synthesis (TTS): speak text, list voices
|
|
167
|
-
- "agents" — list and delegate to external AI agents
|
|
168
|
-
- "pm" — project management: issues CRUD + bulk ops, checklists, sprints, board, backlog, comments CRUD, issue links, data-links (issue ↔ table/document/report), watchers, templates, trash/restore, members, CSV export, metrics (velocity, burndown, cycle time, workload), AI helpers (triage, decompose, estimate, plan sprint, detect blockers), org aggregation (portfolio, people, cross-project issues)
|
|
169
|
-
- "nightcall" — specification-driven execution: CNM requirements graph, formalization proposals (Extraction IR → governance decisions), artifact specifications, EffectiveSpecification resolver, execution compiler, directed-retry pipeline run, evidence verification, compliance/release decisions, waivers
|
|
170
|
-
- "orgs" — organizations: create, list, manage multi-workspace orgs and members
|
|
171
|
-
- "bulk" — bulk_create, bulk_update, bulk_delete, autofill_batch
|
|
172
|
-
- "comments" — comments, reactions on records
|
|
173
|
-
- "history" — object change history, rollback
|
|
174
|
-
- "objects" — move, reorder, duplicate records
|
|
175
|
-
- "lookups" — get lookup options, ref options
|
|
176
|
-
- "automations" — get automation details, webhook delivery log
|
|
157
|
+
- "grants" — roles, grants, row-level rules, member access (admin only)
|
|
158
|
+
- "codespace" — git repositories: branches, commits, files, pull requests, conflict-safe writes
|
|
159
|
+
- "teamchat" — rooms, topics, messages, decisions, agent metrics, W-matrix (ONA)
|
|
160
|
+
- "graph" — get_related, graph_query, neighborhood, shortest path, health, memory agents
|
|
161
|
+
- "meta-kb" — debate-based knowledge curation: start debates, parallel experts, LLM synthesis
|
|
162
|
+
- "kag" — knowledge-augmented generation: search, traverse, ask, import, browse, stats, clusters, anomalies
|
|
163
|
+
- "memory" — agent long-term memory, recall, procedures, contradictions
|
|
164
|
+
- "timeseries" — record, query, and list time-series data sources
|
|
165
|
+
- "advisor" — platform expert: docs map/search/read, tool cards, advice on schema design and best practices
|
|
166
|
+
- "ai" — text-to-speech synthesis (TTS): speak text, list voices, check TTS service status
|
|
167
|
+
- "agents" — list and delegate to external AI agents
|
|
168
|
+
- "pm" — project management: issues CRUD + bulk ops, checklists, sprints, board, backlog, comments CRUD, issue links, data-links (issue ↔ table/document/report), watchers, templates, trash/restore, members, CSV export, metrics (velocity, burndown, cycle time, workload), AI helpers (triage, decompose, estimate, plan sprint, detect blockers), org aggregation (portfolio, people, cross-project issues)
|
|
169
|
+
- "nightcall" — specification-driven execution: CNM requirements graph, formalization proposals (Extraction IR → governance decisions), artifact specifications, EffectiveSpecification resolver, execution compiler, directed-retry pipeline run, evidence verification, compliance/release decisions, waivers
|
|
170
|
+
- "orgs" — organizations: create, list, manage multi-workspace orgs and members
|
|
171
|
+
- "bulk" — bulk_create, bulk_update, bulk_delete, autofill_batch
|
|
172
|
+
- "comments" — comments, reactions on records
|
|
173
|
+
- "history" — object change history, rollback
|
|
174
|
+
- "objects" — move, reorder, duplicate records
|
|
175
|
+
- "lookups" — get lookup options, ref options
|
|
176
|
+
- "automations" — get automation details, webhook delivery log
|
|
177
177
|
|
|
178
178
|
---
|
|
179
179
|
|
|
@@ -593,7 +593,8 @@ Block-based documents (like Notion). Activate via search_tools("documents").
|
|
|
593
593
|
|
|
594
594
|
Event-driven rules: when X happens → check condition → do Y. Activate via search_tools("automations").
|
|
595
595
|
|
|
596
|
-
create_automation({ name, trigger: { type, typeId }, condition, actions: [{ type, config }] })
|
|
596
|
+
create_automation({ name, trigger: { type, typeId }, active?, condition, actions: [{ type, config }] })
|
|
597
|
+
- active: false — создать выключенной (по умолчанию включена; выключенная не встаёт в расписание и не срабатывает)
|
|
597
598
|
- 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_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
|
|
598
599
|
- 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, 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
|
|
599
600
|
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)
|
|
@@ -704,7 +705,7 @@ Activate via search_tools("history").
|
|
|
704
705
|
|
|
705
706
|
## Audit log (admin)
|
|
706
707
|
|
|
707
|
-
query_audit(type
|
|
708
|
+
query_audit(type?, actor?, dateFrom?, dateTo?, action?, objectId?, typeId?, reportId?, limit?, offset?) — unified audit log across objects, schema, and reports. type: all|objects|schema|reports (default all). actor filters by username; dateFrom/dateTo are ISO timestamps. objectId narrows type=objects, typeId narrows type=schema, reportId narrows type=reports.
|
|
708
709
|
|
|
709
710
|
## Notifications
|
|
710
711
|
|
|
@@ -721,7 +722,7 @@ Read-only workspace metadata available without search_tools activation.
|
|
|
721
722
|
## Trash
|
|
722
723
|
|
|
723
724
|
- list_trash(typeId) — see deleted records for a specific table
|
|
724
|
-
- restore_from_trash(
|
|
725
|
+
- restore_from_trash(objectId) — restore a deleted record
|
|
725
726
|
|
|
726
727
|
## Memory (agent long-term memory)
|
|
727
728
|
|
|
@@ -935,9 +936,9 @@ Internal messaging with rooms, topics, and decisions. Activate via search_tools(
|
|
|
935
936
|
|
|
936
937
|
**Rooms:**
|
|
937
938
|
- list_rooms() — list chat rooms the user has access to
|
|
938
|
-
- create_room(name,
|
|
939
|
+
- create_room(name, isPublic?) — create a new room
|
|
939
940
|
- get_room(roomId) — room details
|
|
940
|
-
- update_room(roomId, name
|
|
941
|
+
- update_room(roomId, name?) — rename a room (name is the only editable field)
|
|
941
942
|
- delete_room(roomId) — delete room. **Requires confirmation.**
|
|
942
943
|
- join_room(roomId) — join a public room
|
|
943
944
|
|
|
@@ -947,33 +948,33 @@ Internal messaging with rooms, topics, and decisions. Activate via search_tools(
|
|
|
947
948
|
- remove_room_member(roomId, userId) — remove a member
|
|
948
949
|
|
|
949
950
|
**Topics:**
|
|
950
|
-
- list_topics(
|
|
951
|
+
- list_topics(search?, limit?) — list topics across ALL rooms the user is a member of; there is no per-room filter
|
|
951
952
|
- list_recent_topics(limit?) — recently active topics
|
|
952
|
-
- create_topic(roomId, title,
|
|
953
|
-
- update_topic(topicId,
|
|
953
|
+
- create_topic(roomId, title, first_message?) — create a topic in a room; first_message posts an opening message
|
|
954
|
+
- update_topic(topicId, name?, status?, pinned?, assigned_to?, priority?, deadline_at?) — update topic. The title is called \`name\` here, not \`title\` as in create_topic.
|
|
954
955
|
- delete_topic(topicId) — delete topic. **Requires confirmation.**
|
|
955
956
|
- summarize_topic(topicId) — AI-generated summary of topic discussion
|
|
956
957
|
- mark_topic_read(topicId) — mark topic as read
|
|
957
958
|
- export_topic_to_document(topicId) — export topic content to a document
|
|
958
959
|
|
|
959
960
|
**Messages:**
|
|
960
|
-
- list_messages(topicId, limit?,
|
|
961
|
+
- list_messages(topicId, limit?, cursor?) — list messages in a topic
|
|
961
962
|
- create_message(topicId, text) — post a message
|
|
962
963
|
- send_teamchat_message(topicId, text, cards?) — post a message with optional code_cell cards for executable code
|
|
963
964
|
- update_message(msgId, text) — edit a message
|
|
964
965
|
- delete_message(msgId) — delete a message. **Requires confirmation.**
|
|
965
966
|
- move_message(msgId, targetTopicId) — move a message to another topic
|
|
966
|
-
- search_teamchat(query,
|
|
967
|
+
- search_teamchat(query, room_id?, limit?, task_only?) — full-text search across messages; task_only narrows to task-flagged messages
|
|
967
968
|
|
|
968
969
|
**Decisions:**
|
|
969
970
|
- create_decision(title, description?, domain?) — create an architectural decision record
|
|
970
|
-
- get_decision(
|
|
971
|
-
- update_decision(
|
|
972
|
-
- delete_decision(
|
|
971
|
+
- get_decision(id) — get decision details
|
|
972
|
+
- update_decision(id, title?, description?, domain?, verdict?, impact?) — update a decision. There is no \`status\` field: the lifecycle field is \`verdict\` (proposed | accepted | rejected | superseded | draft). \`impact\`: critical | high | medium | low. When the caller is an agent account (username starting with \`agent:\`), changing \`verdict\` is not applied immediately — the call returns \`status: "approval_requested"\` and waits for a human.
|
|
973
|
+
- delete_decision(id) — delete a decision. **Requires confirmation.**
|
|
973
974
|
- search_similar_decisions(query, domain?, limit?) — semantic search for similar decisions
|
|
974
975
|
- analyze_decision_conflicts(decisionId) — find conflicts with other decisions
|
|
975
|
-
- list_decision_links(
|
|
976
|
-
- create_decision_link(
|
|
976
|
+
- list_decision_links(id) — list links to/from a decision
|
|
977
|
+
- create_decision_link(id, targetId, type) — link two decisions. \`id\` is the SOURCE decision (the "from" side), \`targetId\` is the destination — the link reads id → targetId. type: supersedes|depends_on|related_to|conflicts_with
|
|
977
978
|
- delete_decision_link(linkId) — remove a link
|
|
978
979
|
|
|
979
980
|
**Analytics:**
|
|
@@ -983,22 +984,24 @@ Internal messaging with rooms, topics, and decisions. Activate via search_tools(
|
|
|
983
984
|
## Organizations
|
|
984
985
|
|
|
985
986
|
Multi-workspace organizations. Activate via search_tools("orgs").
|
|
987
|
+
Organizations are addressed by \`slug\`, never by a numeric id.
|
|
986
988
|
|
|
987
989
|
- list_orgs() — list organizations the user belongs to
|
|
988
|
-
- get_org(
|
|
990
|
+
- get_org(slug) — organization details
|
|
989
991
|
- create_org(name, slug) — create a new organization. **Requires confirmation.**
|
|
990
|
-
- update_org(
|
|
991
|
-
- delete_org(
|
|
992
|
-
- list_org_members(
|
|
993
|
-
- add_org_member(
|
|
994
|
-
- remove_org_member(
|
|
992
|
+
- update_org(slug, name?) — update organization. **Requires confirmation.**
|
|
993
|
+
- delete_org(slug) — delete organization. **Requires confirmation.**
|
|
994
|
+
- list_org_members(slug) — list members of an organization
|
|
995
|
+
- add_org_member(slug, email, role?) — add member by e-mail. **Requires confirmation.**
|
|
996
|
+
- remove_org_member(slug, memberId) — remove member by membership id (from list_org_members). **Requires confirmation.**
|
|
995
997
|
|
|
996
998
|
## Timeseries
|
|
997
999
|
|
|
998
1000
|
Time-series data ingestion and aggregated queries. Activate via search_tools("timeseries").
|
|
999
1001
|
|
|
1000
|
-
- record_timeseries(
|
|
1001
|
-
-
|
|
1002
|
+
- record_timeseries(source_id, metric, value?, text_val?, ts?) — record one data point. \`value\` is numeric, \`text_val\` is its textual alternative — one of the two is required. \`ts\` is an ISO timestamp (defaults to now). There is no \`tags\` field.
|
|
1003
|
+
- record_timeseries(points) — batch form: points is an array of { source_id, metric, value?, text_val?, ts? }. Every point needs its own source_id and metric.
|
|
1004
|
+
- query_timeseries(source_id, metric, from?, to?, bucket?, agg?, limit?) — query aggregated data. source_id and metric are REQUIRED. from/to are ISO timestamps. agg: avg|sum|min|max|count (default avg). bucket: 1m|5m|15m|30m|1h|6h|1d|7d|30d (default 1h) — any other value is rejected.
|
|
1002
1005
|
- list_timeseries_sources() — list available data sources and their metrics
|
|
1003
1006
|
|
|
1004
1007
|
## KAG (Knowledge-Augmented Generation)
|
|
@@ -1068,7 +1071,7 @@ Destructive and schema operations return "REQUIRES CONFIRMATION". Ask the user t
|
|
|
1068
1071
|
`;
|
|
1069
1072
|
|
|
1070
1073
|
const server = new Server(
|
|
1071
|
-
{ name: 'integram', version: '0.
|
|
1074
|
+
{ name: 'integram', version: '0.7.1' },
|
|
1072
1075
|
{ capabilities: { tools: { listChanged: true }, elicitation: {} }, instructions: INSTRUCTIONS },
|
|
1073
1076
|
);
|
|
1074
1077
|
|
|
@@ -1365,7 +1368,7 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
|
|
|
1365
1368
|
if (name === 'delete_workspace') return handleDeleteWorkspace(args?.slug || '');
|
|
1366
1369
|
if (name === 'clone_workspace') return handleCloneWorkspace(args || {});
|
|
1367
1370
|
if (name === 'search_tools') return handleSearchTools(args?.query || '');
|
|
1368
|
-
if (name === 'confirm_action') return handleConfirmAction(args?.approved
|
|
1371
|
+
if (name === 'confirm_action') return handleConfirmAction(args?.approved === true);
|
|
1369
1372
|
|
|
1370
1373
|
// Check workspace is set
|
|
1371
1374
|
if (!workspace) {
|
|
@@ -1473,7 +1476,7 @@ async function handleConfirmAction(approved) {
|
|
|
1473
1476
|
let msg;
|
|
1474
1477
|
if (pending.onApprove) {
|
|
1475
1478
|
// Local HITL (e.g. delete_workspace) — execute callback directly
|
|
1476
|
-
if (approved) {
|
|
1479
|
+
if (approved === true) {
|
|
1477
1480
|
msg = await pending.onApprove();
|
|
1478
1481
|
} else {
|
|
1479
1482
|
if (pending.onReject) pending.onReject();
|
package/package.json
CHANGED