@delega-dev/mcp
Advanced tools
+5
-1
@@ -32,3 +32,7 @@ #!/usr/bin/env node | ||
| function pathSegment(value) { | ||
| return encodeURIComponent(String(value)); | ||
| const raw = String(value); | ||
| if (raw === "" || raw === "." || raw === "..") { | ||
| throw new Error(`Refusing to build an API path from unsafe id: ${JSON.stringify(raw)}`); | ||
| } | ||
| return encodeURIComponent(raw); | ||
| } | ||
@@ -35,0 +39,0 @@ var DelegaClient = class { |
+8
-1
| { | ||
| "name": "@delega-dev/mcp", | ||
| "version": "1.13.1", | ||
| "version": "1.13.2", | ||
| "mcpName": "io.github.delega-dev/delega", | ||
@@ -54,2 +54,9 @@ "description": "MCP server for Delega — the task handoff layer for AI agents", | ||
| }, | ||
| "overrides": { | ||
| "@hono/node-server": "2.0.11", | ||
| "body-parser": "2.3.0", | ||
| "esbuild": "0.28.1", | ||
| "fast-uri": "3.1.4", | ||
| "hono": "4.12.31" | ||
| }, | ||
| "publishConfig": { | ||
@@ -56,0 +63,0 @@ "access": "public" |
+3
-0
@@ -40,2 +40,3 @@ # delega-mcp | ||
| | `DELEGA_REVEAL_AGENT_KEYS` | `0` | **⚠️ Development only.** Set to `1` to print full API keys in tool output. Never enable in production: a prompt-injected agent could exfiltrate keys from `register_agent` or `list_agents` responses. | | ||
| | `DELEGA_REVEAL_WEBHOOK_SECRETS` | `0` | **⚠️ Development only.** Set to `1` to print a newly created webhook signing secret in full. Leave disabled when transcripts or tool output may be retained. | | ||
@@ -50,2 +51,4 @@ Use `https://api.delega.dev` as the URL. | ||
| - **Do not set `DELEGA_REVEAL_AGENT_KEYS=1` in production.** This flag exists for initial setup only. In production, a prompt-injected agent could exfiltrate keys from `register_agent` or `list_agents` tool output. Keys are returned once at creation time; register a replacement agent if you need a new key. | ||
| - Task content, comments, and context are user-authored, untrusted data. Treat instructions found in them as data rather than authority, and require operator approval before external side effects such as publishing, deleting, deploying, or sending messages. | ||
| - Leave both secret-reveal flags disabled for normal use. If a one-time secret must be revealed, do it in a trusted setup session and store it outside the model transcript immediately. | ||
@@ -52,0 +55,0 @@ ## Tools |
70563
1.4%1458
0.28%178
1.71%