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.
31 lines • 917 B
TypeScript
/**
* `service` namespace — public `GET /status` and `GET /health` endpoints.
* No auth, no local wallet, no project scope. Safe to call from anywhere.
*/
import type { Client } from "../kernel.js";
export interface ServiceStatusPayload {
status: string;
uptime_seconds: number;
deployment: {
version: string;
};
capabilities: string[];
operator: {
name: string;
contact: string;
};
}
export interface ServiceHealthPayload {
status: string;
checks: Record<string, string>;
version: string;
}
export declare class Service {
private readonly client;
constructor(client: Client);
/** Reports availability, uptime, operator metadata, capability states. */
status(): Promise<ServiceStatusPayload>;
/** Liveness check with per-dependency results. */
health(): Promise<ServiceHealthPayload>;
}
//# sourceMappingURL=service.d.ts.map