UNPKG

run402-mcp

Version:

MCP server for Run402 — full-stack backend infrastructure for AI agents: Postgres, auth, storage, serverless functions and atomic deploys. Paid with x402/MPP. Includes $0.03 image generation.

18 lines • 763 B
/** * SIWX auth helper — re-exports core signing + adds MCP-specific error wrapper. */ import { getWalletAuthHeaders as _getWalletAuthHeaders, type SIWxAuthHeaders } from "../core/dist/wallet-auth.js"; import { type ToolResult } from "./structured.js"; export type { SIWxAuthHeaders }; export declare const getWalletAuthHeaders: typeof _getWalletAuthHeaders; /** * Check a wallet is configured (and, for a key-backed wallet, return its SIWX * headers), or return an MCP error result. A signer-backed wallet (KMS) signs * asynchronously inside the SDK, so it returns no headers here. */ export declare function requireWalletAuth(path: string): { headers: SIWxAuthHeaders | null; } | { error: ToolResult; }; //# sourceMappingURL=wallet-auth.d.ts.map