KosmoKrator

data

Xata MCP, CLI, and Lua Integration for AI Agents

Xata integration docs for AI agents: MCP gateway setup, Xata CLI commands, Lua API reference, credentials, and function schemas.

Xata for agents

Credentials can be configured manually in web or CLI hosts.

Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.

Agent Surfaces

Machine-Readable Metadata

Function Catalog

FunctionTypeParametersDescription
xata.xata_list_databases Read read 0 List databases in a Xata workspace.
xata.xata_create_database Write write 0 Create a Xata database in a workspace.
xata.xata_list_branches Read read 0 List branches for a Xata database.
xata.xata_create_branch Write write 0 Create a branch for a Xata database.
xata.xata_get_schema Read read 0 Read schema for a database branch.
xata.xata_update_schema Write write 0 Update schema for a database branch.
xata.xata_query_table Read read 0 Query records from a table.
xata.xata_search_branch Read read 0 Search records across a branch.
xata.xata_get_record Read read 0 Get one record by table and id.
xata.xata_insert_record Write write 0 Insert a record into a table.
xata.xata_update_record Write write 0 Patch a record by table and id.
xata.xata_delete_record Write write 0 Delete a record by table and id.
xata.xata_aggregate_table Read read 0 Run table aggregation queries.
xata.xata_vector_search Read read 0 Run vector similarity search for a table.
xata.xata_transaction Write write 0 Execute a branch transaction.