Agent tools
Every database has its own MCP server, so Claude, ChatGPT, Cursor and any other AI client can use its tables. Each table becomes tools that read its rows. A new table gets its tools at once when you check for tables, or within about 15 minutes while the database is in use.
What AI clients get
The MCP server reads with its own read-only login, made for it in your database. Your app's connection string is never used.
Tables your app adds become tools within about 15 minutes while the database is in use. A tool you switch off stays off. To turn new tables into tools at once, choose Check for tables or Refresh tools on the database's Agent tools tab, or run this with the database's name:
npx @kaiva/cli cloud create <name>Add it to an AI client
The MCP server is in Kaiva Bridge. On the database's Agent tools tab, choose Open in Bridge: the server's Connect tab shows its address and the setup for each AI client. In Kaiva Bridge you can also choose tools and see calls.
Turn the MCP server off
Turn the server off on the database's Agent tools tab or on the Agent tools page. AI clients using it are refused until you turn it on. Nothing is deleted, and its address and keys stay the same. Owners, admins and editors can turn it off and on.
Letting AI clients change rows
Changing rows is off for every table until you switch it on. On the Agent tools page, each table with a primary key has three switches: Add rows, Change rows and Delete rows. Each one turns on one tool for AI clients: insert_<table>, update_<table> or delete_<table>. A table without a primary key can be read but not changed, since a change can be undone only on a table with one.
Owners and admins switch a tool on. Before it turns on, the console asks, for example for changing rows of todos:
- AI clients connected to this database can change rows of todos, one row at a time.
- Each change can be undone for 24 hours.
- A change that would also change other rows is refused.
- Only the tables you switch on can be changed. You can switch this off at any time.
The same question is asked when a tool that changes rows is switched on from the server's Tools tab in Kaiva Bridge. Owners, admins and editors can switch a tool off, which happens at once. When a table changes after its tools were switched on, they are switched off, and the page says so until you switch them on again.
Undo a change
The Agent tools page lists the latest changes AI clients made. Undo puts the row back as it was, or removes a row an AI client added. It works for 24 hours after the change. Owners, admins and editors can undo.
An AI client can undo its own change too, with the kaiva_undo_action tool, within the same 24 hours.