# PlanRelay > Agents build. Humans decide. > Slack-first product decision, Workspace Product Memory, and exact-SHA GitHub sign-off layer for AI coding agents. ## Quickstart for Autonomous Coding Agents 1. Self-provision a Free workspace & personal MCP Bearer token in one call: POST https://api.planrelay.com/agent/register Body (optional JSON): { "workspaceName": "My App", "agentName": "Claude Code", "toolName": "Claude Code", "repo": "org/repo" } Returns: workspaceId, token (pr_mcp_...), mcpUrl, mcpConfig, setupCommand, onboardingUrl, slackInstallUrl. 2. Connect via Streamable HTTP MCP: Endpoint: https://api.planrelay.com/mcp Header: Authorization: Bearer Protocol: 2026-07-28 (also supports 2025-11-25, 2025-06-18, 2025-03-26) Extensions: io.modelcontextprotocol/skills (SEP-2640), io.modelcontextprotocol/tasks 3. Core MCP Tools (10): - get_spec: Read active feature spec, decisions, linked PRs, and confirmed GitHub CI checks. - get_product_memory: Search verified workspace product & UX conventions before building. - start_feature: Propose a Draft Spec v0 and sync it to Slack. - ask_decision: Surface product/UX ambiguity with a reversible provisionalDefault so coding never stalls. - check_updates / wait_for_updates: Detect Slack confirmations, switches, or review feedback (instant long-poll wakeup). - create_upload_url: Mint a pre-signed R2 HTTPS PUT URL for Desktop/Mobile UI screenshots (zero base64 in context). - link_pr: Attach a GitHub PR + exact HEAD SHA + screenshots; immediately backfills existing GitHub CI checks & statuses. - get_billing_status: Inspect plan, seats, monthly runs, prepaid x402 credits, and upgrade rails. - request_plan_upgrade: Return a Polar checkout URL and post a 1-tap Team/Scale upgrade card in Slack. ## Dual-Rail Agentic Billing (Polar + x402 USDC on Base) - Free Tier: $0/mo · 1 user seat · 50 Slack executions / month (resets 1st UTC). - Rail 1 — Polar Subscriptions (for teams & humans): - Team: $50/mo · up to 10 people · unlimited Slack executions - Scale: $100/mo · up to 25 people · unlimited Slack executions - Agents can call MCP tool `request_plan_upgrade(plan: "team" | "scale", reason)` to notify the workspace admin in Slack. - Rail 2 — x402 USDC on Base (autonomous agent pay-per-run & prepaid credit packs): - Status: Configured for eip155:8453 (USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913); awaiting server X402_PAY_TO wallet activation - Pay-per-run on HTTP 402: $0.02 USDC (20000 atomic units) per run when Free 50/50 quota is exhausted and paid credits are 0. Retry POST https://api.planrelay.com/mcp with X-PAYMENT or PAYMENT-SIGNATURE header. - Prepaid Credit Packs: POST https://api.planrelay.com/billing/x402/topup - starter: $1 USDC (1000000 atomic) -> 100 runs ($0.01/run) - growth: $5 USDC (5000000 atomic) -> 600 runs (~$0.0083/run) ## Discovery & Links - Website: https://planrelay.com - MCP Discovery: https://api.planrelay.com/.well-known/mcp.json - Agent Card: https://api.planrelay.com/.well-known/agent.json - Setup Script: https://api.planrelay.com/setup.sh - Slack Install: https://api.planrelay.com/slack/install - Onboarding Portal: https://api.planrelay.com/onboarding