Setup guide & tool reference.
Connect Statey to your agent in under a minute, then ask it anything. This page walks you through the connection, your first session, and the complete tool surface.
What is Statey
Statey is a database your AI uses on your behalf. Connect it once (it's an MCP server, like any other connector) and every chat gains a permanent place to put work: tell Claude "track this bug" and it becomes a record in your tickets collection; ask Cursor next week "what's still open?" and it queries the same data. You never design a schema and never open an app. Describe what you want to track, and Statey builds the structure, validates every write, and logs who (you or an agent) changed what. One workspace, every client, persistent across sessions.
Connect
Statey speaks the MCP streamable-HTTP protocol. Add the endpoint below to any MCP-compatible client and you're done.
- Open Settings.
- Go to the "Connectors" tab.
- Click "Add custom connector".
- Paste the endpoint URL and save.
The connector uses OAuth; you will be prompted to sign in on first use.
- Run the command below in your terminal.
claude mcp add --transport http statey https://mcp.statey.ai/mcpCopied!
Adds Statey to your local Claude Code config. The --transport http flag tells Claude Code to use the streamable-HTTP protocol.
- Open your client's MCP settings (usually a JSON config file or a "MCP Servers" panel).
- Add a new server entry with transport type set to streamable-HTTP (or "http") and the URL set to the endpoint above.
- Save and reload the client.
If your client only supports SSE transport, use https://mcp.statey.ai/sse instead.
Sign in
The first time your agent calls a Statey tool, you will be prompted to authenticate via OAuth. Follow the link, sign in with your Google or GitHub account, and your workspace is provisioned automatically, with no extra setup required.
You can also visit console.statey.ai to view your workspace, manage your account, and check usage from a browser.
Quickstart
Here is what a first session looks like. You don't type any of this. Just describe what you want and the agent picks the right tools.
get_workspace_overviewtool calledReturns your collections, record counts, and the calling agent's permissions. On a brand-new workspace, you'll see an empty list and two starter templates available.
create_collectiontool calledStatey generates a schema from your description, validates the field types, and returns a summary. The collection is ready immediately.
create_recordstool calledAll three records land in a single all-or-nothing write. Each gets an id, a version counter, and an attribution entry in the activity log.
query_recordstool calledReturns a filtered, paginated result with a total count. You can group, sort, or filter by any field, all in plain language.
Tool reference
The complete tool surface for the current release, grouped by what they do. You don't call these directly; your agent selects the right one based on what you ask.
Getting your bearings
Two tools provide context: one lists what exists in the workspace, the other returns the schema for a single collection.
get_workspace_overviewReturns your collections, record counts, schema versions, active triggers, actors, and the calling agent's permissions.
describe_collectionThe full schema for one collection: every field and its description, relations, sample records, and available indexes.
Shaping your data
Create collections from a description, and evolve them over time. Additive schema changes apply immediately; breaking changes require confirmation.
create_collectionA new collection from a plain description or a starter template (Tasks or Tickets). Field descriptions are required; they tell the agent what each field means.
update_schemaEvolve a collection. Additive changes (a new optional field, a relaxed enum) apply immediately; breaking changes require explicit confirmation. Returns a diff.
Working with records
Create, read, query, update, and delete records. Writes are attributed and guarded by optimistic concurrency.
create_recordsInsert 1–100 records at once, validated all-or-nothing so a bad row never lands half-written.
get_recordFetch one record by id, optionally resolving one level of its relations (a linked task, a parent customer).
query_recordsFilter, sort, and paginate (up to 200 per page) with a total count. Grouping by a field returns per-group counts in a single call.
update_recordA partial update guarded by optimistic concurrency. If the record changed in the meantime, the call returns the current version instead of overwriting it.
delete_recordA soft delete. The record drops out of queries but is retained in the activity log.
archive_collectionRetire a whole collection: hidden from listings, writes frozen, reads still work. Nothing is deleted, and it reverses cleanly.
unarchive_collectionBring an archived collection back to active: visible again, writes re-enabled.
Reacting to changes
SoonPart of the phase-2 reactive loop. Every change emits an event; triggers match events and dispatch agents or webhooks.
create_triggerWatch a collection for create, update, or delete events and dispatch an agent or webhook when they match a filter. Causation is tracked across cascades.
list_triggers · delete_triggerSee what automations are running and turn them off.
get_queue_statusPer-agent backlog: pending count, the age of the oldest event, and whether the queue is paused.
resume_queueResume a paused queue: replay each event in order, or reconcile the whole backlog against current state in a single pass.
Audit & usage
The activity log records what changed and why; usage reports consumption against your cap.
query_activitySearch the immutable log by collection, record, actor, action, or time range, and follow causation chains to see what triggered what.
get_usageCurrent-period consumption, spend, and remaining budget against your spend cap. Readable by agents as well as people.
Reference notes
This is the complete tool surface for the current release. All writes are attributed and recorded in the activity log. Tools marked Soon are part of the phase-2 reactive loop and are not yet available.