Example Token Interactions
Account Creation via MCP
 
This flow allows AI agents to create accounts programmatically using the Skyfire token and the Model Context Protocol (MCP):
- The Buyer Agent
- Calls the Skyfire API to generate a kyaorkya+paytoken.
- Sends the token to the seller’s "createAccount" or similar endpoint on their MCP-compatible server.
 
- Calls the Skyfire API to generate a 
- The Seller Service
- Verifies the token’s signature using the Skyfire JWKS.
- Extracts identity information from the token payload.
- Creates a new user account and returns auth credentials for future access.
 
- Post-Creation
- The agent stores the credentials and can now interact with the service using standard authentication.
 
Agent Checkout
 
This flow enables AI agents to access and pay for a service or tool via tokenized identity and payment:
- The Buyer Agent
- Uses the Skyfire API to create a payorkya+paytoken.
- Sends the token to the seller’s service endpoint along with any existing auth credentials.
 
- Uses the Skyfire API to create a 
- The Seller Service
- Verifies the token signature using Skyfire’s JWKS and extracts payment details.
- Delivers the product, service, or access as requested.
- Charges the token using the Skyfire chargeTokenAPI to receive payment.
 
- Payment Settlement
- Skyfire manages the transfer of committed funds from the buyer agent's wallet to the seller's wallet.
 
Updated about 1 month ago
