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.

40 lines • 1.38 kB
import { type StoredProject } from "../../core-dist/keystore.js"; export type Run402TargetKind = "cloud" | "core" | "unknown"; export type Run402TargetRequirement = "any" | "cloud" | "core"; export interface Run402TargetProfileEnvAliases { projectId?: readonly string[]; anonKey?: readonly string[]; serviceKey?: readonly string[]; } export interface ResolveRun402TargetProfileOptions { env?: Record<string, string | undefined>; projectId?: string; anonKey?: string; serviceKey?: string; envAliases?: Run402TargetProfileEnvAliases; requiredTarget?: Run402TargetRequirement; requireProject?: boolean; requireAnonKey?: boolean; requireServiceKey?: boolean; } export interface Run402TargetProfileSources { apiBase: "env" | "profile" | "default"; project?: string; anonKey?: string; serviceKey?: string; } export interface Run402TargetProfile { profile: string; configDir: string; apiBase: string; apiBaseSource: "env" | "profile" | "default"; targetKind: Run402TargetKind; isCore: boolean; projectId?: string; project?: StoredProject; anonKey?: string; serviceKey?: string; sources: Run402TargetProfileSources; } export declare function resolveRun402TargetProfile(options?: ResolveRun402TargetProfileOptions): Run402TargetProfile; //# sourceMappingURL=target-profile.d.ts.map