Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.
openapi: 3.2.0
info:
title: Bring Your AI MCP API
description: 'Public surface for Bring Your AI — the local-first AI agent harness migration,
central Claude/Codex/Cursor sync, sanitized distill snapshot, and no-data
remote MCP server.
The primary programmable surface is the Model Context Protocol endpoint at
`/mcp` (streamable-http JSON-RPC 2.0). REST endpoints below are for discovery
and billing. The MCP discovery manifest is available at
`/.well-known/mcp.json`.
Remote MCP is no-data. It exposes discovery, preview, target listing, and
local install handoff only. It does not accept harness files, generated
memories, user rules, API keys, GitHub handles, or file contents. Actual
moves, central sync, distill snapshots, and first-setup builds run through
the local CLI or local MCP server on the user''s machine. Central sync uses
a local hub by default, can use a user-selected Git repo path, keeps auto
sync disabled by default, never performs Git remote actions, and leaves
platform-native config target-local by default during cross-tool sync.
Commerce endpoints expose a machine-readable catalog, quote, and checkout.
The $499 Team Migration Pack includes one guided migration and onboarding
for up to 10 people, plus 10 lifetime licenses. It uses a dynamic Stripe
Checkout Session. Existing individual licenses keep their Payment Links.
Stripe shared payment token
settlement is live for agents: submit a Link-issued token and buyer email to
create a server-confirmed PaymentIntent and receive the signed license in JSON.
x402/MPP is reserved for future per-call API endpoints.'
version: 1.2.0
contact:
email: hello@bringyour.ai
license:
name: Proprietary — from $19 lifetime license
url: https://bringyour.ai/buy
servers:
- url: https://bringyour.ai
description: Production
tags:
- name: MCP
paths:
/mcp:
post:
summary: Model Context Protocol JSON-RPC endpoint
description: 'Streamable-http MCP transport. The remote server exposes no-data tools:
`preview_move`, `preview_build_setup`, `install_local_cli`,
`list_targets`, `list_products`, `quote_lifetime_license`, and
`start_checkout`. No license header is required because this server
does not apply moves or process harness data.'
operationId: mcpJsonRpc
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- jsonrpc
- method
- id
properties:
jsonrpc:
type: string
enum:
- '2.0'
method:
type: string
example: tools/list
id:
oneOf:
- type: string
- type: integer
params:
type: object
responses:
'200':
description: JSON-RPC 2.0 response
content:
application/json:
schema:
type: object
tags:
- MCP