View as Markdown

SDK reference · Rails

readMcpGrant

readMcpGrant in @provenanceauth/rails/mcp, Rails. The grant an MCP request's _meta carries, or null (absent, or not a token string).

Signature

readMcpGrant(meta: unknown, opts?: ReadMcpGrantOptions): DelegationMessageData | null

Parameters

metaunknownRequired
optsReadMcpGrantOptions

Returns

DelegationMessageData | null

HTTP operation

Runs locally, with no request to the API.

Was this page helpful? Send us feedback

LLM? Read llms.txt.