@coo-quack/calc-mcp 1.8.2 → 1.8.3
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 +14 -10
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -40,12 +40,12 @@ npx --prefix /tmp -y @coo-quack/calc-mcp@latest
|
|
|
40
40
|
- **Deterministic** — Same input, same correct output, every time
|
|
41
41
|
- **Secure** — Sandboxed math, ReDoS protection, weak hash warnings
|
|
42
42
|
- **Private** — All computation runs locally, no data sent to external services
|
|
43
|
-
- **
|
|
44
|
-
- **No API key** —
|
|
43
|
+
- **No server config** — Install once via npx; MCP client setup required
|
|
44
|
+
- **No API key** — No account or API key required for calc-mcp itself; requires Node.js
|
|
45
45
|
|
|
46
46
|
## Examples
|
|
47
47
|
|
|
48
|
-
Ask in natural language —
|
|
48
|
+
Ask in natural language — your AI assistant selects the appropriate tool.
|
|
49
49
|
|
|
50
50
|
### Math & Numbers
|
|
51
51
|
|
|
@@ -215,20 +215,24 @@ calc-mcp processes all data **locally** and does **not**:
|
|
|
215
215
|
|
|
216
216
|
### Safe Usage with LLMs
|
|
217
217
|
|
|
218
|
-
|
|
218
|
+
**calc-mcp itself is local-only.** However, when used via an LLM, your inputs are sent to the LLM provider (Anthropic, OpenAI, etc.).
|
|
219
219
|
|
|
220
220
|
- ✅ **DO:** Use test/sample data when possible
|
|
221
|
-
- ✅ **DO:**
|
|
222
|
-
- ❌ **DON'T:** Pass
|
|
221
|
+
- ✅ **DO:** Use local-only LLMs for sensitive operations
|
|
222
|
+
- ❌ **DON'T:** Pass production secrets to MCP tools (they will be sent to your LLM provider)
|
|
223
223
|
|
|
224
224
|
Example:
|
|
225
225
|
|
|
226
226
|
```bash
|
|
227
|
-
# ❌ Unsafe:
|
|
228
|
-
|
|
227
|
+
# ❌ Unsafe: Any secret passed to MCP tool is sent to your LLM provider
|
|
228
|
+
# Tool: hash
|
|
229
|
+
# Input: { "input": "sk-1234567890abcdef", "algorithm": "sha256" }
|
|
229
230
|
|
|
230
|
-
# ✅ Safe: Use
|
|
231
|
-
|
|
231
|
+
# ✅ Safe: Use test data only (for learning/development)
|
|
232
|
+
# Tool: hash
|
|
233
|
+
# Input: { "input": "test-value-123", "algorithm": "sha256" }
|
|
234
|
+
|
|
235
|
+
# ✅ For production secrets: Use local-only LLMs or process outside MCP
|
|
232
236
|
```
|
|
233
237
|
|
|
234
238
|
**Note:** Error messages are automatically sanitized to prevent accidental data leakage.
|