Get started

How Kuriko works

Kuriko is a few services in your own project, with one gateway in front of everything that touches data.

People

Sign in with Google Workspace

AI tools

Claude, Cursor, Codex, … over MCP

Your data

BigQuery, Snowflake, Postgres, any JSON API (credentials in Secret Manager)

↓ everything below runs in your Google Cloud project ↓

kuriko-web

Sign-in, the home page, and each tool's page (deploys, publish, rollback)

kuriko-gateway

The MCP server, the front door to every tool, and the only thing that reads data or credentials

Tools

One Cloud Run service each, with no permissions; reachable only through the gateway

Postgres

Who can use what, tools and deploys, tool records, the audit log

Builds

Cloud Build turns each deploy into an image, as an identity that can do nothing else

Nothing in this picture runs on Kuriko's own servers.

The pieces

PartWhat it does
kuriko-webWhere people sign in with , see the tools shared with them, and where each tool has a page with its deploys, previews, publishing and rollback.
kuriko-gatewayThe MCP server your AI tools connect to; the front door every tool is opened through; and the only service that can read data source credentials. Every access decision is made, and logged, here.
ToolsEach tool is its own Cloud Run service, running as an identity with no permissions at all. People reach it only through the gateway, which tells it who they are.
Cloud SQLKuriko's own records: roles, data sources and grants (from policy.yaml), tools and their deploys, what tools have saved, and the audit log.
Secret Manager and Cloud KMSData source credentials stay in Secret Manager, readable only by the gateway and only the ones policy.yaml names. Per-person tokens are encrypted with your Cloud KMS key.
Cloud Build and Artifact RegistryA deploy's files become an image, built by a separate identity that can only read sources and push images.

Roles

Everyone at your company who can sign in to can sign in to Kuriko. What they can do depends on their Google groups, as mapped in policy.yaml:

RoleCan
ViewerOpen the tools shared with them, if their access covers the tool's data. Everyone is at least a Viewer.
BuilderEverything a Viewer can, plus register, build, deploy and publish tools, and read the data their groups grant.
AdminEverything a Builder can, plus see everyone's access and the audit log, and manage any tool.

Group membership comes from at sign-in, so moving someone between teams there is all it takes to change what they can do in Kuriko.

How a tool reaches data

Two things must both be true before a tool gets a single row:

  • The tool declared it. When a tool is registered it lists every data source and resource it reads or writes. It can never use anything else.
  • The person using it is allowed it. Their groups must grant that resource, at that level (read or write), in policy.yaml. A grant can also cover only some rows, like each rep's own deals (row rules).

The gateway checks both on every request, reads only the rows the person's grants cover with the credential it holds, hides any fields their grants mask, and writes the decision to the audit log. So one tool shows each person their own view of the data. The tool itself never sees a credential. The same rules apply to AI tools, which see exactly what the person could see in a tool.

Per-person sources go one step further: each person connects their own account once, and the source's own permissions decide what they see.

A tool's life

Register

A builder's AI tool registers the tool with an id, a name and the data it needs, which must be within the builder's own access. New tools are private to their owner.

Deploy (preview)

Each deploy builds a new version and gives it a preview link only the owner can open. Nothing changes for anyone else.

Publish and share

Publishing makes a deploy the live version. Sharing shows it to everyone whose access covers its data; anyone without that access never sees it at all.

Roll back

The previous live version is one click, or one request to your AI tool, away. Every deploy and publish is kept on the tool's page.