suma-mcp-proxy 1.0.0 → 1.0.2

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 (3) hide show
  1. package/README.md +4 -7
  2. package/index.js +19 -0
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -50,10 +50,10 @@ node index.js
50
50
  node index.js --key=sk_live_xxx
51
51
  ```
52
52
 
53
- ### Option 3: npx (after npm publish)
53
+ ### Option 3: npx (Recommended)
54
54
 
55
55
  ```bash
56
- npx @quad/suma-mcp --key=sk_live_xxx
56
+ npx suma-mcp-proxy --key=sk_live_YOUR_KEY
57
57
  ```
58
58
 
59
59
  ## IDE Configuration
@@ -64,11 +64,8 @@ npx @quad/suma-mcp --key=sk_live_xxx
64
64
  {
65
65
  "mcpServers": {
66
66
  "suma-memory": {
67
- "command": "node",
68
- "args": ["/path/to/quad-products/squad-suma-mcp/proxy/index.js"],
69
- "env": {
70
- "SUMA_API_KEY": "sk_live_xxx"
71
- }
67
+ "command": "npx",
68
+ "args": ["suma-mcp-proxy", "--key=sk_live_YOUR_KEY"]
72
69
  }
73
70
  }
74
71
  }
package/index.js CHANGED
@@ -156,6 +156,20 @@ Args:
156
156
  required: ["message"],
157
157
  },
158
158
  },
159
+ {
160
+ name: "suma_clean",
161
+ description: `Wipe all data for this org. DESTRUCTIVE — requires confirmation.
162
+
163
+ Args:
164
+ confirm: Must be true to proceed (required)`,
165
+ inputSchema: {
166
+ type: "object",
167
+ properties: {
168
+ confirm: { type: "boolean", description: "Must be true to wipe data" },
169
+ },
170
+ required: ["confirm"],
171
+ },
172
+ },
159
173
  ];
160
174
 
161
175
  // ── Tool Handlers ───────────────────────────────────────────────────────────
@@ -186,6 +200,11 @@ async function handleTool(name, args) {
186
200
  sphere: args.sphere,
187
201
  });
188
202
 
203
+ case "suma_clean":
204
+ return await apiCall("/clean", "POST", {
205
+ confirm: args.confirm === true,
206
+ });
207
+
189
208
  default:
190
209
  return { error: `Unknown tool: ${name}` };
191
210
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "suma-mcp-proxy",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "SUMA MCP Local Proxy — stable stdio bridge to stateless REST API",
5
5
  "type": "module",
6
6
  "main": "index.js",