@intangle/mcp-server 2.3.1 → 2.3.2

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
@@ -183,8 +183,8 @@ try {
183
183
  if (!args.space_id) {
184
184
  throw new Error("space_id is required. Use view_spaces to see available options.");
185
185
  }
186
- if (!args.add && !args.update && !args.delete) {
187
- throw new Error("At least one operation (add, update, delete) must be provided");
186
+ if (!args.add && !args.update && !args.delete && !args.link && !args.unlink) {
187
+ throw new Error("At least one operation must be provided");
188
188
  }
189
189
  // Pass through to API with new structure
190
190
  return makeApiCall("update-memory", {
@@ -192,6 +192,8 @@ try {
192
192
  add: args.add,
193
193
  update: args.update,
194
194
  delete: args.delete,
195
+ link: args.link,
196
+ unlink: args.unlink,
195
197
  });
196
198
  }
197
199
  server.setRequestHandler(CallToolRequestSchema, async (request) => {
@@ -255,4 +255,23 @@ export const TOOLS = [
255
255
  required: ["space_id"],
256
256
  },
257
257
  },
258
+ {
259
+ name: "memory_action",
260
+ title: "Memory Action (OHM Protocol)",
261
+ description: "Perform memory operations using natural language. Add, update, delete items, fetch details, view topics. The system parses your intent into structured actions. Do NOT use for search - context comes from background activation.",
262
+ inputSchema: {
263
+ type: "object",
264
+ properties: {
265
+ space_id: {
266
+ type: "string",
267
+ description: "The space to operate in",
268
+ },
269
+ intent: {
270
+ type: "string",
271
+ description: "Natural language description of the memory operation (e.g., 'add a task to fix the login bug', 'mark task_123 as completed', 'delete mem_456')",
272
+ },
273
+ },
274
+ required: ["space_id", "intent"],
275
+ },
276
+ },
258
277
  ];
package/index.ts CHANGED
@@ -253,9 +253,9 @@ try {
253
253
  )
254
254
  }
255
255
 
256
- if (!args.add && !args.update && !args.delete) {
256
+ if (!args.add && !args.update && !args.delete && !args.link && !args.unlink) {
257
257
  throw new Error(
258
- "At least one operation (add, update, delete) must be provided"
258
+ "At least one operation must be provided"
259
259
  )
260
260
  }
261
261
 
@@ -265,6 +265,8 @@ try {
265
265
  add: args.add,
266
266
  update: args.update,
267
267
  delete: args.delete,
268
+ link: args.link,
269
+ unlink: args.unlink,
268
270
  })
269
271
  }
270
272
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intangle/mcp-server",
3
- "version": "2.3.1",
3
+ "version": "2.3.2",
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",
@@ -276,4 +276,25 @@ export const TOOLS = [
276
276
  required: ["space_id"],
277
277
  },
278
278
  },
279
+ {
280
+ name: "memory_action",
281
+ title: "Memory Action (OHM Protocol)",
282
+ description:
283
+ "Perform memory operations using natural language. Add, update, delete items, fetch details, view topics. The system parses your intent into structured actions. Do NOT use for search - context comes from background activation.",
284
+ inputSchema: {
285
+ type: "object",
286
+ properties: {
287
+ space_id: {
288
+ type: "string",
289
+ description: "The space to operate in",
290
+ },
291
+ intent: {
292
+ type: "string",
293
+ description:
294
+ "Natural language description of the memory operation (e.g., 'add a task to fix the login bug', 'mark task_123 as completed', 'delete mem_456')",
295
+ },
296
+ },
297
+ required: ["space_id", "intent"],
298
+ },
299
+ },
279
300
  ];