Run402
NPM · RUN402-MCP · 2 COMPONENTS · SCANNED SEP 20
x402 pay-per-call infra for agents: $0.03 image generation, Postgres, auth, storage, functions.
Available components
How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score → Why this is hard to score →
Supply Chain Security99
- No malware found by supply-chain analysis.Pass
- No known CVEs affecting this package version or its production dependencies.Pass
- No install/post-install scripts declared.Pass
- 33 of 135 dependencies flagged as unhealthy. View diagnostics → Partial
Provenance & Transparency100
- Source repository is publicly reachable at the declared URL. View diagnostics → Pass
- Cryptographically verified build provenance (signed, bound to kychee-com/run402). View diagnostics → Pass
- Clear OSI-approved license (MIT).Pass
- Actively maintained (last published 0 days ago).Pass
- Publishes a security disclosure policy (SECURITY.md).Pass
Schema Quality & AI Usability77
- AI-judged instruction clarity (excellent).Pass
- Context-footprint check failed: tool/resource definitions use about 22855 tokens (~115/item across 198 items; 198 tools + 0 resources), over budget; trim descriptions and params. See how to fix → Fail
- Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management87
- Stability observed for 26 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage100
- 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
- 99% of tool parameters carry a description.Partial
Tool Safety76
- No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
- 1 of 42 tool(s) whose name or description implies an irreversible operation declare an MCP destructiveHint annotation; "run_sql" implies "execute" and declares no destructiveHint at all, which the MCP spec reads as destructive by default. See how to fix → Partial
- An AI judge read all 198 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities100
- Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
How do I install the Run402 MCP server?
Run402 runs locally as an npm package, launched with npx -y run402-mcp. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.
npm · run402-mcp
claude mcp add com-run402-mcp -- npx -y run402-mcp
{
"mcpServers": {
"com-run402-mcp": {
"command": "npx",
"args": [
"-y",
"run402-mcp"
]
}
}
} {
"servers": {
"com-run402-mcp": {
"command": "npx",
"args": [
"-y",
"run402-mcp"
]
}
}
} codex mcp add com-run402-mcp -- npx -y run402-mcp
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"com-run402-mcp": {
"type": "local",
"command": [
"npx",
"-y",
"run402-mcp"
],
"enabled": true
}
}
} openclaw mcp add com-run402-mcp --command npx --arg -y --arg run402-mcp
mcp_servers:
com-run402-mcp:
command: "npx"
args: ["-y", "run402-mcp"] {
"McpServers": {
"com-run402-mcp": {
"Transport": "stdio",
"Command": "npx",
"Arguments": [
"-y",
"run402-mcp"
]
}
}
} assistant mcp add com-run402-mcp -t stdio -c npx -a -y run402-mcp
{
"mcpServers": {
"com-run402-mcp": {
"command": "npx",
"args": [
"-y",
"run402-mcp"
]
}
}
} Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.
- 19 Sept 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 80 to 83. That category is still filling its 30-day observation window: 24 days of observed history at the previous scan, 25 at this one. The score rises as the window fills, whether or not the server changes.
- 18 Sept 26 −3
- Stability: pass → 0.80 functional
- 17 Sept 26 0
- Stability: 0.97 → pass security
- 16 Sept 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 93 to 97. That category is still filling its 30-day observation window: 28 days of observed history at the previous scan, 29 at this one. The score rises as the window fills, whether or not the server changes.
- 14 Sept 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 87 to 90. That category is still filling its 30-day observation window: 26 days of observed history at the previous scan, 27 at this one. The score rises as the window fills, whether or not the server changes.
- 12 Sept 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 80 to 83. That category is still filling its 30-day observation window: 24 days of observed history at the previous scan, 25 at this one. The score rises as the window fills, whether or not the server changes.
- 11 Sept 26 −3
- Stability: pass → 0.80 functional
- 10 Sept 26 0
- Stability: 0.97 → pass security
Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.
Captured 20 Sept 2026 · Analysed npm/run402-mcp@4.16.0
Provenance Verified
A signed build attestation was found and verified, binding this exact artifact to the source repository it claims to come from.
| Result | Verified |
|---|---|
| Ecosystem | npm |
| Reason | Verified |
| Discovered via | Registry attestation endpoint |
| Source repo | kychee-com/run402 |
| Certificate issuer | https://token.actions.githubusercontent.com |
| Certificate SAN | https://github.com/kychee-com/run402/.github/workflows/publish.yml@refs/heads/main |
| Rekor log index | 2300581169 |
| Predicate type | https://slsa.dev/provenance/v1 |
| Subject digest | sha512:fe34b109b68518221abc6da2491e04325bccac66d2c9a237a361ed3052a410f3cd3b41568fa28a02e73cce22ce75c7848d3cca6795951ad151e2ca08b |
Background: How many MCP packages publish verified provenance →
Dependencies 135 packages
| Packages resolved | 135 |
|---|---|
| Stale | 33 |
| Tree resolution | Complete |
Background: SBOMs and build attestations, explained →
The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability. A tool's description is untrusted text the model reads on every call, which is what makes this list a security surface and not just an inventory: how tool poisoning works →
promote_user ~59
Promote a user to project_admin role by email. Admins can manage secrets from the browser. Requires service_key.
| Name | Type | Req | Description |
|---|---|---|---|
| string | yes | Email address of the user to promote to project_admin | |
| project_id | string | yes | The project ID |
No output schema declared.
No examples provided.
provision_postgres_project ~130
Provision a new Postgres database. Returns project credentials on success, or payment details if x402 payment is needed.
| Name | Type | Req | Description |
|---|---|---|---|
| name | string | – | Optional project name (auto-generated if omitted) |
| org_id | string | – | Provision into an EXISTING org (v1.82). You must hold a developer+ membership on it. Omit for the cold-start path. Tier is org-governed. |
| tier | string | – | Database tier: prototype ($0.10/7d, free with testnet faucet), hobby ($5/30d), team ($20/30d) |
No output schema declared.
No examples provided.
provision_signer ~143
Provision an AWS KMS-backed Ethereum signer for signing smart-contract write transactions. Private keys never leave KMS. Cost: $0.04/day rental ($1.20/month) plus $0.000005 per contract call. Requires $1.20 in cash credit at creation (30 days of rent). Non-custodial.
| Name | Type | Req | Description |
|---|---|---|---|
| chain | string | yes | Which EVM chain. Cost: $0.04/day rental, requires $1.20 in cash credit at creation. |
| project_id | string | yes | The project ID |
| recovery_address | string | – | Optional 0x-prefixed address for auto-drain on day-90 deletion |
No output schema declared.
No examples provided.
publish_app ~116
Publish a project as a forkable app. Set visibility and tags for discoverability.
| Name | Type | Req | Description |
|---|---|---|---|
| description | string | – | App description |
| fork_allowed | boolean | – | Whether other users can fork this app (default: false) |
| project_id | string | yes | The project ID to publish |
| tags | array | – | Tags for discoverability (e.g. ['auth', 'rls', 'todo']) |
| visibility | string | – | Visibility: public (listed in browse_apps), unlisted (accessible by ID), private (default) |
No output schema declared.
No examples provided.
redrive_function_run ~106
Redrive a failed/cancelled/expired durable function run with an optional retry override and optional wait.
| Name | Type | Req | Description |
|---|---|---|---|
| poll_interval_ms | integer | – | Polling interval in milliseconds. |
| project_id | string | yes | The project ID |
| retry | object | – | – |
| run_id | string | yes | Function run id, fnrun_... |
| timeout_ms | integer | – | Maximum wait time in milliseconds. |
| wait | boolean | – | Wait until the run becomes terminal before returning. |
No output schema declared.
No examples provided.
redrive_mailbox_webhook_delivery ~100
Re-queue a dead-lettered (failed_permanent) webhook delivery so the worker attempts delivery again. Use after fixing the consumer endpoint.
| Name | Type | Req | Description |
|---|---|---|---|
| delivery_id | string | yes | The delivery id to re-queue (from list_mailbox_webhook_deliveries) |
| mailbox | string | – | Target mailbox by slug or id; omit only when the project has exactly one mailbox. |
| project_id | string | yes | The project ID |
No output schema declared.
No examples provided.
register_mailbox_webhook ~103
Register a webhook on the project's mailbox. Receives POST notifications for email events (delivery, bounced, complained, reply_received).
| Name | Type | Req | Description |
|---|---|---|---|
| events | array | yes | Events to subscribe to. Valid: delivery, bounced, complained, reply_received |
| mailbox | string | – | Target mailbox by slug or id; omit only when the project has exactly one mailbox. |
| project_id | string | yes | The project ID |
| url | string | yes | Webhook callback URL |
No output schema declared.
No examples provided.
remove_org_member ~77
Remove a member from an org. Requires an active `owner` membership. Removing the org's only active owner fails with `409 LAST_OWNER`.
| Name | Type | Req | Description |
|---|---|---|---|
| org_id | string | yes | The org id. |
| principal_id | string | yes | The member principal id to remove. Removing the org's only active owner fails with `409 LAST_OWNER`. |
No output schema declared.
No examples provided.
rename_org ~128
Set or clear an organization's display label (PATCH /orgs/v1/:org_id). Owner-only + step-up gated. Pass `display_name: null` (or `""`) to clear. Returns the updated `org_id`, `display_name`, `tier`, `lease_started_at`, and `lease_expires_at`. Params: `org_id`, `display_name`.
| Name | Type | Req | Description |
|---|---|---|---|
| display_name | string|null | yes | New label. Pass `null` or an empty string to clear the label. Owner-only + step-up gated. |
| org_id | string | yes | The org id to rename. |
No output schema declared.
No examples provided.
rename_project ~167
Rename a project (PATCH /projects/v1/:id) — fix an auto-generated name. Authorization is org-membership based (admin+ on the owning org, or a project:write grant) and authorize-before-reveal: an unauthorized or guessed id returns the same 403 as a real-but-unauthorized project, never a not-found oracle. Uses the wallet's SIWX auth (not a project service key), so it works even if the project isn't in the local key store. The server validates the name (non-empty, ≤ 200 chars, no control characters).
| Name | Type | Req | Description |
|---|---|---|---|
| name | string | yes | New display name (1-200 characters, no control characters; server-validated). |
| project_id | string | yes | The project ID to rename (prefix: prj_). |
No output schema declared.
No examples provided.
renew_project_branch ~52
Extend a contained branch project's TTL.
| Name | Type | Req | Description |
|---|---|---|---|
| branch_project_id | string | yes | Branch project ID. |
| project_id | string | yes | Parent project ID. |
| ttl_days | integer | – | New TTL extension in days. |
No output schema declared.
No examples provided.
request_faucet ~78
Request free testnet USDC from the Run402 faucet (Base Sepolia). Rate limit: 1 per IP per 24h. Returns 0.25 USDC — enough for 2 prototype databases.
| Name | Type | Req | Description |
|---|---|---|---|
| address | string | – | Wallet address (0x...) to fund. If omitted, reads from local agent allowance file. |
No output schema declared.
No examples provided.
request_magic_link ~140
Send a passwordless login email (magic link) to a project user. Auto-creates the user on first verification. Rate limited per email (5/hr) and per project (by tier).
| Name | Type | Req | Description |
|---|---|---|---|
| client_state | – | – | Optional opaque app state preserved through token verification |
| delivery | string | – | Email credential mode. Defaults to link. |
| string | yes | Email address to authenticate | |
| intent | string | – | Magic-link intent. invite requires the service key and creates trusted invite state. |
| project_id | string | yes | The project ID |
| redirect_url | string | – | Allowed redirect URL. Required for link/both; optional for code. |
No output schema declared.
No examples provided.
rest_query ~147
Query or mutate data via the PostgREST REST API. Supports GET/POST/PATCH/DELETE with query params.
| Name | Type | Req | Description |
|---|---|---|---|
| body | – | – | Request body for POST/PATCH (JSON object or array) |
| key_type | string | – | Which key to use: anon (default, respects RLS) or service (bypasses RLS) |
| method | string | – | HTTP method |
| params | object | – | PostgREST query params (e.g. {select: 'id,name', order: 'id.asc', limit: '10'}) |
| project_id | string | – | The project ID (defaults to the active project) |
| table | string | yes | Table name to query |
No output schema declared.
No examples provided.
restore_project_snapshot ~107
Plan or confirm a project snapshot restore. Omit confirm for the loss statement and confirm token; pass confirm to execute the atomic restore.
| Name | Type | Req | Description |
|---|---|---|---|
| confirm | string | – | Confirm token from the restore_plan. Omit for a dry restore plan. |
| include_auth | boolean | – | When true, restore captured auth users/passkeys too. Sessions/tokens are never restored. |
| project_id | string | yes | Project ID to restore. |
| snapshot_id | string | yes | Snapshot ID to restore from. |
No output schema declared.
No examples provided.
revoke_project_grant ~77
Revoke a per-project capability grant by id. Params: `project_id`, `grant_id`. Requires you to be an owner of the project's org.
| Name | Type | Req | Description |
|---|---|---|---|
| grant_id | string | yes | The grant id to revoke, e.g. `grt_...`. |
| project_id | string | yes | Project id the grant belongs to. |
No output schema declared.
No examples provided.
rotate_webhook_secret ~44
Generate a fresh HMAC signing secret for the operator's webhook endpoint. Returned EXACTLY once. Previous secret remains valid for 24h. Requires operator_passkey assurance.
Input schema present but exposes no named parameters.
No output schema declared.
No examples provided.
run_sql ~87
Execute SQL (DDL or queries) against a provisioned project. Returns results as a markdown table.
| Name | Type | Req | Description |
|---|---|---|---|
| params | array | – | Bind parameters for parameterized queries (e.g. [42, "hello"]) |
| project_id | string | – | The project ID to run SQL against (defaults to the active project) |
| sql | string | yes | SQL statement to execute (DDL or DML) |
No output schema declared.
No examples provided.
scaffold_roles ~170
Generate a role-table migration + requireRole gate snippet + first-operator bootstrap for Run402 function role gates. Offline and deterministic (no project or network). Inputs: table, user_col, role_col, roles[], cache_ttl.
| Name | Type | Req | Description |
|---|---|---|---|
| cache_ttl | integer | – | Role-lookup cache seconds (0-600). Default: 60. 0 = instant revocation (fresh DB read per request). |
| role_col | string | – | Role column. Default: role. |
| roles | array | – | Allowed roles. Default: ["operator"]. |
| table | string | – | Role table name (unquoted SQL identifier). Default: app_roles. |
| user_col | string | – | User-id column — matches the tenant user id (internal.users.id / JWT 'sub'). Default: user_id. |
No output schema declared.
No examples provided.
send_email ~378
Send an email. Two modes: template (project_invite, magic_link, notification) or raw HTML (subject + html). Optional from_name for display name. Single recipient only. Pass mailbox to target a slug/id; otherwise the configured default_outbound_mailbox_id is used. Result echoes mailbox_id and from_address when the gateway provides them.
| Name | Type | Req | Description |
|---|---|---|---|
| attachments | array | – | Binary attachments — RAW HTML MODE ONLY (with subject + html, not template). Max 5; ≤ 7 MB total (decoded). |
| from_name | string | – | Display name for From header, e.g. "My App" (max 78 chars) |
| html | string | – | HTML email body (raw HTML mode, max 1MB) |
| in_reply_to | string | – | ID of a prior message (typically inbound) to thread this one under. The server uses it to set RFC-822 In-Reply-To and References headers. Usually set via reply flows; leave empty for new threads. |
| mailbox | string | – | Target mailbox by slug or id. If omitted, the configured default_outbound_mailbox_id is used; missing/invalid defaults return typed repair errors. |
| project_id | string | yes | The project ID |
| subject | string | – | Email subject line (raw HTML mode, max 998 chars) |
| template | string | – | Email template (template mode). project_invite, magic_link, or notification |
| text | string | – | Plain text fallback (raw HTML mode, auto-generated from HTML if omitted) |
| to | string | yes | Recipient email address (single recipient only) |
| variables | object | – | Template variables (template mode). project_invite: project_name, invite_url. magic_link: project_name, link_url, expires_in. notification: project_name, message (max 500 chars). |
No output schema declared.
No examples provided.
send_message ~37
Send a message to the Run402 developers. Requires an active tier.
| Name | Type | Req | Description |
|---|---|---|---|
| message | string | yes | Message to send to the Run402 developers |
No output schema declared.
No examples provided.
service_health ~53
Liveness check for the Run402 SERVICE — not your organization. For your organization status (allowance, tier, projects), use `status`. Reads public GET /health with per-dependency check results. No auth required.
Input schema present but exposes no named parameters.
No output schema declared.
No examples provided.
service_status ~57
Reports on the Run402 SERVICE (availability, capabilities, operator, deployment) — not your organization. For your organization status (allowance, tier, projects), use `status`. Reads public GET /status. No auth, no allowance required.
Input schema present but exposes no named parameters.
No output schema declared.
No examples provided.
set_agent_contact ~77
Register agent contact info (name, email, webhook). New or changed emails start operator email reply verification. Free with allowance auth.
| Name | Type | Req | Description |
|---|---|---|---|
| string | – | Contact email (optional; new or changed emails start reply verification) | |
| name | string | yes | Agent name |
| webhook | string | – | Webhook URL for notifications (optional) |
No output schema declared.
No examples provided.
set_auto_recharge ~81
Enable or disable automatic email pack repurchase when credits drop below a threshold. Requires a saved Stripe payment method.
| Name | Type | Req | Description |
|---|---|---|---|
| enabled | boolean | yes | Enable (true) or disable (false) auto-recharge |
| org_id | string | yes | The organization ID |
| threshold | number | – | Credit threshold to trigger auto-recharge (default 2000) |
No output schema declared.
No examples provided.
set_low_balance_alert ~82
Set the low-balance threshold (in wei) for a KMS signer. Email alerts fire when the signer's native balance drops below this threshold.
| Name | Type | Req | Description |
|---|---|---|---|
| project_id | string | yes | The project ID |
| signer_id | string | yes | The KMS signer ID |
| threshold_wei | string | yes | Low-balance threshold in wei (decimal string) |
No output schema declared.
No examples provided.
set_mailbox_defaults ~129
Set default_outbound_mailbox_id and/or auth_sender_mailbox_id for a project. Use list_mailboxes first to choose an explicit mailbox id; sending without a mailbox uses the configured outbound default instead of guessing.
| Name | Type | Req | Description |
|---|---|---|---|
| auth_sender_mailbox_id | string|null | – | Mailbox id (`mbx_...`) to use for auth/session emails, or null to clear. |
| default_outbound_mailbox_id | string|null | – | Mailbox id (`mbx_...`) to use for outbound email sends, or null to clear. |
| project_id | string | yes | The project ID |
No output schema declared.
No examples provided.
set_notification_preferences ~173
Update operator notification preferences. Cross-wallet effects require email_verified assurance; webhook URL changes require operator_passkey assurance.
| Name | Type | Req | Description |
|---|---|---|---|
| digest_cadence | string | – | Periodic digest cadence |
| digest_day_of_week | integer | – | Day of week for weekly digest (1=Mon, 7=Sun) |
| digest_hour_utc | integer | – | Hour (UTC) for the digest send |
| lifecycle_events | string | – | Which lifecycle events fire notifications |
| locale | string | – | BCP-47 (e.g. en-US) |
| threshold_alerts | string | – | Threshold-alert delivery mode (immediate ships in v1.5) |
| timezone | string | – | IANA timezone (e.g. UTC) |
| webhook_url | string|null | – | HTTPS webhook URL (requires operator_passkey assurance) |
No output schema declared.
No examples provided.
set_org_member_role ~117
Change a member's role (owner > admin > developer > billing > viewer). Requires an active `owner` membership. Demoting the org's only active owner fails with `409 LAST_OWNER`.
| Name | Type | Req | Description |
|---|---|---|---|
| org_id | string | yes | The org id. |
| principal_id | string | yes | The member principal id, e.g. `prn_...` (from `list_org_members`). |
| role | string | yes | New role: owner > admin > developer > billing > viewer. Requires you to be an active `owner`. |
No output schema declared.
No examples provided.
set_org_payout_wallet ~141
Set or clear an organization's default payout wallet for tenant priced routes (PATCH /orgs/v1/:org_id/payout-wallet). Admin/owner-only + step-up gated. `wallet_address` must already be an active wallet linked to the org; pass null to clear the explicit default. Response includes recovery.status, active_wallet_count, and next_actions for PAYOUT_WALLET_REQUIRED / PAYOUT_WALLET_AMBIGUOUS.
| Name | Type | Req | Description |
|---|---|---|---|
| org_id | string | yes | The org id. |
| wallet_address | string|null | yes | Active wallet linked to this organization, or null to clear the explicit default. Admin/owner + step-up gated. |
No output schema declared.
No examples provided.
set_recovery_address ~88
Set or clear the optional recovery address used for auto-drain on day-90 deletion of a KMS signer.
| Name | Type | Req | Description |
|---|---|---|---|
| project_id | string | yes | The project ID |
| recovery_address | string|null | yes | 0x-prefixed address (or null to clear). Used for auto-drain on day-90 deletion. |
| signer_id | string | yes | The KMS signer ID |
No output schema declared.
No examples provided.
set_secret ~108
Set a project secret (e.g. STRIPE_SECRET_KEY). Values are write-only and injected as process.env variables in functions. Setting an existing key overwrites it. Use this before deploy, then declare the key with secrets.require.
| Name | Type | Req | Description |
|---|---|---|---|
| key | string | yes | Secret key (uppercase alphanumeric + underscores, e.g. 'STRIPE_SECRET_KEY') |
| project_id | string | yes | The project ID |
| value | string | yes | Secret value (will be injected as process.env in functions) |
No output schema declared.
No examples provided.
set_tier ~62
Subscribe, renew, or upgrade tier. Auto-detects action based on allowance state. Returns success or payment details if x402 payment is needed.
| Name | Type | Req | Description |
|---|---|---|---|
| tier | string | yes | Target tier — subscribes, renews, or upgrades automatically based on wallet state |
No output schema declared.
No examples provided.
set_user_password ~119
Change, reset, or set a user's password. Change: provide current_password + new_password. Reset (via magic link login): just new_password. Set (passwordless user): requires allow_password_set=true on project.
| Name | Type | Req | Description |
|---|---|---|---|
| access_token | string | yes | The user's access_token (Bearer token from login) |
| current_password | string | – | Current password (required for password change, omit for reset via magic link or initial set) |
| new_password | string | yes | The new password to set |
| project_id | string | yes | The project ID |
No output schema declared.
No examples provided.
start_operator_passkey_enrollment ~33
Email a short-lived Run402 operator passkey enrollment link to the verified contact email. Requires email_verified.
Input schema present but exposes no named parameters.
No output schema declared.
No examples provided.
status ~29
Full organization snapshot — allowance, billing balance, tier subscription, projects, and active project. Single-call overview.
Input schema present but exposes no named parameters.
No output schema declared.
No examples provided.
test_notification ~137
Trigger a real test notification (audit row marked is_test=true). Rate-limited per wallet at 1/min. Verifies the full pipeline end-to-end.
| Name | Type | Req | Description |
|---|---|---|---|
| event_type | string | – | Synthetic event_type override (flat snake_case, e.g. `signature_failed`) — use this to exercise a specific routing rule's `event_types` filter precisely. Defaults to the gateway's built-in sample eve… |
| source | string | – | Route the synthetic test event as if it came from the app lane or the platform, so it exercises a specific Telegram routing rule's `source` filter. Defaults to 'platform' when omitted. |
No output schema declared.
No examples provided.
tier_status ~46
Check current tier subscription — tier name, status, expiry, usage, and function authoring caps when returned (max timeout, memory, scheduled functions, min cron interval). Requires allowance auth.
Input schema present but exposes no named parameters.
No output schema declared.
No examples provided.
update_function ~137
Update a function's timeout or memory without re-deploying code. Legacy schedule mutation remains for old simple-function surfaces; new schedule/email background triggers should be declared through ReleaseSpec `triggers[]`.
| Name | Type | Req | Description |
|---|---|---|---|
| memory | integer | – | Memory in MB (tier limits apply) |
| name | string | yes | Function name to update |
| project_id | string | yes | The project ID |
| schedule | string|null | – | Cron expression (5-field, e.g. '*/15 * * * *') to set or update the schedule. Pass null to remove an existing schedule. |
| timeout | integer | – | Timeout in seconds (tier limits apply) |
No output schema declared.
No examples provided.
update_mailbox ~119
Update per-mailbox settings. Currently supports footer_policy: run402_transparency or none. Prototype projects are locked to run402_transparency; attempting none surfaces the gateway's FOOTER_POLICY_TIER_REQUIRED typed error.
| Name | Type | Req | Description |
|---|---|---|---|
| footer_policy | string | yes | Outbound footer policy. `none` is allowed for hobby/team projects; prototype projects are locked to `run402_transparency`. |
| mailbox | string | – | Target mailbox by slug or id; omit only when the project has exactly one mailbox. |
| project_id | string | yes | The project ID |
No output schema declared.
No examples provided.
update_mailbox_webhook ~119
Update a webhook's URL and/or events. At least one field required. Events is a full replacement, not a merge.
| Name | Type | Req | Description |
|---|---|---|---|
| events | array | – | New events array (full replacement). Valid: delivery, bounced, complained, reply_received |
| mailbox | string | – | Target mailbox by slug or id; omit only when the project has exactly one mailbox. |
| project_id | string | yes | The project ID |
| url | string | – | New webhook URL |
| webhook_id | string | yes | The webhook ID (whk_...) |
No output schema declared.
No examples provided.
update_version ~90
Update metadata (description, tags, visibility, fork_allowed) of a published app version.
| Name | Type | Req | Description |
|---|---|---|---|
| description | string | – | Updated description |
| fork_allowed | boolean | – | Whether forking is allowed |
| project_id | string | yes | The project ID |
| tags | array | – | Updated tags |
| version_id | string | yes | The version ID to update |
| visibility | string | – | Updated visibility |
No output schema declared.
No examples provided.
validate_manifest ~137
Validate an auth/expose manifest without applying it. This checks the authorization manifest used by manifest.json, database.expose, and apply_expose; it is not deploy-manifest validation. Optional migration_sql is reference context only and is not executed. Use deploy planning/dry-run surfaces for deploy manifest questions.
| Name | Type | Req | Description |
|---|---|---|---|
| manifest | – | yes | Auth/expose manifest as a JSON object or JSON string. This is not a deploy manifest. |
| migration_sql | string | – | Optional migration SQL used only as reference context for validation; it is not executed. |
| project_id | string | – | Optional project id for live-schema validation. Omit for projectless validation. |
No output schema declared.
No examples provided.
verify_agent_contact_email ~32
Start or resend the operator email reply challenge for the active agent contact email. Does not expose the challenge secret.
Input schema present but exposes no named parameters.
No output schema declared.
No examples provided.
verify_magic_link ~103
Exchange a magic link token for access_token + refresh_token. Creates the user if they don't exist. Token is single-use and expires in 15 minutes.
| Name | Type | Req | Description |
|---|---|---|---|
| challenge_id | string | – | Opaque email-code challenge handle. Required with code. |
| code | string | – | Six-digit email code. Required with challenge_id. |
| project_id | string | yes | The project ID |
| token | string | – | Magic-link token. Mutually exclusive with challenge_id/code. |
No output schema declared.
No examples provided.
verify_project_archive ~58
Verify a local run402-project-archive.v1 directory or .r402ar tar offline. Checks integrity and compatibility only; archives remain untrusted input.
| Name | Type | Req | Description |
|---|---|---|---|
| archive_path | string | yes | Local archive directory or .r402ar tar path. |
No output schema declared.
No examples provided.
wait_for_cdn_freshness ~226
Polls the CDN until a MUTABLE blob URL serves the expected SHA-256, or the timeout elapses. **For mutable URLs only** — for immutable URLs (the `immutableUrl` returned by `assets_put`), no waiting is needed; they're bound to a SHA at upload time and never previously cached. Use this after a re-upload to an existing public mutable key when an end-user-visible URL must reflect the new content before continuing. The probe is single-vantage (us-east-1). On timeout, the tool returns isError=true so an agent can branch into a fallback — typically: switch to the immutableUrl.
| Name | Type | Req | Description |
|---|---|---|---|
| project_id | string | yes | Project ID that owns the URL |
| sha256 | string | yes | Expected hex SHA-256 (from a preceding upload) |
| timeout_ms | integer | – | Max wait in milliseconds (1 000 – 600 000, default 60 000) |
| url | string | yes | Mutable blob URL to poll (e.g. https://app.run402.com/_blob/avatar.png) |
No output schema declared.
No examples provided.
whoami ~87
Resolve the caller's control-plane principal and its org memberships (GET /agent/v1/whoami). A wallet authenticates; ownership is the org. Returns the principal (id/type/displayName/createdAt), authenticator_id, and every org membership (org_id, display_name, role, status). This is the REMOTE identity — for the local wallet/profile state use `status`.
Input schema present but exposes no named parameters.
No output schema declared.
No examples provided.
What is the Run402 MCP server?
Run402 is an MCP server listed in the public MCP registry as com.run402/mcp. x402 pay-per-call infra for agents: $0.03 image generation, Postgres, auth, storage, functions. This page covers its npm package (run402-mcp).
Is the Run402 MCP server safe to use?
Run402 scores 92 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 20 September 2026. It declares no install or post-install scripts. Its build provenance is signed and verified. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.
What tools does the Run402 MCP server expose?
Run402 exposes 198 tools: provision_postgres_project, run_sql, rest_query, apply_expose, validate_manifest, and 193 more. Their descriptions and schemas cost roughly 22,855 tokens of context every time the server is loaded.
Is the Run402 MCP server still maintained?
Run402 is still listed as active in the MCP registry. We last reached this channel on 20 September 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.
What licence is the Run402 MCP server under?
Run402 declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.