# Xata — MCP server on mcp.ai > Connect your Xata account and use 8 tools for databases straight from your AI agent. Connect with your own API key. Think data, not databases. The serverless, branchable, scalable, consistent, highly available, and searchable database service focused on the developer experience. By: mcp.ai · official Page: https://mcp.ai/xata ## Connect (MCP protocol) Remote MCP endpoint (HTTP, streamable): https://api.mcp.ai/p_xata?ms=1787293560000 Add it as a custom/remote MCP connector, then authenticate when prompted. ## REST API (no MCP client required) Every tool is also a REST endpoint, authed with a workspace API key. Discover: GET https://api.mcp.ai/api/xata/_endpoints # public; lists every endpoint Call: POST https://api.mcp.ai/api/xata/ Authorization: Bearer sk_live_… # create one at https://mcp.ai/settings/api-keys Content-Type: application/json Body: { …args } → { "ok": true, "tool": "", "result": { … } } ## Developer docs How to use (MCP or REST), markdown: https://mcp.ai/xata/skill.md Postman collection (v2.1): https://mcp.ai/xata/postman.json ## Tools - xata_get_organization(organization_id: string) — Tool to retrieve detailed information about a specific organization by its ID. Use when you need to check organization status, name, billing information, or admin settings. - xata_get_project_limits(organizationID: string) — Tool to retrieve the default resource limits for projects in a specified organization. Use when you need to check maximum instances, storage, allowed regions, or branch limits for a Xata organization. - xata_list_extensions(image: string, region?: string, organization_id: string) — Tool to get available PostgreSQL extensions for a specific image. Use when you need to check which extensions can be enabled for a particular PostgreSQL version in an organization. - xata_list_images(region?: string, organizationID: string) — Tool to retrieve a list of all available postgres images for a specified organization and region. Use when you need to check which database images are available for deployment. - xata_list_instance_types(region: string, organizationID: string) — Tool to retrieve a list of all instance types for the specified organization and region. Use when you need to check available instance types and their configurations including CPU, RAM, and pricing. - xata_list_org_api_keys(organization_id: string) — Tool to retrieve a list of API keys for a specific Xata organization. Use when you need to view all API keys associated with an organization. - xata_list_regions(organization_id: string) — Tool to retrieve a list of all regions where new branches can be deployed for the specified organization. Use when you need to check which regions are available for deploying new branches. - xata_update_organization(id?: string, name?: string, organizationID: string) — Tool to update information for an existing organization, such as its name. Use when you need to modify organization details. ## Example prompts - "What can I do in Xata?" - "Show me a summary of my Xata account" ## Links Docs: https://mcp.ai/docs/mcps/xata Website: https://mcp.ai/mcps/xata