Skip to main content

1. Install the SDK

This guide installs the current registry-verified TypeScript 0.6.0, Python 0.5.0, Go v0.3.0 (which requires Go 1.26.1+), and MCP Auth 2.0.2. See Release Status for exact package status and upgrade guidance.

2. Register your agent

3. Request authorization from a user

4. Exchange the code for a grant token

After the user approves, your redirect URI receives an authorization code. Exchange it for a signed grant token:

5. Verify token signatures and claims locally

Local verification retrieves or reuses the issuer’s JWKS and checks the token’s signature and claims. It does not prove current revocation unless the verifier performs an online state check or synchronizes revocation data.

6. Log every action

Next steps

Core Concepts

Learn about the three primitives: agent identity, delegated grants, and audit trails.

Local Development

Run the full stack locally with Docker Compose and sandbox mode.

TypeScript SDK

Full API reference for the TypeScript SDK.

Python SDK

Full API reference for the Python SDK.

Go SDK

Full API reference for the Go SDK.

CLI

83 commands with —json support for scripting and AI agents.

Ownership

Grantex is owned by Orchestrum Technologies LLP. Inventor and owner: Sanjeev Kumar. Ownership contact: sanjeev@orchestrum.in or mishra.sanjeev@gmail.com.
Last modified on September 7, 2026