Xata + Memtro

Which Xata branches are unhealthy or hibernated, and how busy is production?

Xata connects Memtro to your Postgres platform with branching. It reads organisations, projects and branches with their health, instances, region, size and scale-to-zero. It reads a branch's metrics over a window, such as CPU, memory, connections, latency and replication lag, plus backups with their restore window and your limits. When asked and granted, it can create, rename or delete a project, create, describe, hibernate, wake, resize or delete a branch, restore a backup into a new branch, and invite a member. Connection strings and credentials are never returned, and metric windows run to 30 days at most.

In Memtro

What you can do with Xata in Memtro

Ask in plain English from chat, your editor, a scheduled job or your own agent. The model picks the right Xata tool, reads what it needs, and answers with the source cited.

What it does

  1. 01Organisations with billing status and usage tier, and projects with whether scale-to-zero is on.
  2. 02Branches with parent, region and backups, and one branch's health, instances ready, instance type, storage and replicas.
  3. 03A branch's metrics over a window of up to 30 days, from CPU and memory to IOPS, latency and replication lag.
  4. 04Backups with the earliest and latest point each branch can be restored to, and the organisation's resource limits.
  5. 05When asked and granted, creates, renames or deletes a project, and creates, renames, hibernates, wakes, resizes or deletes a branch. New branches bill until deleted, and a hibernated branch refuses every connection.
  6. 06When asked and granted, restores a backup into a new branch, leaving the source unchanged, and invites a person, whom Xata emails.

Acts when asked

When you ask it to

These tools change something in Xata. The model is told to use them only when you ask for exactly that, and an administrator grants each one by name to the teams that may use it; a personal connection acts only after its owner allows it.

  1. 01Create a project
  2. 02Rename a project
  3. 03Delete a project and all its branches
  4. 04Create a child branch from an existing branch
  5. 05Rename or describe a branch
  6. 06Hibernate or wake a branch
  7. 07Resize a branch (replicas, storage, instance type)
  8. 08Delete a branch
  9. 09Restore a branch from backup into a new branch
  10. 10Invite someone to the organization
In practice

Ask it like you would a colleague

Once Xata is connected, these are the kinds of things people ask. Plain questions, no syntax. If the answer lives partly in another system you have connected, Memtro looks there too.

Xata + Memtro
  • Which branches are not healthy right now?

  • What was the main branch's replication lag over the last day?

  • How far back can the production branch be restored?

  • What is our organisation's project limit?

  • Hibernate the preview branch.

01

A slow afternoon

Maya Okafor, backend engineer at BigCo, asked why the production branch felt slow that afternoon. Memtro read its metrics for the last few hours, giving CPU, active connections and read latency, beside the branch's instance type and replicas. She took the figures to her lead before deciding on a resize.

02

Restoring before a bad migration

Dan Fletcher, platform lead at Acme Ltd, asked Memtro to restore the main branch to just before a faulty migration. With the action granted, Memtro restored the backup at that point into a new branch, leaving main unchanged. The new branch runs and bills until somebody deletes it.

Teams

Where it fits

The teams that lean on Xata most, a question each of them asks, and what they connect beside it.

Better together

Works with

A record in Xata is rarely the whole story. Connect the systems that hold the rest and Memtro checks them together, then remembers what it learned so the next question starts further along.

Setup

How to connect

Connect withAPI key
  1. 1

    In the Xata console, open Organization settings, then API keys, and create a key. Give it read-only access to Organization, Project, Branch and Metrics, and read and write only where Memtro should act.

  2. 2

    In Memtro, open Connections → Xata and paste the API key. Fill in the organisation id only if the key sees more than one organisation.

  3. 3

    An administrator grants the project, branch and invitation actions by name to the teams that may use them. Leave credentials at no access, as Memtro never reads them.

  4. 4

    Ask which branches are not healthy.

Also works from

Chat in the dashboard, the OpenAI-compatible API, scheduled jobs, and any MCP client: Claude Code, OpenCode, Cursor, Claude Desktop. The Xata tools are the same everywhere.

FAQ

Questions

Can Memtro change anything in Xata?+

Only when you ask, and only what it has been granted: create a project; rename a project; delete a project and all its branches; create a child branch from an existing branch; rename or describe a branch; hibernate or wake a branch; resize a branch (replicas, storage, instance type); delete a branch; restore a branch from backup into a new branch; invite someone to the organization. Every other tool reads, searches or lists. The Connections page labels the tools that act, an administrator grants each one by name to the teams that may use it, and a personal connection acts only after its owner allows it.

Who can use a Xata connection?+

A personal connection serves only your own requests. A shared connection serves the organisation: everyone, or only the teams an admin chooses. Admins can always add shared connections; other members need the permission.

Does Memtro store my Xata data?+

Credentials are encrypted at rest. Tool results are cached briefly so agent loops do not repeat identical calls, and the facts the model extracts are saved to your organisation's memory with provenance (system, record and link) so they can be checked and superseded.

How do I connect Xata?+

API key. In the Xata console, open Organization settings, then API keys, and create a key. Give it read-only access to Organization, Project, Branch and Metrics, and read and write only where Memtro should act.

Connect Xata in a few minutes

Seven-day free trial, then one monthly price per organisation. Connectors, jobs and memory are never metered.

Where agents remember your company

Sign in, add a provider key, create an API key and point your tools at Memtro. It takes about five minutes.

7-day free trial · card on file, nothing charged until it ends · cancel any time