Agents & MCP
Agents work through the same security boundary as people.
Every edit is an API call. Your agents get purpose-built MCP workflows.
Glattice ships a remote Model Context Protocol server secured by OAuth 2.1. Its focused tools invoke the registered REST application under the identity and permissions of the person who authorized the client. Postgres row-level security applies to reads and writes; each board-data write is attributed in history.
The endpoint
Add this as a remote MCP server in any MCP-compatible client. You will be sent to a browser consent screen, and the client gets a credential bound to the MCP resource and your account.
https://mcp.glattice.app/mcpAuthorization is OAuth 2.1 with PKCE, discovered via RFC 9728. Protocol version 2026-07-28, with the older revisions still available there for existing clients.
What an agent can actually do
MCP tools execute inside Glattice under the authenticated user's RLS-scoped client. Public MCP credentials are resource-bound and stay at the MCP boundary; internal calls carry trusted request-local identity, never a service credential. (`check_write_access` reads no board data: it answers “may I write here?” from the permission predicates the API uses.)
A tool badged write changes shared board data, and needs the target space on Pro or Team. Reading is available on every plan.
Getting oriented
Where am I, what can I reach, and what am I allowed to change?
- search_spaces
- List the spaces you can reach.
- read_space_members
- Find current space members by display-name candidate or exact stable user id; email is never returned.
- search_lattices
- Search or list boards in a space.
- check_write_access
- Optionally ask "may I write here?" to explain a likely denial; it grants or reserves nothing.
- get_space_usage
- Built-in AI Command quota and API/MCP request limits; an external MCP client's model use is not metered here.
Working with your boards
Boards, facets, facet values, cards, and the assignments that connect them — available through agent-focused MCP workflows backed by registered REST handlers and shared RLS permission checks.
- read_lattice_structure
- A board's structure — facets and their values, but not cards.
- search_cards
- Search or list cards with assignments and dates; filter by one assignment or an inclusive date range.
- read_facets
- List the reusable categories (facets or patterns) in a space, with their values and scope.
- read_timeline_preferences
- Read your personal date-axis zoom, mode, direction, and colour/icon slot for one board.
- write_lattice_structurewrite
- Create and update boards, facets and facet values.
- write_cardswrite
- Create, edit, move, soft-delete and bulk-edit cards; set or clear dates. For lossless restore, use the web Activity panel.
- write_facetswrite
- Create, update and delete reusable facets.
- write_facet_lifecyclewrite
- Promote or reduce a facet's scope, and attach it to a board.
- write_timeline_preferences
- Change your personal timeline view on any plan, without changing shared defaults or another viewer. The first change saves your whole layout; later shared-layout updates no longer apply automatically.
- generate_complete_latticewrite
- Create one new private board from a provided complete definition — categorical, date or current-member facets, cards and assignments — in one transaction; it does not call a model.
Working alongside your team
Comments on the card itself, the change history behind it, and the notification inbox that tells you an agent has been at work.
- read_comments
- A paginated, oldest-first list of a card's comments and authors.
- write_commentswrite
- Add, edit or remove a card comment. Plain @Name text does not create a mention or notify that person; use the web editor for mention notifications.
- read_lattice_history
- The audit trail — who changed what, from which interface, with before-and-after values.
- list_notifications
- Your notification inbox.
- get_unread_count
- Your unread count.
- get_notification_preferences
- Your effective notification preferences.
- mark_notifications_read
- Mark your notifications read.
- manage_notification_subscription
- Store a watch or mute preference for a target; it is not a live MCP subscription.
Staying in control
- Read is free; writes are gated
- Any account can read accessible data over MCP and REST. Writes require a Pro or Team target plus edit permission for it. Board and shared-workspace writes normally need an owner or contributor; an existing personal Pattern can instead be managed by its owner. The general gate is checked before the handler with the API's database predicates.
- Board-data writes identify their source
- The board's change history records the interface behind each write — the browser, the REST API, MCP, or the built-in AI bar — alongside who did it. The built-in AI bar groups a multi-step run automatically. External MCP calls form one episode only when the client supplies and reuses a correlation id.
- You watch it happen
- An agent's writes land on your board while you are looking at it — no reload, no polling. Live sync and agent writes are gated on the same plans, so any space an agent can write to is already streaming. They also raise their own notification category: you are not muted from your own agent the way you are from your own clicks.
- Metered, server-side
- 1,000 API requests and 120 MCP requests a minute, plus a per-space monthly budget for the built-in AI Command Bar. An external MCP client’s model usage is billed and metered by that client, not by Glattice. Limits return 429 with Retry-After.
Three things you can do today
1.Build a board from a prompt
search_spaces, then generate_complete_lattice with a full definition — categorical, date or member facets, cards and assignments — persisted in one transaction. Resolve people by current stable user id, never display name.
2.Triage and move work
read_lattice_structure maps "the Blocked column" to a real facet value id, search_cards finds the card, and write_cards updates its facet values. Assigning facet values is the move primitive — there is no separate move call.
3.Turn a board into a timeline
Create a date facet with rangeEnabled, set dates per card, search the resulting range with search_cards, and use write_timeline_preferences when the request is only about your personal date-axis view.
Read the reference, then connect.
Every public endpoint carries a description and worked examples, rendered live against the running spec.