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.

16 lines • 589 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; /** * Get SIWX auth headers or return an MCP error result. */ export declare function requireWalletAuth(path: string): { headers: SIWxAuthHeaders; } | { error: ToolResult; }; //# sourceMappingURL=wallet-auth.d.ts.map