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.

25 lines • 1.03 kB
import type { Client } from "../kernel.js"; import type { IdentityLinkListResult, IdentityLinkProof, NostrEventV1, PreparedIdentityLinkChallenge } from "./identity-links.types.js"; export interface BeginNostrIdentityLinkInput { nostrPubkey: string; visibility: "public"; idempotencyKey?: string; } export interface CompleteNostrIdentityLinkInput { rawEvent: string | NostrEventV1; } export declare class NostrIdentityLinks { private readonly client; constructor(client: Client); begin(input: BeginNostrIdentityLinkInput): Promise<PreparedIdentityLinkChallenge>; complete(input: CompleteNostrIdentityLinkInput): Promise<IdentityLinkProof>; } export declare class IdentityLinks { private readonly client; readonly nostr: NostrIdentityLinks; constructor(client: Client); list(): Promise<IdentityLinkListResult>; getProof(identityLinkId: string): Promise<IdentityLinkProof>; revoke(identityLinkId: string): Promise<IdentityLinkProof>; } //# sourceMappingURL=identity-links.d.ts.map