Authorization
header under _meta
in the ToolCall to your own MCP server.
The token gives you the ability to:
iss
: The issuer of the token, which is always https://gateway.tollbit.com/foundry
.sub
: The subject of the token, which is the user’s TollBit ID.aud
: The audience of the token, which is the host of your MCP server.iat
: The issued at time, which is the time the token was issued.nbf
: The not before time, which is set to 1 minute before the iat
time to prevent replay attacks.exp
: The expiration time, which is set to 5 minutes after the iat
time.jti
: A unique identifier for the token, which is the transaction ID of the tool call. You can cross reference this transaction ID in your dashboard. This should be treated as a nonce to prevent replay attacks.mcp_key_01
, though this may change in the future.
We recommend that you can use the kid
header in the JWT to determine which key to use for verification.
Many JWT libraries will handle this automatically, but if you are using a lower-level library, you may need to implement this yourself.
mcp_key_01
.
At the time of posting this, it should be: