cursor-mcp-feedback 2.0.0 → 2.0.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.
Files changed (2) hide show
  1. package/dist/main.js +4 -7
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -56,17 +56,14 @@ function installCursorMcpConfig() {
56
56
  catch {
57
57
  config = { mcpServers: {} };
58
58
  }
59
- const mainJs = path.join(getSrcDir(), "..", "dist", "main.js");
60
- const resolvedMain = fs.realpathSync(mainJs);
59
+ if (config.mcpServers["cursor-mcp-feedback"])
60
+ return;
61
61
  const desired = {
62
- command: process.execPath,
63
- args: [resolvedMain],
62
+ command: "npx",
63
+ args: ["-y", "cursor-mcp-feedback@latest"],
64
64
  timeout: 86400,
65
65
  env: { MCP_FEEDBACK_TIMEOUT: "86400" },
66
66
  };
67
- const existing = config.mcpServers["cursor-mcp-feedback"];
68
- if (existing && JSON.stringify(existing) === JSON.stringify(desired))
69
- return;
70
67
  config.mcpServers["cursor-mcp-feedback"] = desired;
71
68
  fs.writeFileSync(mcpJsonPath, JSON.stringify(config, null, 2) + "\n");
72
69
  log("Cursor mcp.json updated for cursor-mcp-feedback");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cursor-mcp-feedback",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "MCP App for interactive feedback — renders a chat UI directly inside MCP hosts (Claude, Cursor, etc.)",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",