super-feedback-mcp 0.2.0 → 0.2.1

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
@@ -39,7 +39,7 @@ async function callConvexAPI(endpoint, options) {
39
39
  // Create MCP server
40
40
  const server = new McpServer({
41
41
  name: "super-feedback",
42
- version: "0.2.0",
42
+ version: "0.2.1",
43
43
  });
44
44
  // Tool 1: Get feedback summary (lightweight overview)
45
45
  server.registerTool("get_feedback_summary", {
@@ -89,10 +89,10 @@ Use this first to understand what feedback exists, then use get_comment_details
89
89
  page: c.page.path,
90
90
  })),
91
91
  };
92
- // Create human-readable summary
92
+ // Create human-readable summary with actual comment IDs
93
93
  const openComments = response.comments.filter(c => c.status === "open");
94
94
  const summary = openComments.length > 0
95
- ? openComments.map(c => `• #${c.index} [${c.status}] "${c.feedback.slice(0, 50)}..." (${c.page.path})`).join("\n")
95
+ ? openComments.map(c => `• [${c.id}] "${c.feedback.slice(0, 60)}${c.feedback.length > 60 ? "..." : ""}" (${c.page.path})`).join("\n")
96
96
  : "No open feedback.";
97
97
  return {
98
98
  content: [{
@@ -101,9 +101,10 @@ Use this first to understand what feedback exists, then use get_comment_details
101
101
 
102
102
  Total: ${response.totalCount} | Open: ${response.openCount} | Resolved: ${response.resolvedCount}
103
103
 
104
- ${response.openCount > 0 ? `Open feedback:\n${summary}` : "All feedback resolved! 🎉"}
104
+ ${response.openCount > 0 ? `Open feedback (${openComments.length}):\n${summary}` : "All feedback resolved! 🎉"}
105
105
 
106
- Use get_comment_details(commentId) to get full context for a specific comment.`,
106
+ To get full details for a comment, use: get_comment_details(commentId)
107
+ Example: get_comment_details("${openComments[0]?.id || "comment-id-here"}")`,
107
108
  }],
108
109
  structuredContent: output,
109
110
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "super-feedback-mcp",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "MCP server for Super Feedback - enables AI agents to query and resolve client feedback",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
package/src/index.ts CHANGED
@@ -115,7 +115,7 @@ async function callConvexAPI<T>(endpoint: string, options?: RequestInit): Promis
115
115
  // Create MCP server
116
116
  const server = new McpServer({
117
117
  name: "super-feedback",
118
- version: "0.2.0",
118
+ version: "0.2.1",
119
119
  });
120
120
 
121
121
  // Tool 1: Get feedback summary (lightweight overview)
@@ -173,10 +173,10 @@ Use this first to understand what feedback exists, then use get_comment_details
173
173
  })),
174
174
  };
175
175
 
176
- // Create human-readable summary
176
+ // Create human-readable summary with actual comment IDs
177
177
  const openComments = response.comments.filter(c => c.status === "open");
178
178
  const summary = openComments.length > 0
179
- ? openComments.map(c => `• #${c.index} [${c.status}] "${c.feedback.slice(0, 50)}..." (${c.page.path})`).join("\n")
179
+ ? openComments.map(c => `• [${c.id}] "${c.feedback.slice(0, 60)}${c.feedback.length > 60 ? "..." : ""}" (${c.page.path})`).join("\n")
180
180
  : "No open feedback.";
181
181
 
182
182
  return {
@@ -186,9 +186,10 @@ Use this first to understand what feedback exists, then use get_comment_details
186
186
 
187
187
  Total: ${response.totalCount} | Open: ${response.openCount} | Resolved: ${response.resolvedCount}
188
188
 
189
- ${response.openCount > 0 ? `Open feedback:\n${summary}` : "All feedback resolved! 🎉"}
189
+ ${response.openCount > 0 ? `Open feedback (${openComments.length}):\n${summary}` : "All feedback resolved! 🎉"}
190
190
 
191
- Use get_comment_details(commentId) to get full context for a specific comment.`,
191
+ To get full details for a comment, use: get_comment_details(commentId)
192
+ Example: get_comment_details("${openComments[0]?.id || "comment-id-here"}")`,
192
193
  }],
193
194
  structuredContent: output,
194
195
  };