@flowrelay/mcp-server 1.0.11 → 1.0.13

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/README.md CHANGED
@@ -9,7 +9,7 @@ It connects to Flow Relay API v1 using an API key and supports:
9
9
  ## Package
10
10
 
11
11
  - Name: @flowrelay/mcp-server
12
- - Version: 1.0.10
12
+ - Version: 1.0.13
13
13
 
14
14
  ## What Is Included
15
15
 
@@ -32,7 +32,7 @@ The server currently exposes these tools:
32
32
  - list_events
33
33
  - list_untracked_resources (lists event-producing resources not scoped to any project – useful for discovering untracked activity)
34
34
  - discord_list_channels
35
- - discord_send_message (plain text, or a handoff/insight by id or `last_*` rendered to Markdown and attached as a `.md` file)
35
+ - discord_send_message (plain text, or a handoff/insight by id or `last_*` – `last_handoff`, `last_correlation`, `last_onboarding`, `last_architecture`, `last_release_notes` – rendered to Markdown and attached as a `.md` file)
36
36
 
37
37
  ## Environment Variables
38
38
 
package/dist/api.d.ts CHANGED
@@ -65,7 +65,7 @@ export interface InsightResult {
65
65
  id: string;
66
66
  project_id: string;
67
67
  requested_by: string;
68
- kind: 'onboarding_brief' | 'cross_source_correlation' | 'architecture_insight';
68
+ kind: 'onboarding_brief' | 'cross_source_correlation' | 'architecture_insight' | 'release_notes';
69
69
  title: string;
70
70
  summary: string;
71
71
  data: Record<string, unknown>;
@@ -214,7 +214,7 @@ export declare class FlowRelayAPI {
214
214
  content?: string;
215
215
  handoff_id?: string;
216
216
  insight_id?: string;
217
- artifact?: 'last_handoff' | 'last_correlation' | 'last_onboarding' | 'last_architecture';
217
+ artifact?: 'last_handoff' | 'last_correlation' | 'last_onboarding' | 'last_architecture' | 'last_release_notes';
218
218
  project_id?: string;
219
219
  }): Promise<{
220
220
  ok: boolean;
package/dist/index.js CHANGED
@@ -350,13 +350,13 @@ server.tool('discord_list_channels', 'List the text channels in the Discord serv
350
350
  }
351
351
  });
352
352
  // ── Tool: discord send message ──────────────────────────────────────
353
- server.tool('discord_send_message', 'Send to a Discord channel in your connected server. Provide exactly one of: content (inline text); handoff_id or insight_id (sends that artifact, rendered to Markdown, as a .md file attachment); or artifact (last_handoff / last_correlation / last_onboarding / last_architecture, with project_id) to send the latest active artifact of that kind.', {
353
+ server.tool('discord_send_message', 'Send to a Discord channel in your connected server. Provide exactly one of: content (inline text); handoff_id or insight_id (sends that artifact, rendered to Markdown, as a .md file attachment); or artifact (last_handoff / last_correlation / last_onboarding / last_architecture / last_release_notes, with project_id) to send the latest active artifact of that kind.', {
354
354
  channel_id: z.string().describe('Discord channel id from discord_list_channels.'),
355
355
  content: z.string().optional().describe('Inline message text. Mutually exclusive with handoff_id / insight_id / artifact'),
356
356
  handoff_id: z.string().optional().describe('Id of a handoff (from list_handoffs) to render and attach as a .md file'),
357
357
  insight_id: z.string().optional().describe('Id of an insight (from list_insights) to render and attach as a .md file'),
358
358
  artifact: z
359
- .enum(['last_handoff', 'last_correlation', 'last_onboarding', 'last_architecture'])
359
+ .enum(['last_handoff', 'last_correlation', 'last_onboarding', 'last_architecture', 'last_release_notes'])
360
360
  .optional()
361
361
  .describe('Send the latest active artifact of this kind. Requires project_id'),
362
362
  project_id: z.string().optional().describe('Project UUID. Required only when artifact is set'),
@@ -465,9 +465,10 @@ server.tool('generate_release_notes', 'Generate release notes or a PR descriptio
465
465
  source: SourceEnum.default('github').describe('Code source id (github, gitlab, bitbucket, azure_devops).'),
466
466
  repo: z.string().optional().describe('Repository name to scope changes to.'),
467
467
  style: z.enum(['release_notes', 'pr_description']).default('release_notes').describe('Output style.'),
468
- }, async ({ project_id, source, repo, style }) => {
468
+ filters: FiltersSchema,
469
+ }, async ({ project_id, source, repo, style, filters }) => {
469
470
  try {
470
- const res = await api.generateInsight(project_id, 'release_notes', { source, repo, style });
471
+ const res = await api.generateInsight(project_id, 'release_notes', { source, repo, style, filters });
471
472
  const { job, result } = await api.waitForJob(res.jobId);
472
473
  if (job.status === 'failed' || !result) {
473
474
  const reason = job.error ?? 'unknown error';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowrelay/mcp-server",
3
- "version": "1.0.11",
3
+ "version": "1.0.13",
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",