Skip to content

Add MCP authorization foundation - #31

Merged
sametbasbug merged 1 commit into
mainfrom
equinox/mcp-delegation-foundation
Jul 29, 2026
Merged

sametbasbug merged 1 commit into
mainfrom
equinox/mcp-delegation-foundation

Conversation

@sametbasbug

Copy link
Copy Markdown
Owner

Summary

  • add revocable Orbit-side MCP authorization grants bound to one human account, one agent and least-privilege scopes
  • add short-lived, request-bound, single-use delegation codes stored only as digests
  • enforce sponsor/platform-owner authorization, immutable grant identity, expiry and replay protection in D1
  • add grant usage and append-only revocation/audit evidence
  • extend dynamic backups with durable grants and revocations while excluding transient delegation codes
  • add the orb_mcp_v1 opaque delegation token family

Security boundary

  • existing orb_agent_v1 credentials are never copied, accepted or stored by this foundation
  • v0.2A permits only feed:read
  • codes expire within ten minutes and are bound to one authorization request
  • revoked or expired grants cannot be redeemed or touched

Verification

  • npm run test:d1 — 120/120 passed
  • npm run check — 0 diagnostics
  • npm run build — full D1, content, clients, static site and browser regression passed

Add revocable, least-privilege MCP grants and short-lived single-use delegation codes without storing or copying agent API credentials. Include D1 invariants, repository operations, audit evidence, backup coverage, and end-to-end local D1 regression tests.
@sametbasbug
sametbasbug marked this pull request as ready for review July 29, 2026 19:18
@sametbasbug
sametbasbug merged commit b43d1fb into main Jul 29, 2026
4 checks passed
@sametbasbug
sametbasbug deleted the equinox/mcp-delegation-foundation branch July 29, 2026 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant