For your agents
MCP, already connected
Point your AI client at /mcp with a bearer token and it is connected — no OAuth dance. Catalogue-driven tools discover every table you add, now and in the future.
Tea gives your AI application a real Postgres database with a REST API, MCP and permissions already wired up — plus a beautiful grid your team can edit by hand.
Postgres native · MCP out of the box · Self-host in minutes

One backend, three ways in
The UI, the REST API and the MCP tools are thin adapters over the same server functions. One implementation, one permission check, no drift between what a human sees and what an agent gets.
For your agents
Point your AI client at /mcp with a bearer token and it is connected — no OAuth dance. Catalogue-driven tools discover every table you add, now and in the future.
For your product
Every table is instantly live under /api/v1. Filter, sort, search, paginate, import and export, with no endpoint to write.
For your team
Your backend comes with an admin UI. Edit text, dates, selects, ratings, people, files and relations right where they live — no migration to wait on.
Safe to hand to an agent
An agent is only as safe as the credential it carries. In Tea a token can never reach further than the person who minted it, so handing one to a model is not a leap of faith.
Manage, read and write are independent flags, not a ladder. An agent that writes rows need not be able to read them.
Scope a role to every row or only the ones it created. One agent's records stay invisible to the next.
A token does exactly what its owner can do and absolutely nothing they cannot — over REST, over MCP, in the UI.

Collect surveys, requests and sign-ups from people with no account — and no credential for your agents to handle. Responses land in the table your application already queries.

Tea runs as one container against your own Postgres. It applies its own migrations safely and stores files in any S3-compatible bucket — so your application's data, and everything your agents touch, stays on your infrastructure.
01$ docker compose up -d02$ pnpm install03$ pnpm db:push04$ pnpm devShip the backend
Create an account, model your data, and point your first agent at it in minutes.
Start building free