MCP

Tenant mutation preflight (supply + optional RBAC)

HTTP parity with MCP preflight.check — shared build_preflight_check_data spine.

get/mcp/preflight

Request

  • Base URL: https://api.agentstack.tech (the document declares no server; this is the origin it was published from)
  • URL: https://api.agentstack.tech/mcp/preflight
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Query parameters

project_idinteger required

Tenant project id

permissionstring nullable

Optional RBAC permission to check

actionstring nullable

Optional MCP action for risk/effect probe

action_paramsstring nullable

JSON object — invoke params for FAP path probe

path_updatesstring nullable

JSON array — [{path, role?}] FAP probe before mutation

publish_askedboolean

User already asked to publish — skips second confirm in action_risk

goal_textstring nullable

Natural-language goal for effect_policy probe (parity with preflight.check)

semantic_contractstring nullable

JSON fingerprinted semantic_contract (parity with preflight.check)

Response

Successful Response

object required

Changes

No recorded changes to this operation across all 1 revision of this API.