Data MCP server

Run402

Version history of discovered tools, schemas, and declared agent authority.

View watchlist

DistributionDistribution: npm
Packagerun402-mcp
Latest analyzed version4.155.0
Current tool count8
Latest analysisNov 16, 2026
Package source

OBSERVED INTERFACE

Capability surface

Modelara’s observed declarations are shown separately from its derived effect classifications.

3 releases analyzed4.154.0 → 4.155.0Latest: 4.155.0
  • read0
  • write0
  • destructive0
  • unknown8

Unknown means Valyd could not determine the capability's effect confidently from the declared interface and static evidence. It is not treated as safe.

Package
run402-mcp@4.155.0
Registry
npm
Published
Nov 16, 2026
Integrity
sha512-pKuYoaz2FGTbMQvkfehRoNG0yLyD0nxDmcx+X+/vx89C0MgHuSCG7lDIYAQzXC4S2bUMR9U4QXTa717yY5nHAg==
Analyzer
modelara v0.1.8 · policy not recorded
Repository
https://github.com/kychee-com/run402

8 capabilities

CapabilityTypeDerived effectFirst observed in Valyd coverageLast changed
deployrun402-mcp:tool:deploy
Observed interface and hashes

Unified apply primitive. Accepts a structured ReleaseSpec — database (migrations + expose), value-free secrets.require/delete declarations, functions, site, site.public_paths, site.embedding (framing opt-in by catalog key, e.g. { frame_ancestors: ['localhost'] }; null = deny), site.sign_in_path (the app's own same-origin sign-in page for MCP authorization, e.g. '/join'; null = hosted page), site.noindex (true = X-Robots-Tag: noindex, nofollow, nosnippet on every response of the host; false or null = indexable), subdomains, and routes.replace web routes — with explicit replace vs patch semantics per resource. Migration entries use id for immutable versioned SQL or name for generated/idempotent content-tracked SQL; name compiles client-side to <name>_<sha256(sql)[0:16]>. Use site.public_paths for clean static URLs such as /events backed by release asset events.html; explicit mode does not expose /events.html unless separately declared, while mode: 'implicit' restores filename-derived reachability and can widen access. Route entries map exact/final-wildcard browser paths like /admin and /admin/* to Node 22 Fetch Request -> Response functions, or exact GET/HEAD method-aware static aliases such as /events to { type: 'static', file: 'events.html' }; acknowledge an intentionally read-only GET/HEAD wildcard function route with allow_warning_codes: ['WILDCARD_ROUTE_EXCLUDES_MUTATION_METHODS']. Direct /functions/v1/:name remains API-key protected. Secret values are set first with `r.secrets.set` (a `run` snippet) or `run402 secrets set`, never placed in deploy specs. All bytes ride through CAS (no inline-body cap). Returns release_id, URLs, warnings, and a structured progress-event log. Stops before upload/commit on confirmation-required warnings unless reviewed codes are passed with allow_warning_codes or allow_warnings is true.

Input schema

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false,
  "properties": {
    "allow_warning_codes": {
      "description": "Continue past specific reviewed plan warning codes. Prefer this to allow_warnings when only one known warning class is intentional.",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "allow_warnings": {
      "description": "Continue past plan warnings that require confirmation. Default false: the tool stops before upload/commit so an agent can set missing secrets or inspect warnings.",
      "type": "boolean"
    },
    "assets": {
      "additionalProperties": false,
      "description": "v1.48 unified-apply assets slice. Asset writes promote inside the same activation transaction as functions/site/secrets so a release flips atomically.",
      "properties": {
        "delete": {
          "description": "Asset keys to remove in the activation transaction.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "put": {
          "description": "Per-key asset puts. Pass either { source } for the SDK to hash/upload, or { sha256, size_bytes } when bytes are already in CAS.",
          "items": {
            "additionalProperties": false,
            "properties": {
              "content_type": {
                "type": "string"
              },
              "immutable": {
                "type": "boolean"
              },
              "key": {
                "description": "Asset key (path under the project's asset namespace, no leading slash).",
                "type": "string"
              },
              "sha256": {
                "description": "Pre-uploaded CAS reference (wire form). Mutually exclusive with source.",
                "type": "string"
              },
              "size_bytes": {
                "description": "Required when using the wire form (sha256).",
                "type": "integer"
              },
              "source": {
                "$ref": "#/properties/functions/properties/replace/additionalProperties/properties/source",
                "description": "Source bytes (SDK-input form). Mutually exclusive with sha256."
              },
              "visibility": {
                "enum": [
                  "public",
                  "private"
                ],
                "type": "string"
              }
            },
            "required": [
              "key"
            ],
            "type": "object"
          },
          "type": "array"
        },
        "sync": {
          "additionalProperties": false,
          "description": "Declarative sync. With prune: true and no confirm, the plan returns an asset_sync block with the values to echo back.",
          "properties": {
            "confirm": {
              "additionalProperties": false,
              "description": "Confirmation token echoed back from a prior plan; required to commit a destructive sync.",
              "properties": {
                "base_revision": {
                  "type": "string"
                },
                "delete_set_digest": {
                  "type": "string"
                },
                "expected_delete_count": {
                  "type": "integer"
                }
              },
              "required": [
                "base_revision",
                "delete_set_digest",
                "expected_delete_count"
              ],
              "type": "object"
            },
            "prefix": {
              "description": "Prefix under which sync operates. Required.",
              "type": "string"
            },
            "prune": {
              "const": true,
              "description": "Must be true to declare destructive sync intent.",
              "type": "boolean"
            }
          },
          "required": [
            "prefix",
            "prune"
          ],
          "type": "object"
        }
      },
      "type": "object"
    },
    "base": {
      "anyOf": [
        {
          "additionalProperties": false,
          "properties": {
            "release": {
              "enum": [
                "current",
                "empty"
              ],
              "type": "string"
            }
          },
          "required": [
            "release"
          ],
          "type": "object"
        },
        {
          "additionalProperties": false,
          "properties": {
            "release_id": {
              "type": "string"
            }
          },
          "required": [
            "release_id"
          ],
          "type": "object"
        }
      ],
      "description": "Diff base. Default `{ release: 'current' }`. Use `{ release: 'empty' }` for a fresh deploy that fails if a release already exists."
    },
    "database": {
      "additionalProperties": false,
      "properties": {
        "expose": {
          "additionalProperties": {},
          "description": "Declarative authorization manifest (see https://run402.com/schemas/manifest.v1.json).",
          "type": "object"
        },
        "migrations": {
          "items": {
            "additionalProperties": false,
            "properties": {
              "checksum": {
                "description": "Lowercase hex SHA-256 of the migration SQL. Computed from `sql` if omitted.",
                "type": "string"
              },
              "id": {
                "description": "Stable versioned migration id (e.g. '001_init'). Same id+checksum across re-deploys is a registry noop; same id+different checksum is a hard error. Use name instead for generated/idempotent SQL.",
                "type": "string"
              },
              "name": {
                "description": "Content-tracked migration name for generated/idempotent SQL. The SDK compiles this to <name>_<sha256(sql)[0:16]>; changed content applies once under a new id and identical re-deploys noop. SQL declared with name MUST be idempotent.",
                "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,63}$",
                "type": "string"
              },
              "sql": {
                "description": "Inline SQL (UTF-8). Either sql or sql_ref is required.",
                "type": "string"
              },
              "sql_ref": {
                "additionalProperties": false,
                "description": "Pre-uploaded CAS reference. Mutually exclusive with sql.",
                "properties": {
                  "content_type": {
                    "type": "string"
                  },
                  "sha256": {
                    "type": "string"
                  },
                  "size": {
                    "type": "number"
                  }
                },
                "required": [
                  "sha256",
                  "size"
                ],
                "type": "object"
              },
              "transaction": {
                "enum": [
                  "required",
                  "none"
                ],
                "type": "string"
              }
            },
            "type": "object"
          },
          "type": "array"
        },
        "zero_downtime": {
          "description": "Skip the migrate-gate phase. Only safe when migrations are declared backward-compatible.",
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "functions": {
      "additionalProperties": false,
      "properties": {
        "patch": {
          "additionalProperties": false,
          "properties": {
            "delete": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "set": {
              "$ref": "#/properties/functions/properties/replace"
            }
          },
          "type": "object"
        },
        "replace": {
          "additionalProperties": {
            "additionalProperties": false,
            "properties": {
              "config": {
                "additionalProperties": false,
                "properties": {
                  "memoryMb": {
                    "type": "number"
                  },
                  "timeoutSeconds": {
                    "type": "number"
                  }
                },
                "type": "object"
              },
              "entrypoint": {
                "type": "string"
              },
              "files": {
                "additionalProperties": {
                  "$ref": "#/properties/functions/properties/replace/additionalProperties/properties/source"
                },
                "description": "Multi-file function. Provide `entrypoint` to designate the entry path.",
                "type": "object"
              },
              "runtime": {
                "const": "node22",
                "type": "string"
              },
              "source": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "additionalProperties": false,
                    "properties": {
                      "content_type": {
                        "description": "MIME type override (snake_case, like every wire field). Auto-detected from the path's extension when omitted.",
                        "type": "string"
                      },
                      "data": {
                        "type": "string"
                      },
                      "encoding": {
                        "enum": [
                          "utf-8",
                          "base64"
                        ],
                        "type": "string"
                      }
                    },
                    "required": [
                      "data"
                    ],
                    "type": "object"
                  }
                ],
                "description": "Single-file function source. The SDK uploads it to CAS and references it in the release."
              },
              "triggers": {
                "description": "Function triggers. A schedule is { type: \"schedule\", cron: \"0 9 * * *\" } (timezone optional, default UTC); the gateway derives its id and default run, and each tick creates a durable function run. An omitted triggers means none.",
                "items": {
                  "additionalProperties": true,
                  "properties": {
                    "cron": {
                      "type": "string"
                    },
                    "id": {
                      "type": "string"
                    },
                    "timezone": {
                      "type": "string"
                    },
                    "type": {
                      "enum": [
                        "schedule",
                        "email",
                        "app_repo"
                      ],
                      "type": "string"
                    }
                  },
                  "required": [
                    "type"
                  ],
                  "type": "object"
                },
                "type": "array"
              }
            },
            "type": "object"
          },
          "type": "object"
        }
      },
      "type": "object"
    },
    "i18n": {
      "anyOf": [
        {
          "type": "null"
        },
        {
          "additionalProperties": false,
          "properties": {
            "defaultLocale": {
              "description": "Default locale tag. MUST be byte-identical to one entry in locales[]. The platform does NOT silently canonicalize.",
              "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$",
              "type": "string"
            },
            "detect": {
              "description": "Walked in order; first match wins. Defaults to ['accept-language'] when omitted, max 10 entries; [] is allowed and means 'always default'.",
              "items": {
                "description": "Detect source: 'accept-language' or 'cookie:<name>' (RFC 6265 cookie-name grammar).",
                "pattern": "^(accept-language|cookie:[!#$%&'*+\\-.^_`|~0-9A-Za-z]+)$",
                "type": "string"
              },
              "maxItems": 10,
              "type": "array"
            },
            "locales": {
              "description": "Supported locale tags. Non-empty, max 50 entries. Tags are opaque — only the safety regex is enforced. Negotiation returns canonical casing from this array, not the request's casing.",
              "items": {
                "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$",
                "type": "string"
              },
              "maxItems": 50,
              "minItems": 1,
              "type": "array"
            }
          },
          "required": [
            "defaultLocale",
            "locales"
          ],
          "type": "object"
        }
      ],
      "description": "Routed-locale-context release slice. Omit to carry forward from base release; pass null to clear the slice; pass { defaultLocale, locales, detect? } to replace. Drives the negotiated locale that the gateway surfaces to routed HTTP function invocations via x-run402-locale and x-run402-default-locale request headers (omitted entirely when the active release has no i18n slice). Static-route hits do NOT receive locale negotiation."
    },
    "idempotency_key": {
      "description": "Optional client idempotency key. Combined with the project id and gateway-computed manifest digest to deduplicate retries.",
      "type": "string"
    },
    "project_id": {
      "description": "Project ID to deploy to (from provision).",
      "type": "string"
    },
    "routes": {
      "anyOf": [
        {
          "type": "null"
        },
        {
          "additionalProperties": false,
          "properties": {
            "replace": {
              "items": {
                "additionalProperties": false,
                "properties": {
                  "methods": {
                    "description": "Optional method allowlist. Omit to allow all supported methods; do not pass an empty array.",
                    "items": {
                      "enum": [
                        "GET",
                        "HEAD",
                        "POST",
                        "PUT",
                        "PATCH",
                        "DELETE",
                        "OPTIONS"
                      ],
                      "type": "string"
                    },
                    "minItems": 1,
                    "type": "array"
                  },
                  "pattern": {
                    "description": "Route pattern such as /api, /api/*, or /login. Prefix wildcards only use a final /*.",
                    "type": "string"
                  },
                  "target": {
                    "anyOf": [
                      {
                        "additionalProperties": false,
                        "properties": {
                          "name": {
                            "description": "Materialized release function name, not a file name or handler export.",
                            "type": "string"
                          },
                          "type": {
                            "const": "function",
                            "type": "string"
                          }
                        },
                        "required": [
                          "type",
                          "name"
                        ],
                        "type": "object"
                      },
                      {
                        "additionalProperties": false,
                        "properties": {
                          "file": {
                            "description": "Materialized static-site file path, relative to the site root. No leading slash, query, fragment, traversal, or directory shorthand.",
                            "type": "string"
                          },
                          "type": {
                            "const": "static",
                            "type": "string"
                          }
                        },
                        "required": [
                          "type",
                          "file"
                        ],
                        "type": "object"
                      }
                    ]
                  }
                },
                "required": [
                  "pattern",
                  "target"
                ],
                "type": "object"
              },
              "type": "array"
            }
          },
          "required": [
            "replace"
          ],
          "type": "object"
        }
      ],
      "description": "Apply-v1 web routes. Omit or pass null to carry forward base routes; pass { replace: [] } to clear routes; pass { replace: [{ pattern, methods?, target: { type: 'function', name } }] } for functions or exact GET/HEAD { target: { type: 'static', file } } entries for method-aware static route aliases. Prefer site.public_paths for ordinary clean static URLs."
    },
    "secrets": {
      "additionalProperties": false,
      "properties": {
        "delete": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "require": {
          "description": "Secret keys that must already exist. Set values first with `set_secret`; never put secret values in deploy specs.",
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      },
      "type": "object"
    },
    "site": {
      "anyOf": [
        {
          "additionalProperties": false,
          "properties": {
            "embedding": {
              "anyOf": [
                {
                  "additionalProperties": false,
                  "properties": {
                    "frame_ancestors": {
                      "description": "Platform embedding catalog KEYS (never raw origins). `localhost` expands to http://localhost:* and http://127.0.0.1:*; the gateway rejects unknown keys with INVALID_SPEC naming the valid ones.",
                      "items": {
                        "type": "string"
                      },
                      "minItems": 1,
                      "type": "array"
                    }
                  },
                  "required": [
                    "frame_ancestors"
                  ],
                  "type": "object"
                },
                {
                  "type": "null"
                }
              ],
              "description": "tenant-site-embedding: who may put the site in an iframe. The gateway then sends `Content-Security-Policy: frame-ancestors <expanded origins>` and drops X-Frame-Options on every response of the host. Omit to carry the previous release's declaration forward; null returns to the default deny."
            },
            "noindex": {
              "description": "true adds `X-Robots-Tag: noindex, nofollow, nosnippet` to every response of the host (gateway INVALID_SPEC on site.noindex for anything but a boolean or null). Omit to carry the previous release's value forward; false or null makes the host indexable again (the default).",
              "type": [
                "boolean",
                "null"
              ]
            },
            "public_paths": {
              "anyOf": [
                {
                  "additionalProperties": false,
                  "properties": {
                    "mode": {
                      "const": "implicit",
                      "description": "Restore filename-derived public reachability for static assets.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "mode"
                  ],
                  "type": "object"
                },
                {
                  "additionalProperties": false,
                  "properties": {
                    "mode": {
                      "const": "explicit",
                      "description": "Use only the complete replace table as direct public static URLs.",
                      "type": "string"
                    },
                    "replace": {
                      "additionalProperties": {
                        "additionalProperties": false,
                        "properties": {
                          "asset": {
                            "description": "Release static asset path, such as events.html. This is not a public URL.",
                            "type": "string"
                          },
                          "cache_class": {
                            "description": "Optional static cache class, for example html, immutable_versioned, or revalidating_asset.",
                            "type": "string"
                          }
                        },
                        "required": [
                          "asset"
                        ],
                        "type": "object"
                      },
                      "description": "Complete map from public browser paths such as /events to release static asset paths such as events.html.",
                      "type": "object"
                    }
                  },
                  "required": [
                    "mode",
                    "replace"
                  ],
                  "type": "object"
                }
              ]
            },
            "replace": {
              "$ref": "#/properties/functions/properties/replace/additionalProperties/properties/files"
            },
            "sign_in_path": {
              "description": "The app's own same-origin sign-in page (e.g. \"/join\") that MCP authorization (/_run402/oauth/authorize) sends a signed-out user to, with returnTo appended, instead of the hosted /auth/sign-in. Single leading /, at most 512 chars, no query/fragment, not under /_run402/ or /auth/ (the gateway refuses with INVALID_SPEC on site.sign_in_path). Omit to carry the previous release's value forward; null returns to the hosted page.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          "required": [
            "replace"
          ],
          "type": "object"
        },
        {
          "additionalProperties": false,
          "properties": {
            "embedding": {
              "$ref": "#/properties/site/anyOf/0/properties/embedding",
              "description": "tenant-site-embedding: who may put the site in an iframe. The gateway then sends `Content-Security-Policy: frame-ancestors <expanded origins>` and drops X-Frame-Options on every response of the host. Omit to carry the previous release's declaration forward; null returns to the default deny."
            },
            "noindex": {
              "$ref": "#/properties/site/anyOf/0/properties/noindex",
              "description": "true adds `X-Robots-Tag: noindex, nofollow, nosnippet` to every response of the host (gateway INVALID_SPEC on site.noindex for anything but a boolean or null). Omit to carry the previous release's value forward; false or null makes the host indexable again (the default)."
            },
            "patch": {
              "additionalProperties": false,
              "properties": {
                "delete": {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                "put": {
                  "$ref": "#/properties/functions/properties/replace/additionalProperties/properties/files"
                }
              },
              "type": "object"
            },
            "public_paths": {
              "$ref": "#/properties/site/anyOf/0/properties/public_paths"
            },
            "sign_in_path": {
              "$ref": "#/properties/site/anyOf/0/properties/sign_in_path",
              "description": "The app's own same-origin sign-in page (e.g. \"/join\") that MCP authorization (/_run402/oauth/authorize) sends a signed-out user to, with returnTo appended, instead of the hosted /auth/sign-in. Single leading /, at most 512 chars, no query/fragment, not under /_run402/ or /auth/ (the gateway refuses with INVALID_SPEC on site.sign_in_path). Omit to carry the previous release's value forward; null returns to the hosted page."
            }
          },
          "required": [
            "patch"
          ],
          "type": "object"
        },
        {
          "additionalProperties": false,
          "properties": {
            "embedding": {
              "$ref": "#/properties/site/anyOf/0/properties/embedding",
              "description": "tenant-site-embedding: who may put the site in an iframe. The gateway then sends `Content-Security-Policy: frame-ancestors <expanded origins>` and drops X-Frame-Options on every response of the host. Omit to carry the previous release's declaration forward; null returns to the default deny."
            },
            "noindex": {
              "$ref": "#/properties/site/anyOf/0/properties/noindex",
              "description": "true adds `X-Robots-Tag: noindex, nofollow, nosnippet` to every response of the host (gateway INVALID_SPEC on site.noindex for anything but a boolean or null). Omit to carry the previous release's value forward; false or null makes the host indexable again (the default)."
            },
            "public_paths": {
              "$ref": "#/properties/site/anyOf/0/properties/public_paths"
            },
            "sign_in_path": {
              "$ref": "#/properties/site/anyOf/0/properties/sign_in_path",
              "description": "The app's own same-origin sign-in page (e.g. \"/join\") that MCP authorization (/_run402/oauth/authorize) sends a signed-out user to, with returnTo appended, instead of the hosted /auth/sign-in. Single leading /, at most 512 chars, no query/fragment, not under /_run402/ or /auth/ (the gateway refuses with INVALID_SPEC on site.sign_in_path). Omit to carry the previous release's value forward; null returns to the hosted page."
            }
          },
          "required": [
            "public_paths"
          ],
          "type": "object"
        },
        {
          "additionalProperties": false,
          "properties": {
            "embedding": {
              "$ref": "#/properties/site/anyOf/0/properties/embedding"
            },
            "noindex": {
              "$ref": "#/properties/site/anyOf/0/properties/noindex",
              "description": "true adds `X-Robots-Tag: noindex, nofollow, nosnippet` to every response of the host (gateway INVALID_SPEC on site.noindex for anything but a boolean or null). Omit to carry the previous release's value forward; false or null makes the host indexable again (the default)."
            },
            "sign_in_path": {
              "$ref": "#/properties/site/anyOf/0/properties/sign_in_path",
              "description": "The app's own same-origin sign-in page (e.g. \"/join\") that MCP authorization (/_run402/oauth/authorize) sends a signed-out user to, with returnTo appended, instead of the hosted /auth/sign-in. Single leading /, at most 512 chars, no query/fragment, not under /_run402/ or /auth/ (the gateway refuses with INVALID_SPEC on site.sign_in_path). Omit to carry the previous release's value forward; null returns to the hosted page."
            }
          },
          "required": [
            "embedding"
          ],
          "type": "object"
        },
        {
          "additionalProperties": false,
          "properties": {
            "noindex": {
              "$ref": "#/properties/site/anyOf/0/properties/noindex",
              "description": "true adds `X-Robots-Tag: noindex, nofollow, nosnippet` to every response of the host (gateway INVALID_SPEC on site.noindex for anything but a boolean or null). Omit to carry the previous release's value forward; false or null makes the host indexable again (the default)."
            },
            "sign_in_path": {
              "$ref": "#/properties/site/anyOf/0/properties/sign_in_path"
            }
          },
          "required": [
            "sign_in_path"
          ],
          "type": "object"
        },
        {
          "additionalProperties": false,
          "properties": {
            "noindex": {
              "$ref": "#/properties/site/anyOf/0/properties/noindex"
            }
          },
          "required": [
            "noindex"
          ],
          "type": "object"
        }
      ]
    },
    "subdomains": {
      "additionalProperties": false,
      "description": "At most one subdomain per project — multi-element `set` is rejected with SUBDOMAIN_MULTI_NOT_SUPPORTED.",
      "properties": {
        "add": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "remove": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "set": {
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      },
      "type": "object"
    }
  },
  "required": [
    "project_id"
  ],
  "type": "object"
}
sha256:5d021d0a0f7842e94b357c531f33a931a6a55e1f008361ddeae50046c6c3e5c9

Output schema

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": true,
  "properties": {
    "error": {
      "additionalProperties": true,
      "properties": {
        "category": {
          "type": "string"
        },
        "code": {
          "type": "string"
        },
        "column": {
          "type": "integer"
        },
        "details": {},
        "diagnostics": {
          "items": {
            "additionalProperties": true,
            "properties": {
              "code": {
                "type": "string"
              },
              "column": {
                "type": "integer"
              },
              "line": {
                "type": "integer"
              },
              "message": {
                "type": "string"
              }
            },
            "required": [
              "line",
              "column",
              "code",
              "message"
            ],
            "type": "object"
          },
          "type": "array"
        },
        "diagnostics_ref": {
          "type": "string"
        },
        "diagnostics_total": {
          "type": "integer"
        },
        "fix": {},
        "http_status": {
          "type": "integer"
        },
        "line": {
          "type": "integer"
        },
        "logs": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "message": {
          "type": "string"
        },
        "mutation_state": {
          "type": "string"
        },
        "next_actions": {
          "items": {
            "additionalProperties": true,
            "properties": {
              "type": {
                "type": "string"
              }
            },
            "type": "object"
          },
          "type": "array"
        },
        "operation_id": {
          "type": "string"
        },
        "phase": {
          "type": "string"
        },
        "plan_id": {
          "type": "string"
        },
        "resource": {
          "type": "string"
        },
        "retryable": {
          "type": "boolean"
        },
        "safe_to_retry": {
          "type": "boolean"
        },
        "trace_id": {
          "type": "string"
        }
      },
      "required": [
        "code",
        "message",
        "next_actions"
      ],
      "type": "object"
    },
    "events": {
      "items": {
        "additionalProperties": true,
        "properties": {
          "type": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "type": "array"
    },
    "result": {
      "additionalProperties": true,
      "properties": {
        "next_actions": {
          "items": {
            "$ref": "#/properties/error/properties/next_actions/items"
          },
          "type": "array"
        },
        "operation_id": {
          "type": "string"
        },
        "release_id": {
          "type": "string"
        },
        "urls": {
          "additionalProperties": {},
          "type": "object"
        },
        "warnings": {
          "items": {
            "additionalProperties": true,
            "properties": {
              "code": {
                "type": "string"
              }
            },
            "type": "object"
          },
          "type": "array"
        }
      },
      "required": [
        "release_id",
        "operation_id",
        "urls"
      ],
      "type": "object"
    },
    "status": {
      "enum": [
        "ok",
        "error"
      ],
      "type": "string"
    },
    "warnings": {
      "items": {
        "$ref": "#/properties/result/properties/warnings/items"
      },
      "type": "array"
    }
  },
  "required": [
    "status"
  ],
  "type": "object"
}
sha256:407ee241fbf47371b0057ccbf8685f97ff1153fb0690d6bc99e87e83b455d13b

Description hash: sha256:f41c7d41b23717b2e31362eed2447198bc0f0d9cd94bf9b4f0b3fbbff40623d4

Interface hash: sha256:ece4372cd1aca716e9bff88344717ea4e3d88842d31c5cdafa2e94a85c5cdee0

Other observed Modelara metadata
{
  "id": "mcp:run402/deploy",
  "source": {
    "type": "mcp",
    "server": "run402",
    "operation": "deploy"
  },
  "declared": {
    "read_only": "unknown",
    "destructive": "unknown",
    "idempotent": "unknown",
    "open_world": "unknown"
  },
  "safety": {
    "idempotent": "unknown",
    "retry_safe": "false"
  },
  "metadata": {
    "mcp.annotations": "absent"
  },
  "fingerprint": "sha256:d134aa982e10202ebd6356368c9254695a43bcb633e453fda2b15e9374823352"
}
toolunknown4.154.0No change observed
docsrun402-mcp:tool:docs
Observed interface and hashes

The SDK reference for `run` snippets, from the copy shipped in this package, so it matches the SDK the snippet runs against. No arguments: the run primer, the r namespace table, and the topics. topic: one namespace or section (assets, project.apply, rooms, local-state) or sdk for all of it; search: sections containing every word. Long answers are a window plus a ref for expand_result. Any other operation is a `run` snippet against `r`, the Node SDK client; `docs` is its reference.

Input schema

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false,
  "properties": {
    "search": {
      "description": "Words to look for; returns up to 8 SDK reference sections whose heading or body contain all of them.",
      "type": "string"
    },
    "topic": {
      "description": "`index` (default: the run primer, the r namespace table, the topics), `sdk` (the whole SDK reference), or one section: a namespace such as `projects`, `assets`, `project.apply`, `rooms`, or a section slug from the index.",
      "type": "string"
    }
  },
  "type": "object"
}
sha256:31f3c6c55cc7a76396e54da6ab6af8546f3c3dee5dc3c7b650743a3fab80a59e

Output schema

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": true,
  "properties": {
    "error": {
      "additionalProperties": true,
      "properties": {
        "category": {
          "type": "string"
        },
        "code": {
          "type": "string"
        },
        "column": {
          "type": "integer"
        },
        "details": {},
        "diagnostics": {
          "items": {
            "additionalProperties": true,
            "properties": {
              "code": {
                "type": "string"
              },
              "column": {
                "type": "integer"
              },
              "line": {
                "type": "integer"
              },
              "message": {
                "type": "string"
              }
            },
            "required": [
              "line",
              "column",
              "code",
              "message"
            ],
            "type": "object"
          },
          "type": "array"
        },
        "diagnostics_ref": {
          "type": "string"
        },
        "diagnostics_total": {
          "type": "integer"
        },
        "fix": {},
        "http_status": {
          "type": "integer"
        },
        "line": {
          "type": "integer"
        },
        "logs": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "message": {
          "type": "string"
        },
        "mutation_state": {
          "type": "string"
        },
        "next_actions": {
          "items": {
            "additionalProperties": true,
            "properties": {
              "type": {
                "type": "string"
              }
            },
            "type": "object"
          },
          "type": "array"
        },
        "operation_id": {
          "type": "string"
        },
        "phase": {
          "type": "string"
        },
        "plan_id": {
          "type": "string"
        },
        "resource": {
          "type": "string"
        },
        "retryable": {
          "type": "boolean"
        },
        "safe_to_retry": {
          "type": "boolean"
        },
        "trace_id": {
          "type": "string"
        }
      },
      "required": [
        "code",
        "message",
        "next_actions"
      ],
      "type": "object"
    },
    "kind": {
      "type": "string"
    },
    "lines": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "ref": {
      "type": [
        "string",
        "null"
      ]
    },
    "shown": {
      "type": "integer"
    },
    "status": {
      "enum": [
        "ok",
        "error"
      ],
      "type": "string"
    },
    "total": {
      "type": "integer"
    }
  },
  "required": [
    "status"
  ],
  "type": "object"
}
sha256:9671b9007eeab8d3ef2e265cce118d913894912620006eee5eb5b37b78538c58

Description hash: sha256:ccee0fac67e788d26f21fe12e567b37411ad52ebca8e3bed451553915943f3e9

Interface hash: sha256:cc2c89c27bf7d76d4cce9bb927d36a4d208bced41f03b92d16429c902c4b7249

Other observed Modelara metadata
{
  "id": "mcp:run402/docs",
  "source": {
    "type": "mcp",
    "server": "run402",
    "operation": "docs"
  },
  "declared": {
    "read_only": "unknown",
    "destructive": "unknown",
    "idempotent": "unknown",
    "open_world": "unknown"
  },
  "safety": {
    "idempotent": "unknown",
    "retry_safe": "false"
  },
  "metadata": {
    "mcp.annotations": "absent"
  },
  "fingerprint": "sha256:5461e01a91f44f15b2e3a4e1dc1be97b70e8f2430a9d80ae2c7261b245ba014a"
}
toolunknown4.154.0No change observed
doctorrun402-mcp:tool:doctor
Observed interface and hashes

Local health and configuration diagnostics (r.doctor()): { ok, blocking[], warnings[], checks[] }, the same report as `run402 doctor`. ok is false only on a blocking finding. Any other operation is a `run` snippet against `r`, the Node SDK client; `docs` is its reference.

Input schema

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false,
  "properties": {
    "project_id": {
      "description": "Target this project's vault check. Omitted: the repository's own remote, else the active project.",
      "type": "string"
    }
  },
  "type": "object"
}
sha256:4f462dff3babe3ebadddfd6c10019fb356b6cc6da7732db29fff925e15e44baa

Output schema

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": true,
  "properties": {
    "error": {
      "additionalProperties": true,
      "properties": {
        "category": {
          "type": "string"
        },
        "code": {
          "type": "string"
        },
        "column": {
          "type": "integer"
        },
        "details": {},
        "diagnostics": {
          "items": {
            "additionalProperties": true,
            "properties": {
              "code": {
                "type": "string"
              },
              "column": {
                "type": "integer"
              },
              "line": {
                "type": "integer"
              },
              "message": {
                "type": "string"
              }
            },
            "required": [
              "line",
              "column",
              "code",
              "message"
            ],
            "type": "object"
          },
          "type": "array"
        },
        "diagnostics_ref": {
          "type": "string"
        },
        "diagnostics_total": {
          "type": "integer"
        },
        "fix": {},
        "http_status": {
          "type": "integer"
        },
        "line": {
          "type": "integer"
        },
        "logs": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "message": {
          "type": "string"
        },
        "mutation_state": {
          "type": "string"
        },
        "next_actions": {
          "items": {
            "additionalProperties": true,
            "properties": {
              "type": {
                "type": "string"
              }
            },
            "type": "object"
          },
          "type": "array"
        },
        "operation_id": {
          "type": "string"
        },
        "phase": {
          "type": "string"
        },
        "plan_id": {
          "type": "string"
        },
        "resource": {
          "type": "string"
        },
        "retryable": {
          "type": "boolean"
        },
        "safe_to_retry": {
          "type": "boolean"
        },
        "trace_id": {
          "type": "string"
        }
      },
      "required": [
        "code",
        "message",
        "next_actions"
      ],
      "type": "object"
    },
    "result": {
      "additionalProperties": true,
      "properties": {
        "blocking": {
          "items": {
            "additionalProperties": true,
            "properties": {},
            "type": "object"
          },
          "type": "array"
        },
        "checks": {
          "items": {
            "additionalProperties": true,
            "properties": {
              "name": {
                "type": "string"
              },
              "status": {
                "type": "string"
              }
            },
            "required": [
              "name",
              "status"
            ],
            "type": "object"
          },
          "type": "array"
        },
        "ok": {
          "type": "boolean"
        },
        "warnings": {
          "items": {
            "additionalProperties": true,
            "properties": {},
            "type": "object"
          },
          "type": "array"
        }
      },
      "required": [
        "ok",
        "blocking",
        "warnings",
        "checks"
      ],
      "type": "object"
    },
    "status": {
      "enum": [
        "ok",
        "error"
      ],
      "type": "string"
    }
  },
  "required": [
    "status"
  ],
  "type": "object"
}
sha256:1e5522aecae6a2c772958dc6c8f84f4e443c324bab0f05c7e46d6f92736584d2

Description hash: sha256:3d4cd519066756d5064b81218d839533d5e0d47509ea522c916626062c51cf5c

Interface hash: sha256:086f8ef64195c37c421d982a8d2297155cd24f3d72a2760d5fe7a7a1749645b0

Other observed Modelara metadata
{
  "id": "mcp:run402/doctor",
  "source": {
    "type": "mcp",
    "server": "run402",
    "operation": "doctor"
  },
  "declared": {
    "read_only": "unknown",
    "destructive": "unknown",
    "idempotent": "unknown",
    "open_world": "unknown"
  },
  "safety": {
    "idempotent": "unknown",
    "retry_safe": "false"
  },
  "metadata": {
    "mcp.annotations": "absent"
  },
  "fingerprint": "sha256:5330904c41b135a5348bf15be017bfbca7e98eb2cf79521f516614c1dc39e4a8"
}
toolunknown4.154.0No change observed
expand_resultrun402-mcp:tool:expand_result
Observed interface and hashes

Fetch more of a result a previous tool showed you only a window of. Tools on this surface truncate the VIEW, never the DATA: when one prints a ref together with shown and total, the full result is held behind that ref and this is how you read the rest of it. Pass the ref plus offset and limit to page through it. Refs live in this server process only — they expire after 30 minutes and only the most recent handful are kept, so re-run the producing tool rather than storing a ref across sessions. A result that carried a secret is never retained and never has a ref, so nothing here can hand one back.

Input schema

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false,
  "properties": {
    "limit": {
      "description": "How many items to return, 100 by default and at most 1000. The window stays bounded even when expanded — page with offset rather than asking for everything at once.",
      "maximum": 1000,
      "minimum": 1,
      "type": "integer"
    },
    "offset": {
      "description": "Index of the first item to return. Defaults to 0. Page by adding the previous window's shown count.",
      "minimum": 0,
      "type": "integer"
    },
    "ref": {
      "description": "The opaque handle a tool printed alongside its bounded view (res_ followed by 16 hex). Refs are per-process and short-lived — do not store one across sessions.",
      "type": "string"
    }
  },
  "required": [
    "ref"
  ],
  "type": "object"
}
sha256:620bdbc40f64e37e32d2c0a72cc8fc43ea41f75f2270116eec1b20ad46f879b6

Output schema

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": true,
  "properties": {
    "error": {
      "additionalProperties": true,
      "properties": {
        "category": {
          "type": "string"
        },
        "code": {
          "type": "string"
        },
        "column": {
          "type": "integer"
        },
        "details": {},
        "diagnostics": {
          "items": {
            "additionalProperties": true,
            "properties": {
              "code": {
                "type": "string"
              },
              "column": {
                "type": "integer"
              },
              "line": {
                "type": "integer"
              },
              "message": {
                "type": "string"
              }
            },
            "required": [
              "line",
              "column",
              "code",
              "message"
            ],
            "type": "object"
          },
          "type": "array"
        },
        "diagnostics_ref": {
          "type": "string"
        },
        "diagnostics_total": {
          "type": "integer"
        },
        "fix": {},
        "http_status": {
          "type": "integer"
        },
        "line": {
          "type": "integer"
        },
        "logs": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "message": {
          "type": "string"
        },
        "mutation_state": {
          "type": "string"
        },
        "next_actions": {
          "items": {
            "additionalProperties": true,
            "properties": {
              "type": {
                "type": "string"
              }
            },
            "type": "object"
          },
          "type": "array"
        },
        "operation_id": {
          "type": "string"
        },
        "phase": {
          "type": "string"
        },
        "plan_id": {
          "type": "string"
        },
        "resource": {
          "type": "string"
        },
        "retryable": {
          "type": "boolean"
        },
        "safe_to_retry": {
          "type": "boolean"
        },
        "trace_id": {
          "type": "string"
        }
      },
      "required": [
        "code",
        "message",
        "next_actions"
      ],
      "type": "object"
    },
    "items": {
      "items": {},
      "type": "array"
    },
    "kind": {
      "type": "string"
    },
    "offset": {
      "type": "integer"
    },
    "ref": {
      "type": "string"
    },
    "shown": {
      "type": "integer"
    },
    "status": {
      "enum": [
        "ok",
        "error"
      ],
      "type": "string"
    },
    "total": {
      "type": "integer"
    }
  },
  "required": [
    "status"
  ],
  "type": "object"
}
sha256:839f6e6bfdd5794a99691c49ca4501d33d36a1ed3f63a62f3bd3df54114d9014

Description hash: sha256:6e0d73421790947e99fe98e53ff332b0af0e824800698c4c90bc7be66ca3c28e

Interface hash: sha256:80e2440956fadf737dda7c720c432c25703a53c4df8515b0bb6d5f084ed0310c

Other observed Modelara metadata
{
  "id": "mcp:run402/expand_result",
  "source": {
    "type": "mcp",
    "server": "run402",
    "operation": "expand_result"
  },
  "declared": {
    "read_only": "unknown",
    "destructive": "unknown",
    "idempotent": "unknown",
    "open_world": "unknown"
  },
  "safety": {
    "idempotent": "unknown",
    "retry_safe": "false"
  },
  "metadata": {
    "mcp.annotations": "absent"
  },
  "fingerprint": "sha256:0c820fe3c2b4eb3ef53199f2dee195c4c95efefe4fca84bf8020fcddd7366d75"
}
toolunknown4.154.0No change observed
runrun402-mcp:tool:run
Observed interface and hashes

Run a TypeScript snippet against the SDK in a sandbox. `r` is the Node SDK client (@run402/sdk/node); call `docs` for its reference. The code is the body of an async function: await r chains, and the value of the last expression (or a return) is the result, e.g. `(await r.projects.list()).projects.map((p) => p.id)`. It is type-checked against the SDK before anything runs: a type error comes back with its line and TypeScript's message, and makes no call. No filesystem, process, fetch, timers, or imports; console is captured. Returns { status, value, value_ref, shown, total, logs, logs_ref, calls, duration_ms, wallet, error? }; a large value is stored whole and expand_result pages it. Operations that return or consume a one-time secret (grant keys, Handoff and Invite Keys, project credentials, wallet keys) refuse with SECRET_REQUIRES_CLI naming the exact CLI command to hand the person. Any other operation is a run snippet against r.

Input schema

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false,
  "properties": {
    "code": {
      "description": "TypeScript or JavaScript, run as the body of an async function: top-level await works, and the value of an explicit return or of the last expression statement is the result. `r` is the Node SDK client (`@run402/sdk/node`): await any chain, e.g. `(await r.projects.list()).projects.map(p => p.id)` or `await r.project(\"prj_…\").functions.list()`. The snippet is type-checked against the SDK before anything runs, and a type error makes no call; then types are stripped: no enum, no parameter properties. No filesystem, process, fetch, timers, or imports; `console` is captured.",
      "minLength": 1,
      "type": "string"
    },
    "timeout_seconds": {
      "description": "Deadline for the whole run, 60 s by default and at most 300. An SDK call in flight at the deadline completes on its own; the result lists every call that completed.",
      "maximum": 300,
      "minimum": 1,
      "type": "integer"
    }
  },
  "required": [
    "code"
  ],
  "type": "object"
}
sha256:c0456a918c275fb71bf09699c88ee566094bfa6766c8240ef60ec8dd1ae9f133

