Instead of configuring the client manually, copy this prompt into your AI agent. The agent will read the installation instructions and add the Giftronaut MCP server to its own MCP configuration.
Copy this verbatim into Claude Desktop, Cursor, ChatGPT (with file connectors), or your custom agent:
Please install yourself as a Giftronaut MCP client.
Read the following file and follow its Standard auto-flow exactly:
https://api.giftronaut.com/docs/md/mcp/agent-install.md
Server URL: https://api.giftronaut.com/api/v1/mcp
Add it to your MCP client config (no Authorization header — OAuth is automatic),
then make any tool call to trigger the browser sign-in.
agent-install.md is shipped as a public, machine-readable file, the
instructions stay versioned with the server. This helps prevent the agent from following outdated setup instructions.
agent-install.md lists Claude Desktop, Cursor, OpenCode, MCP Inspector).401 with a WWW-Authenticate: Bearer realm="https://api.giftronaut.com/api/v1/mcp", resource_metadata="..." header./.well-known/oauth-protected-resource (RFC 9728) and discovers our authorization server.POST /oauth2/register (RFC 7591). No human pre-provisions the client./oauth2/authorize with PKCE S256./oauth2/token with resource=https://api.giftronaut.com/api/v1/mcp — RFC 8707 audience binding adds aud=["https://api.giftronaut.com/api/v1/mcp"] to the JWT (matches PRM resource field exactly).~/.local/share/opencode/mcp-auth.json).| Claim | Meaning |
|---|---|
client_id | Your registered MCP client (DCR identity). |
acting_as_app_client_id | The user's chosen Giftronaut AppClient — drives org_id + env. |
org_id, owner_id, owner_email, env | Derived from the chosen AppClient. |
scope | Intersection of (DCR-requested ∩ AppClient-allowed) scopes. |
aud | ["https://api.giftronaut.com/api/v1/mcp"] — required for the MCP endpoint to accept the token (RFC 9728 canonical URI, matches PRM resource). |
client_credentials for MCP?
No. MCP requires a browser-based sign-in so it can identify the user
behind each request. Tokens created with client_credentials do not include
that user identity, so MCP will reject them with a 401 invalid_token error.
You can still use your existing client_credentials tokens with the REST API,
including endpoints such as /api/v1/orders and /api/v1/balance.
Start typing to search...