MCP setup
Wire Copilot, Cursor, or Claude Code to Codata so your assistant can design, generate, and operate backends.
MCP server
Codata exposes its full platform through the Model Context Protocol (MCP). Any MCP-compatible AI assistant (Copilot, Cursor, Claude Code, Claude Desktop) can read your spec, build and evolve your backend, generate workspaces, manage branches, deploy, and wire up your app from natural-language prompts.
Authentication runs over OAuth — no static tokens to manage.
One prompt (recommended)
Paste this into your agent and it sets itself up:
Set up Codata for me. Fetch https://mcp.codata.io/setup.md and follow it.The document is served by the MCP host, so it always names the right endpoint, and it covers every client — Claude Code, Cursor, VS Code, Codex, Windsurf. Two optional parameters narrow it: ?agent=claude|vscode|cursor|chatgpt|codex|windsurf returns only that client's steps, and ?ws=<workspaceId> continues in a workspace you already have instead of creating a duplicate.
The one step your agent cannot do for you is approving the OAuth login in your browser — MCP authorization is yours to grant. Per-client detail lives at codata.io/agents.md.
CLI setup
The CLI auto-detects your editor and writes the right config:
npx @codata-io/cli initAfter the config is in place, open your AI chat. Your browser opens for login — approve access and you're connected.
Manual config
VS Code — .vscode/mcp.json
{
"servers": {
"codata": {
"type": "http",
"url": "https://mcp.codata.io/mcp"
}
}
}Cursor — .cursor/mcp.json
{
"mcpServers": {
"codata": {
"type": "http",
"url": "https://mcp.codata.io/mcp"
}
}
}Claude Code — .mcp.json in project root
{
"mcpServers": {
"codata": {
"url": "https://mcp.codata.io/mcp"
}
}
}What your assistant can do
Once connected, your assistant has direct access to the platform:
Design & generate
Create workspaces, drive backend design in chat, generate backends, fetch integration kits.
Operate
Read and write data, run agents, manage branches, deploy to production, configure auth and email.
A typical flow: create workspace → describe your backend in plain English → generate → install SDK → validate. Your assistant runs all of this end-to-end. See the full MCP tool reference.