@intangle/mcp-server 1.2.4 → 1.2.6
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 +3 -3
- package/dist/tool-definitions.js +3 -14
- package/index.ts +2 -6
- package/package.json +1 -1
- package/tool-definitions.ts +5 -16
package/dist/index.js
CHANGED
|
@@ -73,6 +73,8 @@ async function makeApiCall(endpoint, data) {
|
|
|
73
73
|
const server = new Server({
|
|
74
74
|
name: "intangle-memory",
|
|
75
75
|
version: "1.0.0",
|
|
76
|
+
vendor: "Intangle",
|
|
77
|
+
icon: "https://intangle.tools/icon.png",
|
|
76
78
|
}, {
|
|
77
79
|
capabilities: {
|
|
78
80
|
tools: {},
|
|
@@ -82,7 +84,7 @@ server.setRequestHandler(ListToolsRequestSchema, async () => ({
|
|
|
82
84
|
tools: TOOLS,
|
|
83
85
|
}));
|
|
84
86
|
async function handleSearchMemories(args) {
|
|
85
|
-
const { space_id, query, topics,
|
|
87
|
+
const { space_id, query, topics, return_format = "full", } = args;
|
|
86
88
|
// Require space_id
|
|
87
89
|
if (!space_id) {
|
|
88
90
|
throw new Error("space_id is required. Use list_spaces to see available options.");
|
|
@@ -92,8 +94,6 @@ async function handleSearchMemories(args) {
|
|
|
92
94
|
space_ids: [space_id], // Convert to array for backend compatibility
|
|
93
95
|
query,
|
|
94
96
|
topics,
|
|
95
|
-
max_results,
|
|
96
|
-
depth,
|
|
97
97
|
return_format,
|
|
98
98
|
});
|
|
99
99
|
}
|
package/dist/tool-definitions.js
CHANGED
|
@@ -3,13 +3,13 @@ export const TOOLS = [
|
|
|
3
3
|
{
|
|
4
4
|
name: "search",
|
|
5
5
|
title: "Search Space",
|
|
6
|
-
description: "Search for information within a space.
|
|
6
|
+
description: "Search for information within a space. System automatically extracts quantity from natural language ('show 3 tasks' → 3 results, 'the last one' → 1 result) and determines optimal depth from query complexity ('quick search' → quick mode, 'search deep' → deep mode). Always returns IDs - use fetch tool for full content.",
|
|
7
7
|
inputSchema: {
|
|
8
8
|
type: "object",
|
|
9
9
|
properties: {
|
|
10
10
|
query: {
|
|
11
11
|
type: "string",
|
|
12
|
-
description: "Search query for
|
|
12
|
+
description: "Search query with optional natural language hints for quantity ('show 5 tasks', 'the most recent', 'top 5') and depth ('quick search', 'fast search', 'search deep', 'thorough search'). Examples: 'show me 3 pending tasks', 'quick search for recent bugs', 'search deep for authentication issues'",
|
|
13
13
|
},
|
|
14
14
|
space_id: {
|
|
15
15
|
type: "string",
|
|
@@ -20,17 +20,6 @@ export const TOOLS = [
|
|
|
20
20
|
items: { type: "string" },
|
|
21
21
|
description: "Optional: Filter by specific topics",
|
|
22
22
|
},
|
|
23
|
-
max_results: {
|
|
24
|
-
type: "number",
|
|
25
|
-
description: "Maximum number of results to return",
|
|
26
|
-
default: 10,
|
|
27
|
-
},
|
|
28
|
-
depth: {
|
|
29
|
-
type: "string",
|
|
30
|
-
enum: ["quick", "balanced", "deep"],
|
|
31
|
-
description: "Search depth: 'quick' = fastest, 'balanced' = thorough (default), 'deep' = most comprehensive",
|
|
32
|
-
default: "balanced",
|
|
33
|
-
},
|
|
34
23
|
},
|
|
35
24
|
required: ["query", "space_id"],
|
|
36
25
|
},
|
|
@@ -96,7 +85,7 @@ export const TOOLS = [
|
|
|
96
85
|
config_badges: {
|
|
97
86
|
type: "array",
|
|
98
87
|
items: { type: "string" },
|
|
99
|
-
description: "Array of keywords for
|
|
88
|
+
description: "Array of keywords for start tool keywords in this NEW space. These keywords help steer what context gets loaded when running 'start' for this space. Examples: ['fitness', 'recipes', 'travel planning'], ['client work', 'meetings', 'proposals'], ['TypeScript', 'React', 'API design']. They act as search terms to prioritize relevant memories.",
|
|
100
89
|
},
|
|
101
90
|
startup_preferences: {
|
|
102
91
|
type: "string",
|
package/index.ts
CHANGED
|
@@ -100,6 +100,8 @@ const server = new Server(
|
|
|
100
100
|
{
|
|
101
101
|
name: "intangle-memory",
|
|
102
102
|
version: "1.0.0",
|
|
103
|
+
vendor: "Intangle",
|
|
104
|
+
icon: "https://intangle.tools/icon.png",
|
|
103
105
|
},
|
|
104
106
|
{
|
|
105
107
|
capabilities: {
|
|
@@ -117,15 +119,11 @@ async function handleSearchMemories(args: any) {
|
|
|
117
119
|
space_id,
|
|
118
120
|
query,
|
|
119
121
|
topics,
|
|
120
|
-
max_results = 10,
|
|
121
|
-
depth = "balanced",
|
|
122
122
|
return_format = "full",
|
|
123
123
|
} = args as {
|
|
124
124
|
space_id: string;
|
|
125
125
|
query: string;
|
|
126
126
|
topics?: string[];
|
|
127
|
-
max_results?: number;
|
|
128
|
-
depth?: "quick" | "balanced" | "deep";
|
|
129
127
|
return_format?: "full" | "summary" | "ids_only";
|
|
130
128
|
};
|
|
131
129
|
|
|
@@ -141,8 +139,6 @@ async function handleSearchMemories(args: any) {
|
|
|
141
139
|
space_ids: [space_id], // Convert to array for backend compatibility
|
|
142
140
|
query,
|
|
143
141
|
topics,
|
|
144
|
-
max_results,
|
|
145
|
-
depth,
|
|
146
142
|
return_format,
|
|
147
143
|
});
|
|
148
144
|
}
|
package/package.json
CHANGED
package/tool-definitions.ts
CHANGED
|
@@ -4,13 +4,13 @@ export const TOOLS = [
|
|
|
4
4
|
name: "search",
|
|
5
5
|
title: "Search Space",
|
|
6
6
|
description:
|
|
7
|
-
"Search for information within a space.
|
|
7
|
+
"Search for information within a space. System automatically extracts quantity from natural language ('show 3 tasks' → 3 results, 'the last one' → 1 result) and determines optimal depth from query complexity ('quick search' → quick mode, 'search deep' → deep mode). Always returns IDs - use fetch tool for full content.",
|
|
8
8
|
inputSchema: {
|
|
9
9
|
type: "object",
|
|
10
10
|
properties: {
|
|
11
11
|
query: {
|
|
12
12
|
type: "string",
|
|
13
|
-
description: "Search query for
|
|
13
|
+
description: "Search query with optional natural language hints for quantity ('show 5 tasks', 'the most recent', 'top 5') and depth ('quick search', 'fast search', 'search deep', 'thorough search'). Examples: 'show me 3 pending tasks', 'quick search for recent bugs', 'search deep for authentication issues'",
|
|
14
14
|
},
|
|
15
15
|
space_id: {
|
|
16
16
|
type: "string",
|
|
@@ -22,18 +22,6 @@ export const TOOLS = [
|
|
|
22
22
|
items: { type: "string" },
|
|
23
23
|
description: "Optional: Filter by specific topics",
|
|
24
24
|
},
|
|
25
|
-
max_results: {
|
|
26
|
-
type: "number",
|
|
27
|
-
description: "Maximum number of results to return",
|
|
28
|
-
default: 10,
|
|
29
|
-
},
|
|
30
|
-
depth: {
|
|
31
|
-
type: "string",
|
|
32
|
-
enum: ["quick", "balanced", "deep"],
|
|
33
|
-
description:
|
|
34
|
-
"Search depth: 'quick' = fastest, 'balanced' = thorough (default), 'deep' = most comprehensive",
|
|
35
|
-
default: "balanced",
|
|
36
|
-
},
|
|
37
25
|
},
|
|
38
26
|
required: ["query", "space_id"],
|
|
39
27
|
},
|
|
@@ -79,7 +67,8 @@ export const TOOLS = [
|
|
|
79
67
|
{
|
|
80
68
|
name: "view_spaces",
|
|
81
69
|
title: "View Spaces",
|
|
82
|
-
description:
|
|
70
|
+
description:
|
|
71
|
+
"View all available spaces with their descriptions and metrics.",
|
|
83
72
|
inputSchema: {
|
|
84
73
|
type: "object",
|
|
85
74
|
properties: {},
|
|
@@ -106,7 +95,7 @@ export const TOOLS = [
|
|
|
106
95
|
type: "array",
|
|
107
96
|
items: { type: "string" },
|
|
108
97
|
description:
|
|
109
|
-
"Array of keywords for
|
|
98
|
+
"Array of keywords for start tool keywords in this NEW space. These keywords help steer what context gets loaded when running 'start' for this space. Examples: ['fitness', 'recipes', 'travel planning'], ['client work', 'meetings', 'proposals'], ['TypeScript', 'React', 'API design']. They act as search terms to prioritize relevant memories.",
|
|
110
99
|
},
|
|
111
100
|
startup_preferences: {
|
|
112
101
|
type: "string",
|