x402 payment
Pay per call from any wallet. A verified settled payment is identity — an account is created if needed. Header: PAYMENT-SIGNATURE. HTTP 402 means pay, then retry. You do not need /ai to start.
Human docs on this host. Live API on https://app.jester.trade. Do not send keys or payments to artifice.systems.
| Origin | Host | Use |
|---|---|---|
| This site | artifice.systems | Human docs, this page, llms.txt, Artifice machine manifest. Not the trading API host. |
| API origin | app.jester.trade | Delegated HTTP, MCP, x402, OpenAPI, usage, skills. Send keys and payments here. |
| Product docs | jester.trade/documentation | Mini App, Telegram, Autopilot, Strategy Builder, and the live jester_* catalog. |
Fetch these in order. The live manifest and OpenAPI are the contract. This page is orientation.
| Goal | URL | Note |
|---|---|---|
| This page | /agents | Start here |
| Plain text | /llms.txt | Same facts, no chrome |
| Artifice manifest | /.well-known/artifice-agent.json | Pointers from this origin |
| Live machine manifest | /.well-known/jester-agent.json | Auth, x402, MCP, rate limits |
| Onboarding JSON | /api/delegated/agent/onboarding | Tool list, install hints, recommended flow |
| OpenAPI | /api/agent/openapi.json | Request shapes |
| Tool catalog | /api/delegated/tools | Live HTTP tools |
| Usage / quota | /api/delegated/usage | Observe; GET does not consume the POST cap |
| MCP capabilities | /api/delegated/mcp/capabilities | jester_* schemas |
| OpenClaw skill | /api/agent/skills/molt-trading.json | Skill JSON |
| Hermes skill | /api/agent/skills/jester-trading/SKILL.md | SKILL.md |
| Wallet onboarding UI | /ai | Issue a key (shown once) |
Pay per call from any wallet. A verified settled payment is identity — an account is created if needed. Header: PAYMENT-SIGNATURE. HTTP 402 means pay, then retry. You do not need /ai to start.
Persistent identity for MCP hosts and HTTP agents. Header: x-api-key. Issue from Console Keys or wallet onboarding. Shown once. Treat it as a trading credential.
Console chat can settle with x402 on the signed-in session. Paste a delegated key only when you want MCP-host parity from that panel.
Stdio bridge jester-mcp-bridge (npm). Your host starts it. It authenticates with your key and talks to the API origin over HTTPS.
| Host | Config | Note |
|---|---|---|
| Claude Code | .mcp.json (project) or ~/.claude.json (user) | CLI below, or JSON with ${JESTER_API_KEY} expansion |
| Cursor | .cursor/mcp.json (project) or ~/.cursor/mcp.json | Settings → MCP also works |
| Claude Desktop | claude_desktop_config.json — fully quit and restart | macOS: ~/Library/Application Support/Claude/ |
| Grok Build | .grok/mcp.json — top-level key is servers, not mcpServers | CLI below, or JSON |
| Other stdio hosts | Host mcp.json / settings | Same command + env. Some hosts want a single command string. |
Canonical mcpServers block
{
"mcpServers": {
"jester": {
"type": "stdio",
"command": "npx",
"args": ["-y", "jester-mcp-bridge"],
"env": {
"JESTER_API_KEY": "<your-key>",
"JESTER_BASE_URL": "https://app.jester.trade"
}
}
}
}.cursor/mcp.json
{
"mcpServers": {
"jester": {
"command": "npx",
"args": ["-y", "jester-mcp-bridge"],
"env": {
"JESTER_API_KEY": "<your-key>",
"JESTER_BASE_URL": "https://app.jester.trade"
}
}
}
}Claude Code .mcp.json
{
"mcpServers": {
"jester": {
"type": "stdio",
"command": "npx",
"args": ["-y", "jester-mcp-bridge"],
"env": {
"JESTER_API_KEY": "${JESTER_API_KEY}",
"JESTER_BASE_URL": "https://app.jester.trade"
}
}
}
}Claude Code CLI
claude mcp add jester -s project \
--env JESTER_API_KEY=<your-key> \
--env JESTER_BASE_URL=https://app.jester.trade \
-- npx -y jester-mcp-bridgeGrok Build ~/.grok/mcp.json
{
"servers": {
"jester": {
"command": "npx -y jester-mcp-bridge",
"env": {
"JESTER_API_KEY": "<your-key>",
"JESTER_BASE_URL": "https://app.jester.trade"
}
}
}
}Grok Build CLI
grok mcp add jester \
--command "npx -y jester-mcp-bridge" \
--env JESTER_API_KEY=<your-key> \
--env JESTER_BASE_URL=https://app.jester.tradeYour host model reasons. Artifice supplies data and governed writes via jester_* tools. No provider key on Artifice required.
Call jester_agent_chat so the server-side harness answers (prefetch, tiers, mesh). Requires a provider key saved on the trading account.
Verify with:
Read-only check
Use Jester tools to show my portfolio summary and open positions. Do not place trades.Pay, then continue. x402 is usage billing over HTTP. Agents discover an endpoint, receive its price, pay, and retry. No seats. No checkout. Keys remain optional.
| Field | Value |
|---|---|
| Protocol | x402 |
| HTTP status | 402 Payment Required |
| Payment header | PAYMENT-SIGNATURE |
| Key header | x-api-key (optional) |
| Identity | Verified payer wallet or API key. Account created if needed. |
| Settle asset | USDC when on-chain settle is on (Base / Polygon / Arbitrum / World) |
| Quota | GET https://app.jester.trade/api/delegated/usage |
Live payment requirements come from the 402 response and OpenAPI. Console chat uses settlement: "x402" on the signed-in session. Fees and on-chain settle follow the live manifest — fetch it, do not assume a price from this page.
Same identity as MCP: x-api-key or PAYMENT-SIGNATURE on https://app.jester.trade.
| # | Call | Why |
|---|---|---|
| 1 | GET /api/delegated/whoami?include=summary | Resolve identity |
| 2 | GET /api/delegated/usage | Quota. Observe-class. |
| 3 | GET /api/delegated/strategies/top-backtests?filter=good | Read-only discovery |
| 4 | GET /api/delegated/strategies/top-optimized-combos?filter=good | Deployable params |
| 5 | POST /api/delegated/propose | Stage a trade or close |
| 6 | POST /api/delegated/confirm | Execute after approval. Proposals expire in 5 minutes. |
mcp:mutate keys must propose then confirm. Immediate execute exists for platform:trade / webhook keys — prefer propose-then-confirm unless the operator has explicitly chosen otherwise. Full catalog: onboarding JSON and OpenAPI on the API origin.
| Surface | What it is |
|---|---|
| MCP host | Cursor, Claude, Grok, or any stdio host via jester-mcp-bridge. |
| HTTP agent | x-api-key or PAYMENT-SIGNATURE against the API origin. |
| Mini App / Telegram | Human surfaces. Same execution plane. Walkthroughs on jester.trade. |
| Page | What it is |
|---|---|
| Using MCP | Tool-only vs full-chat, prompts, troubleshooting. |
| MCP setup | Host-by-host config. |
| API access | Keys and safer execution. |
| Safety | Checklist before trading authority. |
| Agent | Console agent overview. |
| For builders | Commercial use and documented surfaces. |
| Live manifest | Canonical machine contract. |
This page does not replace OpenAPI. Fetch the manifest and catalogs on the API origin before you trade.