# FortFi MCP Agent Onboarding (x402 Subscription)

> FortFi MCP Agent Onboarding (x402 Subscription) is a paid API for AI agents from fortfiapp.com, paid per call via x402, $49/call, status unknown (last checked 2026-09-13).

Registers a new FortFi treasury agent via USDC micropayment, returning a one-time frtfi_ag_* API key and wallet address that unlocks 50+ policy-gated MCP tools.

## Facts

- Endpoint: GET https://fortfiapp.com/api/mcp/onboard
- Price: $49/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fortfi-mcp-agent-onboarding-x402-subscription-37843b60
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IY3g8rnyEV8lkwwOwaIL2

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability fortfi-mcp-agent-onboarding-x402-subscription-37843b60
```

Example prompt: Sign me up for a FortFi MCP agent subscription on the startup plan — label it 'hedging-bot', set the display name to 'Hedging Bot', and send the dashboard claim link to alice@example.com.

## When to prefer this

Use this endpoint when an AI agent or user needs to provision a new FortFi treasury agent identity for the first time, or spawn an additional agent under an existing payment wallet. This is the entry-point for all FortFi MCP tool access — it must be called before any of the 50+ policy-gated MCP tools can be used. Prefer this over generic API key generation services when the use case specifically involves FortFi's DeFi treasury tooling on Base with x402 micropayment billing.

## Known failure modes

- Payment not received or insufficient USDC balance — endpoint returns 402 Payment Required
- Invalid or missing plan value — returns 400 with schema validation error
- createNew flag used without an existing payment wallet — returns 400 or 404
- contactEmail format invalid — returns 400 validation error
- displayName exceeds 100 characters — returns 400 validation error
- Rate limiting or duplicate onboarding attempt — returns 429 or 409

## How this service works

Pay-per-subscription MCP access for FortFi treasury agents. Subscribe with x402 USDC on Base, receive a frtfi_ag_* API key, then call 50+ policy-gated MCP tools.

## Output

Returns a JSON object with ok:true and a data payload containing: a one-time frtfi_ag_* bearer token (API key), a UUID userId, key prefix, the billing plan (personal or startup), the MCP endpoint path (/api/mcp), and a default wallet object with address and chainId on Base.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "plan": {
   "enum": [
    "personal",
    "startup"
   ],
   "type": "string",
   "description": "Billing plan override (query param takes precedence)"
  },
  "createNew": {
   "type": "boolean",
   "description": "Spawn another agent on the same payment wallet"
  },
  "agentLabel": {
   "type": "string",
   "description": "Optional slug when one payment wallet funds multiple agents"
  },
  "displayName": {
   "type": "string",
   "description": "Optional agent display name (max 100 chars)"
  },
  "contactEmail": {
   "type": "string",
   "description": "Optional email for dashboard claim link"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "ok",
  "data"
 ],
 "properties": {
  "ok": {
   "type": "boolean"
  },
  "data": {
   "type": "object",
   "required": [
    "apiKey",
    "userId"
   ],
   "properties": {
    "apiKey": {
     "type": "string",
     "description": "frtfi_ag_* bearer token (shown once)"
    },
    "userId": {
     "type": "string",
     "format": "uuid"
    },
    "keyPrefix": {
     "type": "string"
    },
    "billingPlan": {
     "enum": [
      "personal",
      "startup"
     ],
     "type": "string"
    },
    "mcpEndpoint": {
     "type": "string",
     "const": "/api/mcp"
    },
    "defaultWallet": {
     "type": "object",
     "properties": {
      "address": {
       "type": "string"
      },
      "chainId": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fortfi-mcp-agent-onboarding-x402-subscription-37843b60/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from fortfiapp.com](https://www.zero.xyz/host/fortfiapp.com/llms.txt)
