Skip to main content
Use curl to make a read-only MCP request. You need a configured gateway, an active agent and a grant with accounts:read. A local gateway does not supply an anonymous demo token.

Configure access

Obtain GLIDE_GRANT_TOKEN through your configured authorization server. Set GLIDE_BASE_URL to the gateway origin. Keep the token out of source control.

Read authorized accounts

Check for HTTP and JSON-RPC errors, then inspect result.isError before reading result.structuredContent. A successful call returns the accounts visible to that grant. It does not initiate a payment or produce a settlement receipt. The source example contains a Makefile and request.http for this request. Use an environment where accounts.list is enabled.

Add payment calls

Use the input schema and endpoint on payments.initiate. Preserve the payment’s idempotency key and track its recorded outcome. A successful submission is not proof of settlement.

Source

Read the curl example. Source access is required.

Next