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.

9 lines • 438 B
import { ProjectCredentialNotFound } from "./errors.js"; export async function requireProjectCredentials(client, projectId, context) { const project = await client.getProjectCredentials(projectId); if (project) return project; const info = client.credentials.getProjectCredentialCacheInfo?.(); throw new ProjectCredentialNotFound(projectId, context, (info ?? {})); } //# sourceMappingURL=project-credentials.js.map