@intangle/mcp-server 2.1.8 → 2.2.0

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/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  /**
3
- * Endure MCP Server - Exposes Endure context functionality through MCP
3
+ * Intangle MCP Server - Exposes Intangle context functionality through MCP
4
4
  */
5
5
  import { readFileSync } from "fs";
6
6
  import { dirname, join } from "path";
@@ -137,7 +137,7 @@ try {
137
137
  if (!space_id) {
138
138
  throw new Error("space_id is required. Use list_spaces to see available options.");
139
139
  }
140
- return makeApiCall("search-context", {
140
+ return makeApiCall("search-memories", {
141
141
  space_id,
142
142
  space_ids: [space_id], // Convert to array for backend compatibility
143
143
  query,
@@ -3,7 +3,7 @@ export const TOOLS = [
3
3
  {
4
4
  name: "search",
5
5
  title: "Search Space",
6
- description: "Search for context, tasks, and processes within a space. System automatically extracts quantity from natural language ('show 3 tasks' → 3 results, 'the last one' → 1 result) and intelligently formats results (1-3 items → summaries, 4+ items → IDs only). Use fetch tool to get full content for specific IDs when needed.",
6
+ description: "Search for context, tasks, processes, and projects within a space. System automatically extracts quantity from natural language ('show 3 tasks' → 3 results, 'the last one' → 1 result) and intelligently formats results (1-3 items → summaries, 4+ items → IDs only). Use fetch tool to get full content for specific IDs when needed.",
7
7
  inputSchema: {
8
8
  type: "object",
9
9
  properties: {
@@ -151,6 +151,10 @@ export const TOOLS = [
151
151
  type: "string",
152
152
  description: "REQUIRED: Space to operate in (use view_spaces to see available options)",
153
153
  },
154
+ project_id: {
155
+ type: "string",
156
+ description: "Optional: Project to add items to. All items created in this request will be linked to this project and appear on its canvas. Get project IDs from the start tool output.",
157
+ },
154
158
  add: {
155
159
  type: "object",
156
160
  description: "Add new items to context with automatic intelligent classification and topic suggestion",
@@ -165,10 +169,22 @@ export const TOOLS = [
165
169
  type: "string",
166
170
  description: "Item content - system automatically classifies as task (actionable), context (knowledge), or process (workflow/procedure) and suggests relevant topics",
167
171
  },
172
+ subtasks: {
173
+ type: "array",
174
+ items: {
175
+ type: "object",
176
+ properties: {
177
+ title: { type: "string", description: "Subtask title" },
178
+ content: { type: "string", description: "Subtask details" },
179
+ },
180
+ required: ["title"],
181
+ },
182
+ description: "Optional: Array of subtasks for task items. Each subtask becomes a linked child task.",
183
+ },
168
184
  },
169
185
  required: ["title", "content"],
170
186
  },
171
- description: "Array of items to add. System intelligently: (1) classifies as task, context, or process, (2) suggests 1-3 relevant topics based on content and existing topics. Examples: 'Need to fix auth bug' → task with topics like 'authentication', 'bug-fix'. 'Learned React batches updates' → context with topics like 'react', 'learning'.",
187
+ description: "Array of items to add. System intelligently: (1) classifies as task, context, or process, (2) suggests 1-3 relevant topics based on content and existing topics. Examples: 'Need to fix auth bug' → task with topics like 'authentication', 'bug-fix'. 'Learned React batches updates' → context with topics like 'react', 'learning'. Tasks can include subtasks array for hierarchical task management.",
172
188
  },
173
189
  },
174
190
  },
package/index.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  /**
4
- * Endure MCP Server - Exposes Endure context functionality through MCP
4
+ * Intangle MCP Server - Exposes Intangle context functionality through MCP
5
5
  */
6
6
 
7
7
  import { readFileSync } from "fs"
@@ -186,7 +186,7 @@ try {
186
186
  )
187
187
  }
188
188
 
189
- return makeApiCall("search-context", {
189
+ return makeApiCall("search-memories", {
190
190
  space_id,
191
191
  space_ids: [space_id], // Convert to array for backend compatibility
192
192
  query,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intangle/mcp-server",
3
- "version": "2.1.8",
3
+ "version": "2.2.0",
4
4
  "description": "Model Context Protocol server for Intangle - AI context that persists across conversations",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -4,7 +4,7 @@ export const TOOLS = [
4
4
  name: "search",
5
5
  title: "Search Space",
6
6
  description:
7
- "Search for context, tasks, and processes within a space. System automatically extracts quantity from natural language ('show 3 tasks' → 3 results, 'the last one' → 1 result) and intelligently formats results (1-3 items → summaries, 4+ items → IDs only). Use fetch tool to get full content for specific IDs when needed.",
7
+ "Search for context, tasks, processes, and projects within a space. System automatically extracts quantity from natural language ('show 3 tasks' → 3 results, 'the last one' → 1 result) and intelligently formats results (1-3 items → summaries, 4+ items → IDs only). Use fetch tool to get full content for specific IDs when needed.",
8
8
  inputSchema: {
9
9
  type: "object",
10
10
  properties: {
@@ -168,6 +168,11 @@ export const TOOLS = [
168
168
  description:
169
169
  "REQUIRED: Space to operate in (use view_spaces to see available options)",
170
170
  },
171
+ project_id: {
172
+ type: "string",
173
+ description:
174
+ "Optional: Project to add items to. All items created in this request will be linked to this project and appear on its canvas. Get project IDs from the start tool output.",
175
+ },
171
176
  add: {
172
177
  type: "object",
173
178
  description: "Add new items to context with automatic intelligent classification and topic suggestion",
@@ -182,10 +187,22 @@ export const TOOLS = [
182
187
  type: "string",
183
188
  description: "Item content - system automatically classifies as task (actionable), context (knowledge), or process (workflow/procedure) and suggests relevant topics",
184
189
  },
190
+ subtasks: {
191
+ type: "array",
192
+ items: {
193
+ type: "object",
194
+ properties: {
195
+ title: { type: "string", description: "Subtask title" },
196
+ content: { type: "string", description: "Subtask details" },
197
+ },
198
+ required: ["title"],
199
+ },
200
+ description: "Optional: Array of subtasks for task items. Each subtask becomes a linked child task.",
201
+ },
185
202
  },
186
203
  required: ["title", "content"],
187
204
  },
188
- description: "Array of items to add. System intelligently: (1) classifies as task, context, or process, (2) suggests 1-3 relevant topics based on content and existing topics. Examples: 'Need to fix auth bug' → task with topics like 'authentication', 'bug-fix'. 'Learned React batches updates' → context with topics like 'react', 'learning'.",
205
+ description: "Array of items to add. System intelligently: (1) classifies as task, context, or process, (2) suggests 1-3 relevant topics based on content and existing topics. Examples: 'Need to fix auth bug' → task with topics like 'authentication', 'bug-fix'. 'Learned React batches updates' → context with topics like 'react', 'learning'. Tasks can include subtasks array for hierarchical task management.",
189
206
  },
190
207
  },
191
208
  },