View as Markdown

SDK reference · Rails

acceptMcpGrant

acceptMcpGrant in @provenanceauth/rails/mcp, Rails. A tool server's check of the grant in a request's _meta (see acceptDelegation in @provenanceauth/rails/a2a).

Signature

acceptMcpGrant(meta: unknown, opts: AcceptGrantOptions & ReadMcpGrantOptions): Promise<DelegationVerdict>

Parameters

metaunknownRequired
optsAcceptGrantOptions & ReadMcpGrantOptionsRequired

Returns

Promise<DelegationVerdict>

HTTP operation

Runs locally, with no request to the API.

Was this page helpful? Send us feedback

LLM? Read llms.txt.