Skip to main content
Glama
attestedintelligence

AGA-mcp-server

aga_verify_bundle

Verify evidence bundles offline using a 4-step verification process to ensure integrity and authenticity against cryptographic references.

Instructions

Verify evidence bundle offline - 4-step verification. (Section J)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bundleNo
pinned_public_keyNo

Implementation Reference

  • The handler function for the aga_verify_bundle tool which orchestrates the bundle verification process.
    export async function handleVerifyBundle(args: VerifyBundleArgs, ctx: ServerContext) {
      const verification = verifyBundleOffline(args.bundle, args.pinned_public_key);
      return ctx.json({ success: true, verification });
    }
  • src/server.ts:208-218 (registration)
    Registration of the aga_verify_bundle tool in the MCP server.
    server.tool('aga_verify_bundle',
      'Verify evidence bundle offline - 4-step verification. (Section J)',
      {
        bundle: z.any(),
        pinned_public_key: z.string().optional(),
      },
      async (args) => {
        const pk = args.pinned_public_key ?? (await import('./crypto/sign.js')).pkToHex(ctx.issuerKP.publicKey);
        return handleVerifyBundle({ bundle: args.bundle, pinned_public_key: pk }, ctx);
      },
    );
  • Input schema for the handleVerifyBundle tool.
    export interface VerifyBundleArgs {
      bundle: EvidenceBundle;
      pinned_public_key: string;
    }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/attestedintelligence/aga-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server