Grant is a consent layer. Your agent asks, a human taps a link, and your agent receives a signed permission. It appears inside the agent’s normal message — not as a separate app people must remember.
No Custom GPT Builder account or paid plan is needed to paste Grant's Remote MCP URL into an MCP-capable client. Custom MCP availability depends on the client, plan, and workspace admin settings; if a client does not offer it, use Claude, Cursor, or a free bot store instead.
Copy https://grant-approve.vercel.app/api/mcp.
In ChatGPT, open Plugins → Add custom MCP server where custom MCP servers are available on your plan, choose no authentication for the demo, paste the URL, acknowledge the risk, and create/install it. In Claude or Cursor, paste the same URL into their Remote MCP / MCP Servers add-server field.
Ask your assistant to create a Grant approval before it sends, spends, refunds, or publishes. Approve in the browser, then let it verify the signed receipt and continue.
Grant never sees your credentials or payment details. It only records what you allowed. MCP setup details · Privacy
pip install grant-consent
grantctl doctor --url https://grant-approve.vercel.app
The Python package and CLI use only the standard library. The hosted service provides the approval page and signed permission ledger.
from grant import Grant
grant = Grant("https://grant-approve.vercel.app", workspace="support")
ask = grant.request(
agent="support-agent",
action="refund_order",
summary="Refund order ord_42 for $48.00",
scope={"order_id": "ord_42", "amount": 48},
ttl_minutes=30,
)
print(ask.message) # put this in the agent's normal reply/tool output
permission = grant.wait(ask.id, timeout=300)
print(permission.policy) # once / always
print(permission.signature) # signed by GrantPOST /v1/requests
{
"agent": "support-agent",
"action": "refund_order",
"summary": "Refund order ord_42",
"scope": {"order_id": "ord_42", "amount": 48},
"workspace": "support",
"ttl_minutes": 30
}
Response includes id, approval_url, expires_at, and a ready-to-send message.
grantctl request --agent support-agent --action refund_order \
--summary "Refund ord_42" --scope '{"order_id":"ord_42"}' \
--url https://grant-approve.vercel.app
grantctl status req_abc123 --url https://grant-approve.vercel.app
grantctl permissions support-agent --url https://grant-approve.vercel.appPOST /v1/permissions/verify
{"id": "perm_abc123", "signature": "..."}
Grant returns whether the signature is valid plus the allowed action, policy, scope hash, and expiry.
grantctl gateway \
--name "Payments API" \
--upstream https://api.example.com \
--paths "/transfer,/payment,/refund" \
--body-keys "amount,recipient" \
--url https://grant-approve.vercel.app
Point an HTTP or MCP client at the returned gateway URL. Sensitive calls pause for approval; routine calls pass through. Local agents can use grantctl proxy --upstream ... --open.
The approval card stays pure and fast. Choose the trigger that matches where your agent runs.
Open the approval URL in a 460×640 window. Grant sends a postMessage decision and closes itself on approve or reject.
Load /widget.js with data-approval-url. Styling is isolated from the host page.
Send the same URL in Slack or email. On phones it renders as a compact card; add ?compact=1 for a forced compact view.
<script async src="https://grant-approve.vercel.app/widget.js"
data-approval-url="https://grant-approve.vercel.app/a/••••••••••••"
data-label="Review approval"></script>
Approval links are capabilities. Workspaces are bookmarks.
Secret-like scope values are redacted before the approval page is rendered.
Payments happen externally. Grant only manages permission.
POST /v1/requests create an approval request
GET /v1/requests/{id} read status and signed permission
GET /v1/permissions/{agent} list active permissions
POST /v1/permissions/verify verify a signed permission
POST /v1/gateways register an MCP/HTTP gateway
POST /g/mcp/{token} approval-gated MCP JSON-RPC proxy
ANY /g/http/{token}/{path} approval-gated HTTP proxy
GET /pricing four public plan tiers
GET /signin open a workspace before checkout
GET /console developer usage dashboard
GET /widget.js Shadow-DOM launcher script
GET /v1/checkout/{plan} redirect to a fixed Cashfree monthly form
POST /v1/billing/webhook signed Grant/Cashfree plan-flag flip
GET /v1/billing/renewal-reminders day-27 reminder runner (scheduler only)
GET /stats.json aggregate usage only
GET /health/live process check
GET /health/ready database + signing check