delego

MCP.Pizza Chef: Delego-Dev

delego adds a strict approval step between your AI assistant and services it accesses. It makes sure every action your AI wants to perform exactly matches what you approved, preventing any trick or mistake. It keeps a secure, tamper-evident log of all approvals and actions. You install it locally and connect it to your AI app that supports MCP, like Claude. It requires some developer setup but no external accounts or keys.

Other

Use This MCP server To

Confirm each AI action matches my original request before execution Require manual approval for sensitive AI actions Audit all AI actions with a tamper-proof log Prevent AI from reusing approvals for different actions Detect if AI tries to change approved actions Integrate action authorization into my AI workflow

README

delego

CI Python License

Website: delegohq.com · Docs: delegohq.com/docs · Spec: Delego-Dev/specification

Intent-bound action authorization for AI agents. It sits between an agent and whatever credential broker holds the user's secrets, and it answers the one question brokers don't: is this specific action the thing the human actually asked for?

   agent  ──propose──▶  delego  ──if allowed──▶  credential broker  ──▶  service
   (LLM)               (policy +                (Agent Vault /         (bank,
                        approval +               OneCLI /               SaaS,
                        audit)                   Browser Use…)          API)
                           │
                           └── needs_approval ──▶  human (CLI)

📜 Protocol: delego implements protocol 0.3 of the open delego wire specification — canonicalization, the policy schema, intent/fingerprint binding including the §4.2 query-fold, and the signed audit chain. The authorization token (spec §9) is an optional profile, not yet implemented.

Why this exists

The "agent gets its own scoped credential, and never holds the user's secret directly" pattern is now a crowded, converging space — Infisical's Agent Vault, OneCLI, Browser Use, Nango, and others all do credential brokering.

The harder problem sits one level up — the confused deputy: the agent holds a valid credential, a prompt injection redirects it, the scope covers the action, so the broker happily injects the secret and the action goes through. The credential is the wrong place to catch this — it's valid. OAuth tokens carry no commitment to the original instruction.

Authorising the action (not just the credential) is an active area — see deterministic policy engines (OPA/Cedar, Permit), human-in-the-loop approval (HumanLayer), MCP gateways/firewalls, and the "pre-action authorization" line of research. delego is a small, deterministic, local, Apache-2.0 reference for it: no LLM in the decision path, no credential custody, approvals bound to the exact action fingerprint, and a signed, hash-chained audit trail — riding the existing broker layer rather than competing with it.

What it is / isn't

  • Is a decision-and-audit layer. Deterministic policy, human approval for sensitive actions, signed append-only audit ledger.
  • Isn't a credential vault or a proxy. It delegates execution to a broker through a thin BrokerAdapter interface — you ride the existing layer instead of rebuilding it.
  • Authorisation is pure Python, no LLM in the loop. A model can advise upstream; the decision that gates a credential is made outside the stochastic loop, so an injection can't talk its way past it.

delego FAQ

Can I use delego to ensure AI actions are exactly what I approved?
Yes — delego confirms each AI action matches your original instruction before allowing it.
Can I use delego with Claude or other AI apps?
Yes — delego works as a server that can integrate with clients like Claude, and supports any AI that follows the MCP protocol.
Do I need an API key or account to use delego?
No — delego runs locally and uses your own signing keys; no external account is required.
How hard is it to set up delego?
It requires developer-level setup, including installing with pip and configuring it in your AI app's MCP settings.
Does delego store my passwords or secrets?
No — it only authorizes actions and audits them; your secrets stay with your credential broker.
Can I approve or deny actions from my AI app?
No — approvals are done manually via the command line interface to keep control secure.