docs.glide.co/agents; self-hosters: see SELF_HOSTING.md in this directory for the OSS-shape deploy guide.
The examples below reference Glide-Cloud URLs (auth.glide.co,mcp.glide.co). For self-host, substituteauth.<your-domain>andmcp.<your-domain>— the OAuth + MCP contracts are identical.
Quickstart
- Register an MCP client. Dynamic Client Registration (RFC 7591) at
https://auth.glide.co/oauth2/register. You get back aclient_id+client_secret. - OAuth authorize flow. Redirect the user to
https://auth.glide.co/oauth2/authorizewithresponse_type=code,client_id,redirect_uri,code_challenge(S256),scope, andresource=urn:glide:vault:<vault_id>(RFC 8707 resource indicator). On approval you get anauthorization_code; exchange for a bearer grant at/oauth2/token. - Call MCP tools. Three endpoints under
https://mcp.glide.co:/read— accounts, balances, transactions, agents, skills, audit stream/write— payments, cards, transfers, beneficiaries, x402/treasury— grant issuance, signer rotation, yield allocation, kill-switch
- Handle step-up. Write tools that cross the policy envelope return JSON-RPC
-32003with astep_up_url. Surface that URL; the user biometric-approves on the Glide web sheet; retry your tool call with the returnedstep_up_sigil.
Authentication
Grant shape
Grants are JWTs with the following claims:Scopes (closed vocabulary)
Tool reference
See tool-reference.md for per-tool input/output schemas + annotations.Error taxonomy
JSON-RPC error codes emitted by the gateway:Rate limits
Per-tenant, per-client, per-category buckets:read: 300 req/min, 1.5× burst → effective 450/minwrite: 60 req/min, 1.5× burst → effective 90/mintreasury: 10 req/min, 1.2× burst → effective 12/min
429 response includes retry_after_seconds.
Idempotency
Every write tool requiresidempotency_key (min 8 chars, max 128). Server caches (key, result) for 24 hours keyed on (agent_principal_id, idempotency_key). Replays return the cached response without re-executing.
SDK examples
See sdk-examples/ for TypeScript + Python starter snippets (published as@glideco/mcp-client / glide-mcp-client in v1.5 per PLAN.md roadmap).
What’s deferred
- AP2 Payment Mandate (v1.5)
- DPoP / mTLS sender-constrained tokens (v1.5)
- DID-based agent identity (v2)
- GNAP grant issuance (v2)
- Full BaaS REST platform (V5 Bucket 6.1)