Output schema

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": true,
  "properties": {
    "calls": {
      "items": {
        "additionalProperties": true,
        "properties": {
          "code": {
            "type": "string"
          },
          "duration_ms": {
            "type": "number"
          },
          "ok": {
            "type": "boolean"
          },
          "path": {
            "type": "string"
          },
          "payment_attempt_id": {
            "type": "string"
          }
        },
        "required": [
          "path",
          "duration_ms",
          "ok"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "calls_dropped": {
      "type": "integer"
    },
    "duration_ms": {
      "type": "number"
    },
    "error": {
      "additionalProperties": true,
      "properties": {
        "category": {
          "type": "string"
        },
        "code": {
          "type": "string"
        },
        "column": {
          "type": "integer"
        },
        "details": {},
        "diagnostics": {
          "items": {
            "additionalProperties": true,
            "properties": {
              "code": {
                "type": "string"
              },
              "column": {
                "type": "integer"
              },
              "line": {
                "type": "integer"
              },
              "message": {
                "type": "string"
              }
            },
            "required": [
              "line",
              "column",
              "code",
              "message"
            ],
            "type": "object"
          },
          "type": "array"
        },
        "diagnostics_ref": {
          "type": "string"
        },
        "diagnostics_total": {
          "type": "integer"
        },
        "fix": {},
        "http_status": {
          "type": "integer"
        },
        "line": {
          "type": "integer"
        },
        "logs": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "message": {
          "type": "string"
        },
        "mutation_state": {
          "type": "string"
        },
        "next_actions": {
          "items": {
            "additionalProperties": true,
            "properties": {
              "type": {
                "type": "string"
              }
            },
            "type": "object"
          },
          "type": "array"
        },
        "operation_id": {
          "type": "string"
        },
        "phase": {
          "type": "string"
        },
        "plan_id": {
          "type": "string"
        },
        "resource": {
          "type": "string"
        },
        "retryable": {
          "type": "boolean"
        },
        "safe_to_retry": {
          "type": "boolean"
        },
        "trace_id": {
          "type": "string"
        }
      },
      "required": [
        "code",
        "message",
        "next_actions"
      ],
      "type": "object"
    },
    "logs": {
      "items": {
        "additionalProperties": true,
        "properties": {
          "level": {
            "enum": [
              "log",
              "info",
              "warn",
              "error"
            ],
            "type": "string"
          },
          "line": {
            "type": "string"
          }
        },
        "required": [
          "level",
          "line"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "logs_dropped": {
      "type": "integer"
    },
    "logs_ref": {
      "type": [
        "string",
        "null"
      ]
    },
    "shown": {
      "type": "integer"
    },
    "status": {
      "enum": [
        "ok",
        "error"
      ],
      "type": "string"
    },
    "total": {
      "type": "integer"
    },
    "type_check": {
      "additionalProperties": true,
      "properties": {
        "reason": {
          "type": "string"
        },
        "status": {
          "const": "skipped",
          "type": "string"
        }
      },
      "required": [
        "status",
        "reason"
      ],
      "type": "object"
    },
    "value": {},
    "value_kind": {
      "const": "undefined",
      "type": "string"
    },
    "value_ref": {
      "type": [
        "string",
        "null"
      ]
    },
    "value_window": {
      "additionalProperties": true,
      "properties": {
        "items": {
          "items": {},
          "type": "array"
        },
        "path": {
          "type": "string"
        },
        "rest": {
          "additionalProperties": true,
          "properties": {},
          "type": "object"
        }
      },
      "required": [
        "path",
        "items"
      ],
      "type": "object"
    },
    "wallet": {
      "additionalProperties": true,
      "properties": {
        "address": {
          "type": [
            "string",
            "null"
          ]
        },
        "local_label": {
          "type": "string"
        }
      },
      "required": [
        "local_label",
        "address"
      ],
      "type": "object"
    }
  },
  "required": [
    "status"
  ],
  "type": "object"
}
sha256:216f3fd78e59503aa7401eb969199b349e6c194b8a857f22d06a5d8ee3a709ab

Description hash: sha256:10504e0118d286ee167cf2d8ad4b64e872caffab11b115d8bbfc64511dee8a81

Interface hash: sha256:655c14701ff10563f8ce56a0fea29fd3e0ce2e9073866d8381cb84501a68daff

Other observed Modelara metadata
{
  "id": "mcp:run402/run",
  "source": {
    "type": "mcp",
    "server": "run402",
    "operation": "run"
  },
  "declared": {
    "read_only": "unknown",
    "destructive": "unknown",
    "idempotent": "unknown",
    "open_world": "unknown"
  },
  "safety": {
    "idempotent": "unknown",
    "retry_safe": "false"
  },
  "metadata": {
    "mcp.annotations": "absent"
  },
  "fingerprint": "sha256:eef5f76b8e80dd7632b0be7ce8f7bdda533c78fab65b6f84bf0b216d88179942"
}
toolunknown4.154.0No change observed
statusrun402-mcp:tool:status
Observed interface and hashes

The organization's state as this server's wallet sees it (r.status()): the wallet's local_label, server_label, and address, the tier and its lease, the allowance, the projects, and the active project. Never key material. Any other operation is a `run` snippet against `r`, the Node SDK client; `docs` is its reference.

Input schema

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false,
  "properties": {},
  "type": "object"
}
sha256:f107d1e3b63451635fd93d490ce4f07ca03013ddbceb89cba31fb9c423492739

Output schema

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": true,
  "properties": {
    "error": {
      "additionalProperties": true,
      "properties": {
        "category": {
          "type": "string"
        },
        "code": {
          "type": "string"
        },
        "column": {
          "type": "integer"
        },
        "details": {},
        "diagnostics": {
          "items": {
            "additionalProperties": true,
            "properties": {
              "code": {
                "type": "string"
              },
              "column": {
                "type": "integer"
              },
              "line": {
                "type": "integer"
              },
              "message": {
                "type": "string"
              }
            },
            "required": [
              "line",
              "column",
              "code",
              "message"
            ],
            "type": "object"
          },
          "type": "array"
        },
        "diagnostics_ref": {
          "type": "string"
        },
        "diagnostics_total": {
          "type": "integer"
        },
        "fix": {},
        "http_status": {
          "type": "integer"
        },
        "line": {
          "type": "integer"
        },
        "logs": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "message": {
          "type": "string"
        },
        "mutation_state": {
          "type": "string"
        },
        "next_actions": {
          "items": {
            "additionalProperties": true,
            "properties": {
              "type": {
                "type": "string"
              }
            },
            "type": "object"
          },
          "type": "array"
        },
        "operation_id": {
          "type": "string"
        },
        "phase": {
          "type": "string"
        },
        "plan_id": {
          "type": "string"
        },
        "resource": {
          "type": "string"
        },
        "retryable": {
          "type": "boolean"
        },
        "safe_to_retry": {
          "type": "boolean"
        },
        "trace_id": {
          "type": "string"
        }
      },
      "required": [
        "code",
        "message",
        "next_actions"
      ],
      "type": "object"
    },
    "result": {
      "additionalProperties": true,
      "properties": {
        "active_project": {
          "type": [
            "string",
            "null"
          ]
        },
        "projects": {
          "items": {
            "additionalProperties": true,
            "properties": {
              "project_id": {
                "type": "string"
              }
            },
            "required": [
              "project_id"
            ],
            "type": "object"
          },
          "type": "array"
        },
        "tier": {
          "anyOf": [
            {
              "additionalProperties": true,
              "properties": {
                "expires": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "name": {
                  "type": "string"
                },
                "status": {
                  "type": "string"
                }
              },
              "required": [
                "name",
                "status",
                "expires"
              ],
              "type": "object"
            },
            {
              "type": "null"
            }
          ]
        },
        "wallet": {
          "anyOf": [
            {
              "additionalProperties": true,
              "properties": {
                "address": {
                  "type": "string"
                },
                "local_label": {
                  "type": "string"
                },
                "server_label": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "required": [
                "local_label",
                "address"
              ],
              "type": "object"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "wallet",
        "projects",
        "active_project"
      ],
      "type": "object"
    },
    "status": {
      "enum": [
        "ok",
        "error"
      ],
      "type": "string"
    }
  },
  "required": [
    "status"
  ],
  "type": "object"
}
sha256:4843485b85491b6ed7ef1742d2fb1672f60d0bd9804fa943f41d2efb80f7927e

Description hash: sha256:0215c7c57dea7a7cdce3ddb9dff453b66017b8554548b4fe9b667b794c99d61a

Interface hash: sha256:7e6bc98dbf67974742a7cffcd2e8b0533fc8750e7695d557377126f7ecfd867e

Other observed Modelara metadata
{
  "id": "mcp:run402/status",
  "source": {
    "type": "mcp",
    "server": "run402",
    "operation": "status"
  },
  "declared": {
    "read_only": "unknown",
    "destructive": "unknown",
    "idempotent": "unknown",
    "open_world": "unknown"
  },
  "safety": {
    "idempotent": "unknown",
    "retry_safe": "false"
  },
  "metadata": {
    "mcp.annotations": "absent"
  },
  "fingerprint": "sha256:05107a05aec36ae516bb8df5faefe1f1641ada45239e4ead992645213f8828cd"
}
toolunknown4.154.0No change observed
uprun402-mcp:tool:up
Observed interface and hashes

Plan or run the canonical app-aware `run402 up` workflow from a local path or repo URL: any missing setup (wallet, tier, project, workspace link), then the deploy. Delegates to the SDK and returns the shared up result envelope with graph steps, resources, diagnostics, and next_actions. `deploy` only deploys.

Input schema

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false,
  "properties": {
    "allow_prune": {
      "description": "Approve destructive managed-resource prune steps.",
      "type": "boolean"
    },
    "allow_shell_build": {
      "description": "Approve shell-string build commands after review.",
      "type": "boolean"
    },
    "build_mode": {
      "description": "Override app build mode.",
      "enum": [
        "local",
        "remote",
        "sandbox"
      ],
      "type": "string"
    },
    "dir": {
      "description": "Workspace directory to inspect when source is omitted.",
      "type": "string"
    },
    "display_name": {
      "description": "Display name to set on this principal (promotion credit and room presence use it); overrides an existing name. Omitted: RUN402_AGENT_NAME when set (same effect); else, only when the principal has no name yet, the detected client name (claude-code, codex, cursor, or grok; RUN402_CLIENT=<name> declares one that is not auto-detected) is set and reported as identity.source \"detected\"; otherwise nothing is written (identity.source \"undetected\", room presence 'agent' for coordination only). A detected client that was not applied is still reported under identity.detected / identity.detection.",
      "maxLength": 64,
      "minLength": 1,
      "type": "string"
    },
    "dry_run": {
      "description": "Plan only. No gateway mutation, build execution, release commit, local link write, or prune.",
      "type": "boolean"
    },
    "idempotency_key": {
      "description": "Root idempotency key for resumable app-up graph mutations.",
      "type": "string"
    },
    "manifest": {
      "description": "Explicit manifest path. Defaults to run402.json, then advanced release-only manifests.",
      "type": "string"
    },
    "max_spend_usd": {
      "description": "Maximum spend up may approve for readiness steps.",
      "minimum": 0,
      "type": "number"
    },
    "name": {
      "description": "Project/app instance name, for example kysigned2.",
      "type": "string"
    },
    "no_rehearse": {
      "description": "Skip the automatic rehearsal. By default a migration-bearing deploy against a project with a live release is rehearsed on a contained branch and committed only on a passing report; a first deploy has nothing to protect and commits directly, and a plan whose migrations are all already applied with an identical checksum is not rehearsed either (result.deploy.rehearsal says which: no_live_release / migrations_unchanged / no_migrations).",
      "type": "boolean"
    },
    "project_id": {
      "description": "Existing project id to install into.",
      "type": "string"
    },
    "source": {
      "description": "Local app directory or public Git repository URL. Defaults to the current directory.",
      "type": "string"
    },
    "tier": {
      "description": "Bootstrap tier if account readiness is needed.",
      "enum": [
        "prototype",
        "hobby",
        "team"
      ],
      "type": "string"
    },
    "yes": {
      "description": "Approve non-interactive prerequisite, spend, and local-write prompts.",
      "type": "boolean"
    }
  },
  "type": "object"
}
sha256:95a362e7d115e947e34612c2e08fb023128fc5d0e06be322611a329b15f31745

Output schema

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": true,
  "properties": {
    "error": {
      "additionalProperties": true,
      "properties": {
        "category": {
          "type": "string"
        },
        "code": {
          "type": "string"
        },
        "column": {
          "type": "integer"
        },
        "details": {},
        "diagnostics": {
          "items": {
            "additionalProperties": true,
            "properties": {
              "code": {
                "type": "string"
              },
              "column": {
                "type": "integer"
              },
              "line": {
                "type": "integer"
              },
              "message": {
                "type": "string"
              }
            },
            "required": [
              "line",
              "column",
              "code",
              "message"
            ],
            "type": "object"
          },
          "type": "array"
        },
        "diagnostics_ref": {
          "type": "string"
        },
        "diagnostics_total": {
          "type": "integer"
        },
        "fix": {},
        "http_status": {
          "type": "integer"
        },
        "line": {
          "type": "integer"
        },
        "logs": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "message": {
          "type": "string"
        },
        "mutation_state": {
          "type": "string"
        },
        "next_actions": {
          "items": {
            "additionalProperties": true,
            "properties": {
              "type": {
                "type": "string"
              }
            },
            "type": "object"
          },
          "type": "array"
        },
        "operation_id": {
          "type": "string"
        },
        "phase": {
          "type": "string"
        },
        "plan_id": {
          "type": "string"
        },
        "resource": {
          "type": "string"
        },
        "retryable": {
          "type": "boolean"
        },
        "safe_to_retry": {
          "type": "boolean"
        },
        "trace_id": {
          "type": "string"
        }
      },
      "required": [
        "code",
        "message",
        "next_actions"
      ],
      "type": "object"
    },
    "result": {
      "additionalProperties": true,
      "properties": {
        "action": {
          "type": "string"
        },
        "dry_run": {
          "type": "boolean"
        },
        "mode": {
          "type": "string"
        },
        "result": {},
        "steps": {
          "items": {
            "additionalProperties": true,
            "properties": {},
            "type": "object"
          },
          "type": "array"
        }
      },
      "type": "object"
    },
    "status": {
      "enum": [
        "ok",
        "error"
      ],
      "type": "string"
    }
  },
  "required": [
    "status"
  ],
  "type": "object"
}
sha256:0c918c925aa6999b2e119f1196a5f0353e4c6d6867eee48675a3dbe48a3f9ffb

Description hash: sha256:c866d78c52877756559e05af60de4ef6f0c07a4ab06612261491b48e73217872

Interface hash: sha256:2834fc9d02f1379dd5cc5d2b122c795952a2404365fad0a1c9ef2d41d1279109

Other observed Modelara metadata
{
  "id": "mcp:run402/up",
  "source": {
    "type": "mcp",
    "server": "run402",
    "operation": "up"
  },
  "declared": {
    "read_only": "unknown",
    "destructive": "unknown",
    "idempotent": "unknown",
    "open_world": "unknown"
  },
  "safety": {
    "idempotent": "unknown",
    "retry_safe": "false"
  },
  "metadata": {
    "mcp.annotations": "absent"
  },
  "fingerprint": "sha256:983cdd69245b0da3bd32522baef42f20472e89dd36482c2b94425dbf21a1fe03"
}
toolunknown4.154.0No change observed
whoamirun402-mcp:tool:whoami
Observed interface and hashes

The remote identity (r.orgs.whoami()): the control-plane principal this server's wallet resolves to, its active authenticator and linked identities, its org memberships, and the sign-in session grade (none for a wallet). For the local wallet use status. Any other operation is a `run` snippet against `r`, the Node SDK client; `docs` is its reference.

Input schema

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false,
  "properties": {},
  "type": "object"
}
sha256:f107d1e3b63451635fd93d490ce4f07ca03013ddbceb89cba31fb9c423492739

Output schema

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": true,
  "properties": {
    "error": {
      "additionalProperties": true,
      "properties": {
        "category": {
          "type": "string"
        },
        "code": {
          "type": "string"
        },
        "column": {
          "type": "integer"
        },
        "details": {},
        "diagnostics": {
          "items": {
            "additionalProperties": true,
            "properties": {
              "code": {
                "type": "string"
              },
              "column": {
                "type": "integer"
              },
              "line": {
                "type": "integer"
              },
              "message": {
                "type": "string"
              }
            },
            "required": [
              "line",
              "column",
              "code",
              "message"
            ],
            "type": "object"
          },
          "type": "array"
        },
        "diagnostics_ref": {
          "type": "string"
        },
        "diagnostics_total": {
          "type": "integer"
        },
        "fix": {},
        "http_status": {
          "type": "integer"
        },
        "line": {
          "type": "integer"
        },
        "logs": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "message": {
          "type": "string"
        },
        "mutation_state": {
          "type": "string"
        },
        "next_actions": {
          "items": {
            "additionalProperties": true,
            "properties": {
              "type": {
                "type": "string"
              }
            },
            "type": "object"
          },
          "type": "array"
        },
        "operation_id": {
          "type": "string"
        },
        "phase": {
          "type": "string"
        },
        "plan_id": {
          "type": "string"
        },
        "resource": {
          "type": "string"
        },
        "retryable": {
          "type": "boolean"
        },
        "safe_to_retry": {
          "type": "boolean"
        },
        "trace_id": {
          "type": "string"
        }
      },
      "required": [
        "code",
        "message",
        "next_actions"
      ],
      "type": "object"
    },
    "result": {
      "additionalProperties": true,
      "properties": {
        "memberships": {
          "items": {
            "additionalProperties": true,
            "properties": {
              "org_id": {
                "type": "string"
              },
              "role": {
                "type": "string"
              }
            },
            "required": [
              "org_id"
            ],
            "type": "object"
          },
          "type": "array"
        },
        "principal": {
          "additionalProperties": true,
          "properties": {
            "id": {
              "type": "string"
            },
            "type": {
              "type": "string"
            }
          },
          "required": [
            "id"
          ],
          "type": "object"
        },
        "session": {
          "anyOf": [
            {
              "additionalProperties": true,
              "properties": {
                "grade": {
                  "type": "string"
                }
              },
              "type": "object"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "principal",
        "memberships"
      ],
      "type": "object"
    },
    "status": {
      "enum": [
        "ok",
        "error"
      ],
      "type": "string"
    }
  },
  "required": [
    "status"
  ],
  "type": "object"
}
sha256:4e84d6797692d3cb1e684af23349f10593c695991b3d9fee62381667ea9b7545

Description hash: sha256:b43ca9dad6e40e387e4956e9fcb38892957c83faf60e650d7fcdd0eb9a39d0ce

Interface hash: sha256:384cc1e2cbe6046d3719bbfd5b81385d39586af14d6071bf27c09b4a9de1dadf

Other observed Modelara metadata
{
  "id": "mcp:run402/whoami",
  "source": {
    "type": "mcp",
    "server": "run402",
    "operation": "whoami"
  },
  "declared": {
    "read_only": "unknown",
    "destructive": "unknown",
    "idempotent": "unknown",
    "open_world": "unknown"
  },
  "safety": {
    "idempotent": "unknown",
    "retry_safe": "false"
  },
  "metadata": {
    "mcp.annotations": "absent"
  },
  "fingerprint": "sha256:e3c0c57a8b7c8135d0dd8b68887d7d501d64ec9d9017ab780d485e806307ba03"
}
toolunknown4.154.0No change observed

STATIC COMPARISONS

Release history

2 release transitions
  1. 0 added0 removed0 schema0 write0 destructive0 unknown

    Nov 16, 2026· Automated static analysis

  2. 0 added0 removed0 schema0 write0 destructive0 unknown

    Nov 16, 2026· Automated static analysis