@intangle/mcp-server 2.0.0 → 2.1.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 +1 -1
- package/dist/tool-definitions.js +30 -0
- package/index.ts +1 -1
- package/package.json +1 -1
- package/tool-definitions.ts +33 -0
package/dist/index.js
CHANGED
|
@@ -26,7 +26,7 @@ if (!MCP_API_KEY) {
|
|
|
26
26
|
console.log("Intangle MCP Server starting - connecting to", API_BASE_URL);
|
|
27
27
|
// Version checking - automatically read from package.json
|
|
28
28
|
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
29
|
-
const packageJson = JSON.parse(readFileSync(join(__dirname, "
|
|
29
|
+
const packageJson = JSON.parse(readFileSync(join(__dirname, "package.json"), "utf-8"));
|
|
30
30
|
const CURRENT_VERSION = packageJson.version;
|
|
31
31
|
let latestVersion = null;
|
|
32
32
|
let versionCheckDone = false;
|
package/dist/tool-definitions.js
CHANGED
|
@@ -43,6 +43,21 @@ export const TOOLS = [
|
|
|
43
43
|
},
|
|
44
44
|
},
|
|
45
45
|
},
|
|
46
|
+
{
|
|
47
|
+
name: "view_topic",
|
|
48
|
+
title: "View Topic",
|
|
49
|
+
description: "View all memories and tasks tagged with a specific topic. Perfect for exploring a topic area or following up on topics from the start briefing.",
|
|
50
|
+
inputSchema: {
|
|
51
|
+
type: "object",
|
|
52
|
+
properties: {
|
|
53
|
+
topic_id: {
|
|
54
|
+
type: "string",
|
|
55
|
+
description: "Topic ID to view (e.g., 'architecture', 'bug-fix', 'feature-request'). Get topic IDs from view_topics.",
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
required: ["topic_id"],
|
|
59
|
+
},
|
|
60
|
+
},
|
|
46
61
|
{
|
|
47
62
|
name: "start",
|
|
48
63
|
title: "Start Space Session",
|
|
@@ -67,6 +82,21 @@ export const TOOLS = [
|
|
|
67
82
|
properties: {},
|
|
68
83
|
},
|
|
69
84
|
},
|
|
85
|
+
{
|
|
86
|
+
name: "view_topics",
|
|
87
|
+
title: "View Topics",
|
|
88
|
+
description: "View all available topics in a space with their IDs and titles. Use this to get the topic_id needed for view_topic.",
|
|
89
|
+
inputSchema: {
|
|
90
|
+
type: "object",
|
|
91
|
+
properties: {
|
|
92
|
+
space_id: {
|
|
93
|
+
type: "string",
|
|
94
|
+
description: "Space to get topics from",
|
|
95
|
+
},
|
|
96
|
+
},
|
|
97
|
+
required: ["space_id"],
|
|
98
|
+
},
|
|
99
|
+
},
|
|
70
100
|
{
|
|
71
101
|
name: "create_space",
|
|
72
102
|
title: "Create Space",
|
package/index.ts
CHANGED
|
@@ -42,7 +42,7 @@ console.log("Intangle MCP Server starting - connecting to", API_BASE_URL);
|
|
|
42
42
|
// Version checking - automatically read from package.json
|
|
43
43
|
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
44
44
|
const packageJson = JSON.parse(
|
|
45
|
-
readFileSync(join(__dirname, "
|
|
45
|
+
readFileSync(join(__dirname, "package.json"), "utf-8"),
|
|
46
46
|
);
|
|
47
47
|
const CURRENT_VERSION = packageJson.version;
|
|
48
48
|
let latestVersion: string | null = null;
|
package/package.json
CHANGED
package/tool-definitions.ts
CHANGED
|
@@ -48,6 +48,23 @@ export const TOOLS = [
|
|
|
48
48
|
},
|
|
49
49
|
},
|
|
50
50
|
},
|
|
51
|
+
{
|
|
52
|
+
name: "view_topic",
|
|
53
|
+
title: "View Topic",
|
|
54
|
+
description:
|
|
55
|
+
"View all memories and tasks tagged with a specific topic. Perfect for exploring a topic area or following up on topics from the start briefing.",
|
|
56
|
+
inputSchema: {
|
|
57
|
+
type: "object",
|
|
58
|
+
properties: {
|
|
59
|
+
topic_id: {
|
|
60
|
+
type: "string",
|
|
61
|
+
description:
|
|
62
|
+
"Topic ID to view (e.g., 'architecture', 'bug-fix', 'feature-request'). Get topic IDs from view_topics.",
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
required: ["topic_id"],
|
|
66
|
+
},
|
|
67
|
+
},
|
|
51
68
|
{
|
|
52
69
|
name: "start",
|
|
53
70
|
title: "Start Space Session",
|
|
@@ -74,6 +91,22 @@ export const TOOLS = [
|
|
|
74
91
|
properties: {},
|
|
75
92
|
},
|
|
76
93
|
},
|
|
94
|
+
{
|
|
95
|
+
name: "view_topics",
|
|
96
|
+
title: "View Topics",
|
|
97
|
+
description:
|
|
98
|
+
"View all available topics in a space with their IDs and titles. Use this to get the topic_id needed for view_topic.",
|
|
99
|
+
inputSchema: {
|
|
100
|
+
type: "object",
|
|
101
|
+
properties: {
|
|
102
|
+
space_id: {
|
|
103
|
+
type: "string",
|
|
104
|
+
description: "Space to get topics from",
|
|
105
|
+
},
|
|
106
|
+
},
|
|
107
|
+
required: ["space_id"],
|
|
108
|
+
},
|
|
109
|
+
},
|
|
77
110
|
{
|
|
78
111
|
name: "create_space",
|
|
79
112
|
title: "Create Space",
|