/** * @name resources/reputation/sap-reputation-resource * @description MCP resource template for SAP agent reputation and attestation data. * * REAL IMPLEMENTATION — Fetches reputation data from the on-chain PDA derived * from the `sap_reputation` seed and the agent's public key. * * @flow * 1. Registers a resource template at `sap://reputation/{pubkey}` on the MCP server. * 2. When a client reads the resource, derives the reputation PDA from the program ID and pubkey. * 3. Fetches the on-chain account data and returns it as a JSON resource content. * * @module resources/reputation/sap-reputation-resource */ import { Server } from '@modelcontextprotocol/sdk/server/index.js'; import type { SapMcpContext } from '../../../core/src/types.js'; /** * @name sapReputationResource * @description Registers the SAP reputation resource template on the MCP server. * * @param server — The MCP `Server` instance to register the resource on. * @param context — SAP MCP runtime context with connection and config. * * @usedBy `resources/register-resources.ts`. */ export declare function sapReputationResource(server: Server, context: SapMcpContext): void; //# sourceMappingURL=sap-reputation.resource.d.ts.map