@flowrelay/mcp-server 0.2.0 → 0.3.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/api.d.ts +2 -0
- package/dist/index.js +5 -1
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export declare class FlowRelayAPI {
|
|
|
13
13
|
summary: string;
|
|
14
14
|
status: string;
|
|
15
15
|
sources: string[];
|
|
16
|
+
key_changes?: string[];
|
|
16
17
|
decisions: string[];
|
|
17
18
|
open_questions: string[];
|
|
18
19
|
next_steps: string[];
|
|
@@ -29,6 +30,7 @@ export declare class FlowRelayAPI {
|
|
|
29
30
|
title: string;
|
|
30
31
|
summary: string;
|
|
31
32
|
sources: string[];
|
|
33
|
+
key_changes?: string[];
|
|
32
34
|
decisions: string[];
|
|
33
35
|
open_questions: string[];
|
|
34
36
|
next_steps: string[];
|
package/dist/index.js
CHANGED
|
@@ -12,7 +12,7 @@ if (!apiKey) {
|
|
|
12
12
|
const api = new FlowRelayAPI(apiKey, process.env.FLOWRELAY_BASE_URL);
|
|
13
13
|
const server = new McpServer({
|
|
14
14
|
name: 'flowrelay',
|
|
15
|
-
version: '0.
|
|
15
|
+
version: '0.3.0',
|
|
16
16
|
});
|
|
17
17
|
// ── Tool: list handoffs ──────────────────────────────────────────────
|
|
18
18
|
server.tool('list_handoffs', 'List your Flow Relay handoffs. Returns recent handoffs with summaries, decisions, and next steps.', {
|
|
@@ -28,6 +28,8 @@ server.tool('list_handoffs', 'List your Flow Relay handoffs. Returns recent hand
|
|
|
28
28
|
out += `**Status:** ${h.status} · **Sources:** ${h.sources.join(', ') || 'all'}\n`;
|
|
29
29
|
out += `**Created:** ${new Date(h.created_at).toLocaleString()}\n\n`;
|
|
30
30
|
out += `${h.summary}\n`;
|
|
31
|
+
if (h.key_changes?.length)
|
|
32
|
+
out += `\n**Key changes:**\n${h.key_changes.map((c) => `- ${c}`).join('\n')}\n`;
|
|
31
33
|
if (h.decisions.length)
|
|
32
34
|
out += `\n**Decisions:**\n${h.decisions.map((d) => `- ${d}`).join('\n')}\n`;
|
|
33
35
|
if (h.next_steps.length)
|
|
@@ -52,6 +54,8 @@ server.tool('generate_handoff', 'Generate a new context handoff from your connec
|
|
|
52
54
|
const { handoff } = await api.generateHandoff(sources, filters);
|
|
53
55
|
let text = `# ${handoff.title}\n\n${handoff.summary}\n`;
|
|
54
56
|
text += `\n**Sources:** ${handoff.sources.join(', ')}\n`;
|
|
57
|
+
if (handoff.key_changes?.length)
|
|
58
|
+
text += `\n**Key changes:**\n${handoff.key_changes.map((c) => `- ${c}`).join('\n')}\n`;
|
|
55
59
|
if (handoff.decisions.length)
|
|
56
60
|
text += `\n**Decisions:**\n${handoff.decisions.map((d) => `- ${d}`).join('\n')}\n`;
|
|
57
61
|
if (handoff.next_steps.length)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowrelay/mcp-server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "Flow Relay MCP Server for Claude Desktop and Claude Code — handoffs, integrations, and context events via natural conversation.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|