- ORG SETUP
- PROJECTS
- BRANCHES
- HUMAN
Short answer
Can I manage Xata through my AI?
Yes. You can use your AI agent to create organizations, projects, and branches, or list your existing setup. This lets you handle infrastructure via natural language instead of clicking through the Xata dashboard.
Where your changes land.
Infrastructure outcomes
Your AI performs these specific actions in your Xata account.
ORG SETUP
New organizations
Your agent can spin up a new organization. This sets the top-level container for all your subsequent work.
PROJECTS
Project creation
The AI builds new projects within your organization. You get a fresh environment ready for data modeling.
BRANCHES
Branch management
You can create or list branches. This allows your agent to handle versioning and environment isolation.
HUMAN
Manual oversight
The AI cannot modify your actual data or schema. You still handle the core database design and data entry yourself.
The workflow
What your AI does when the command arrives.
The agent translates your intent into specific Xata API calls.
Identify the scope
The agent checks your current setup to see which organizations or projects you are targeting.
list_organizationslist_projectsBuild the container
If you need a new workspace, the agent sets up the organization and the project inside it.
create_organizationcreate_projectIsolate environments
The agent creates a new branch to keep your experimental changes separate from production.
create_branchVerify the state
The agent lists your existing branches to confirm the new one was created correctly.
list_branches
Try it
Copy these to start.
Use these prompts to trigger the Xata tools.
Starting points
Replace the names in brackets with your actual Xata names.
Xata Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_L1fPQpj7643i5hPrQ8OQthSyV0MvLkmkAt1FtqV6/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat — Xata capabilities are ready to use.
{
"mcpServers": {
"xata-mcp": {
"url": "https://edge.vinkius.com/vk_preview_L1fPQpj7643i5hPrQ8OQthSyV0MvLkmkAt1FtqV6/mcp"
}
}
}Create a new Xata organization named 'Marketing Data'.
Make a new project called 'Customer Portal' inside my existing organization.
Create a new branch named 'feature-test' for my current project.
Show me all the branches I have in my 'Analytics' project.
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Start here
Connect Xata once, then ask.
Just add your Xata credentials to the MCP. Your login stays encrypted and you can immediately start managing your infrastructure from your preferred AI client.
Connect Xata to your AIFAQ
Common questions
- 01
Can the AI edit my database tables?
No. This MCP only handles organization, project, and branch management. It cannot touch your data or schema.
- 02
Can I delete a project using my AI?
No. There are no tools provided to delete organizations, projects, or branches.
- 03
How does the AI know which project I mean?
You should specify the project name in your prompt. The agent uses the list tools to find the right one.
- 04
Does the AI see my actual data?
No. The agent only interacts with the infrastructure layer. It has no access to the records inside your tables.
- 05
Can I use this with Cursor?
Yes. Any MCP-compatible client like Cursor, Claude, or Windsurf works with this connector.
More questions about Xata? The Connector page answers them. See everything the Xata Connector can do
Connect Xata to Claude, Cursor, ChatGPT & more
