Model Context Protocol

Connect your AI client to Data²

Let your coding agent build real software — tables, services, artboards, auth, publish — straight inside your Data² systems. No API key to create: add the server once and sign in through your browser — the client gets its token automatically, nothing to copy or hand-edit.

https://mcp.data2.app/mcp

What your agent builds

Data & CRUDTables, datasets, relations, live queries.create_table · query_dataset
UI & screensArtboards, components, responsive layouts.create_artboard · execute_d2lang
Logic & APIsServices, HTTP clients, webhooks, cron.create_service · create_http_client
Auth & routingLogin, per-user data, route policies.create_authentication_strategy
AI & automationsAssistants, Rush handlers, real-time.create_assistant · set_rush_handler
Ship itPublish to a live domain, refine in place.publish

1 Add the server to your client

One-click for Cursor & VS Code. For other clients, pick yours below:

2 Sign in when the browser opens

The first time your agent uses the server, your client opens a Data² page in your browser. There you either sign in with email + password or paste a token — then the client receives access automatically.

① Agent connects

Your client detects the server needs authorization.

② Browser opens

The Data² sign-in page appears — sign in or paste a token.

③ Connected

The client gets the token itself and starts building.

Standard OAuth 2.1 (PKCE) — the same handshake GitHub, Linear, and other remote MCP servers use. Tokens expire periodically; the client re-opens the page to refresh, no reconfiguration.

Windows travando logo após conectar?

Com Node em C:\Program Files, a ponte mcp-remote pode derrubar o transport ao abrir o browser do sign-in (spawn com caminho sem aspas). O caminho garantido: gere um token aqui e use a config abaixo — sem OAuth, sem browser, sem spawn extra.

Aceita o domain do seu system (ex.: kawaii) — o mesmo subdomínio de kawaii.data2apis.com. Também aceita o ID de 24 caracteres, se preferir colar direto. O token é desse system e expira em ~1 semana.

3 Say hi to verify

Once connected, tell your agent:

First prompt
Use the data2-builder MCP: call get_started, then list_systems and tell me what you can see.
If the agent lists your systems, you're connected. From there just describe what you want to build — it reads its own knowledge base for the recipes.
Endpoint https://mcp.data2.app/mcp · Streamable HTTP · OAuth 2.1 (PKCE) · Data²