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 • 756 B
JavaScript
/**
* `service` namespace — public `GET /status` and `GET /health` endpoints.
* No auth, no local wallet, no project scope. Safe to call from anywhere.
*/
export class Service {
client;
constructor(client) {
this.client = client;
}
/** Reports availability, uptime, operator metadata, capability states. */
async status() {
return this.client.request("/status", {
context: "fetching service status",
withAuth: false,
});
}
/** Liveness check with per-dependency results. */
async health() {
return this.client.request("/health", {
context: "fetching service health",
withAuth: false,
});
}
}
//# sourceMappingURL=service.js.map