Skip to content

Tools, MCP & Approvals

When you chat in Lattis (or run its built-in agent, Sawyer), the model can do real work on your behalf — read files, check git status, drive project tasks, and call tools you’ve connected. This page covers what’s available and, just as important, how Lattis keeps you in control of it.

Rather than include every tool definition in every request, Lattis lets the model search for a tool when it needs one, then calls it. This can reduce the amount of tool metadata sent with each request, although searches and tool results still consume time and tokens. You see each call and its result inline in the conversation.

Out of the box, the model can:

  • Read files in the current project (sandboxed to that worktree).
  • Check git status for the project.
  • Work with projects — list worktrees and branch stats, create a worktree, run a build, or launch an agent.

Settings → Connectors lists services you can connect in one click: Gmail, Google Calendar, Google Drive, Harvest, Trello and Slack, and more follow. Any other MCP server connects under Custom servers. Click Connect and sign in to the service in your browser. The card reads Waiting for sign-in until you’re done, then Connected with its number of tools. If the sign-in fails, the card shows the error and Try again. A conversation can then search and read the service, and it asks you first before it sends, creates or changes anything there.

On a connected card, Tools picks which of its tools Lattis offers. Disconnect removes the connector and its sign-in, so connecting it again asks you to sign in again. For Gmail, Google Calendar and Google Drive, it also revokes Lattis’s access to your Google account. It does this only when no other Google card is connected to the same account. Google’s revoke ends Lattis’s access for every card on that account at once. So while another card on the account is connected, Disconnect removes this card’s sign-in only, and your Google account still lists Lattis. The card says so. To tell the accounts apart, each Google card also asks for openid. A card connected before Lattis recorded the account follows other rules. See Troubleshooting. For Outlook and Outlook Calendar, Disconnect deletes the card’s sign-in from your computer. Microsoft gives Lattis no way to end its own access, so the card says where you remove it: myapps.microsoft.com for a work or school account, or account.live.com/consent/Manage for a personal account.

Gmail is built into Lattis and uses the Gmail API, with the gmail.readonly and gmail.compose scopes, and openid. It has four tools:

  • search_messages and read_thread read your mail. They run without asking.
  • create_draft saves a draft and asks first. A draft reply goes to the original sender unless the model names another recipient.
  • send_message sends mail and asks first, every time. It always names its recipients, also for a reply, so the prompt shows who gets the mail.

The Gmail card appears only when the daemon has a Google OAuth client. Release builds include one, and any Google account can sign in with it. Until Google verifies Lattis, the sign-in shows a screen that reads Google hasn’t verified this app. To continue, select Advanced, then continue to Lattis. If Google blocks the sign-in, see Troubleshooting.

To use your own client, set LATTIS_GOOGLE_CLIENT_ID and LATTIS_GOOGLE_CLIENT_SECRET in the daemon’s environment. They take the place of the client the build was made with.

Google Calendar is built into Lattis and uses the Google Calendar API, with the calendar.calendarlist.readonly, calendar.events.readonly and calendar.events scopes, and openid. It has four tools:

  • list_calendars, search_events and get_event read your calendars and events. They run without asking.
  • create_event creates an event on your primary calendar and asks first. If the event has attendees, Google emails each one an invitation, so it asks every time. The event has exactly the fields that the prompt shows.

Each result gives a time zone: the event’s own, else its calendar’s. The tools tell the model to take your time zone from your primary calendar.

Google Calendar signs in on its own card, with the same Google OAuth client as Gmail. The notes above on the client and on the unverified-app screen apply to it too. If you clear View and edit events on all your calendars on Google’s consent screen, Google Calendar connects with the read tools only.

Google Drive is built into Lattis and uses the Google Drive API and the Google Sheets API, with the drive.readonly and drive.file scopes, and openid. drive.file lets Lattis create files, and edit only the files that Lattis created. It has six tools. Three of them only read, so they do not ask first:

  • search_files finds files by words in their name or text. It searches My Drive, the files shared with you, and your shared drives. With no words, it lists the files changed most recently.
  • read_file reads the text of a Google Doc as Markdown, without its images. It also reads a Google Slides deck, one sheet of a Google Sheet as CSV, or a plain-text file. For a Sheet, it reads the first sheet, or the sheet that the model names. It cuts the text after 60,000 characters. It cuts a sheet after 2,000 rows, or after 100 rows if the rows are very wide. The result then says so. It does not read Word, Excel or PDF files.
  • get_file shows a file’s name, type, owner, last change, size and link. For a Google Sheet, it also shows the names of its sheets.

Three of them write, and each one asks first:

  • create_doc creates a Google Doc in My Drive from Markdown. An image becomes a link to its address, an HTML tag shows as text, and a link goes only to an http, https or mailto address, so Google fetches nothing.
  • create_sheet creates a Google Sheet in My Drive from CSV, as one sheet. Lattis reads the CSV and sends each cell as text or as a number, so no formula runs: a cell that starts with = stays text. A number such as -5, -5% or -$1,234.50 is a number.
  • update_file replaces all the content of a Doc or a Sheet that Lattis created: with Markdown for a Doc, and with CSV for a Sheet. It cannot edit a file that Lattis did not create. It then says so.

read_file, get_file and update_file take a file’s id, or its Google Docs, Sheets, Slides or Drive link.

Google Drive signs in on its own card, with the same Google OAuth client as Gmail. The notes above on the client and on the unverified-app screen apply to it too. If you clear See and download all your Google Drive files on Google’s consent screen, the sign-in fails. No Drive tool works without it. If you clear See, edit, create, and delete only the specific Google Drive files you use with this app, Google Drive connects, and the read tools work. A write is then refused with the steps to allow it, and no approval is asked.

A card connected before Lattis asked for drive.file works the same way. To let it create files, disconnect Google Drive in Settings → Connectors, then connect it again and leave both Drive boxes checked.

Outlook is built into Lattis and uses Microsoft Graph, with the Mail.Read and Mail.Send permissions, and openid and offline_access. It works with a work or school account and with a personal Microsoft account, such as Outlook.com. It has three tools:

  • search_messages and read_thread read your mail. They run without asking. search_messages takes words and Outlook search terms, such as from: and subject:, and searches every folder. A message in Junk Email or Deleted Items names that folder. If Outlook does not give those folders, the result says so. With no words, it lists the newest messages in the Inbox. read_thread reads the latest 20 messages of a conversation as plain text.
  • send_message sends a plain-text message and asks first, every time. It takes the recipients, the subject and the body, and nothing else, so the message that it sends is the one that the prompt shows. A reply is a new message with its own subject. It does not join the conversation in your mailbox.

Outlook does not save drafts, and it does not change or delete mail. A Graph draft needs Mail.ReadWrite, which also lets an app change and delete mail.

The Outlook cards appear only when the daemon has a Microsoft client ID. Release builds do not include one yet. To use your own Microsoft app, set LATTIS_MICROSOFT_CLIENT_ID in the daemon’s environment. In the Microsoft Entra admin center, register the app for work or school accounts in any organization and for personal Microsoft accounts. Under Authentication, add the redirect http://127.0.0.1 for Mobile and desktop applications. If the portal refuses it, add it in the app’s Manifest, to redirectUris under publicClient. Declare the delegated Microsoft Graph permissions Mail.Read, Mail.Send, Calendars.ReadWrite, openid and offline_access.

The sign-in asks you to pick the account. In many organizations, an admin must approve Lattis before a person can connect. Microsoft then shows Need admin approval, and the card links to Outlook in Your Organization, the guide for the admin.

Outlook Calendar is built into Lattis and uses Microsoft Graph, with the Calendars.ReadWrite permission, and openid and offline_access. It has four tools:

  • list_calendars, search_events and get_event read your calendars and events. They run without asking. Your calendars are the ones in your Outlook calendar list, which can include a calendar that someone shared with you.
  • create_event creates an event on your default calendar and asks first. If the event has attendees, Outlook emails each one an invitation, so it asks every time. The event has exactly the fields that the prompt shows.

An Outlook calendar has no time zone of its own. So search_events and get_event give their times in the time zone that the model names, else in your computer’s time zone. Each result names the time zone of its times, and the time zone that the event was made in. If Microsoft does not know your computer’s time zone, the times are in UTC, and the result says so.

Outlook Calendar signs in on its own card, with the same Microsoft app as Outlook. The notes above on the client ID and on admin approval apply to it too.

Harvest connects to Harvest’s own MCP server, https://api.harvestapp.com/mcp. Click Connect, sign in to Harvest in your browser, and allow Lattis access to your Harvest account.

  • The tools that list and read time entries, reports, projects, clients, tasks, people, expenses and invoices run without asking. So does the Harvest Help Center search.
  • The tools that start or stop a timer, log, change or delete time, change projects, clients and tasks, add expenses, submit a timesheet or send feedback to Harvest ask first, every time. Harvest marks each of its tools as one that reaches outside the service (openWorldHint), so these prompts do not offer Allow in this chat.
  • Deleting a time entry, and removing a task or a person from a project, also carry Harvest’s warning that they can delete data.

Harvest has no tool that creates an invoice. Invoices are read only.

Trello connects to Atlassian’s Trello MCP server, https://mcp.trello.com/v1. Click Connect and sign in to Atlassian in your browser. Lattis asks for Trello’s scopes, and for offline_access, read:me and read:account, the account scopes that Trello lists. It asks for no scope of another Atlassian product, so the consent page offers a Trello workspace, not another Atlassian site. Pick your own workspace, then allow Lattis to read and write in Trello.

Trello supplies the tools, so the list can change. Today it has fifteen:

  • The tools that read and search boards, lists, cards, checklists, workspaces, members, your Inbox and your Planner run without asking. The Planner tool also reads the events of the calendar that you connected to Trello.
  • The tools that create boards, and create, change, move or archive lists, cards, checklists and Inbox cards, ask first. So do the tools that create Planner events and link cards to them. Trello does not mark these tools as ones that reach outside the service, so the prompt offers Allow in this chat. After a connector read, each one asks again.
  • No Trello tool deletes. Archive closes a card or a list, and you can restore it in Trello.

Disconnect deletes the Trello sign-in from your machine. It does not revoke the grant at Atlassian. To revoke it, remove Lattis from the connected apps in your Atlassian account settings.

Click Connect on the Slack card, pick your workspace on Slack’s page if it asks, and allow Lattis. No Slack admin has to set anything up first, unless your workspace asks members to get an admin’s approval for each app. Lattis acts as you, not as a bot: it sees what you can see, and what it sends comes from you.

The card signs in with the Lattis app on Slack’s Web API. Any workspace can install it. Lattis calls Slack’s Web API with it.

Until the app is listed in the Slack Marketplace, Slack can limit it to one read of a channel or a thread a minute, and gives it 15 messages a read. Search allows 20 or more calls a minute, so Lattis searches first. When Slack refuses a read, the conversation is told how many seconds to wait. The card shows the limit too.

It has nine tools:

  • search_messages, read_channel, read_thread, list_channels, list_channel_members, find_users and read_file run without asking. Search takes Slack’s search syntax, such as in:#launch from:@dana after:2026-10-01. read_file gives a file’s details, and the text of a plain-text file such as a CSV, Markdown or JSON file.
  • send_message and schedule_message ask first, every time. The prompt shows the channel and the message, and for a scheduled message the time. Slack posts a scheduled message at most 120 days ahead.

Lattis cannot write a Slack draft: Slack’s Web API has no method for drafts.

Disconnect deletes the sign-in from your machine and asks Slack to revoke it.

If you connected Slack before through Slack’s MCP server, the update removes that connection and deletes its sign-in from your machine. It does not revoke that grant at Slack. To end it, remove the old app in your Slack workspace’s app settings. Click Connect on the Slack card once to sign in with the Lattis app. Each project that selected Slack keeps it.

Lattis is an MCP client, so you can connect compatible Model Context Protocol servers, such as an issue tracker, documentation search, or internal API, and expose their tools to the model.

Add one under Settings → Connectors → Custom servers: give the command and arguments to launch the server (for example, an npx package) and enable it. Lattis connects, indexes its tools behind the search surface, and they’re immediately usable — no restart needed. Remove a server and its tools disappear just as live.

Besides local command-launched servers, Lattis connects to remote Streamable-HTTP MCP servers by URL. For servers that require sign-in, Lattis supports OAuth 2.1 — it discovers the server’s authorization metadata, registers a client, runs the browser sign-in, and refreshes tokens transparently; a server can also use a static bearer token. A server needing auth shows a Sign-in required pill with a Connect / Re-authenticate button, and its tools come online once you’ve authorized — no restart.

The servers you connect here aren’t only for in-app chat — Lattis also fans them out to any Claude Code, Codex, Pi, OpenCode, Grok Build, or Sawyer session you launch in a project, so you configure MCP once instead of per-agent. From a connector in the catalog, these agents get only the read-only tools (see Coding agents). This replaces relying on Claude Code’s own claude.ai-account-scoped Connections, which follow whichever account you’re manually logged into on this machine — not necessarily the account a Lattis project is actually configured with — and are shared across every Claude Code session on the machine (a bare terminal, VS Code, every Lattis project) regardless of which project you’re in. Turn the fan-out off entirely in your configuration:

"agent": {
"mcp_fanout": false
}

By default, a launched agent sees every server you’ve connected. To scope a project to a specific subset instead — for example, two different Jira instances across two clients, each project talking only to its own — pick the servers from that project’s settings screen, the same way you pin an account to a project. An unscoped project inherits every connected server, as before; changing a project’s selection reaches an already-launched session on its next tool refresh, without needing a restart.

Allow (or block) MCP servers an agent picks up on its own

Section titled “Allow (or block) MCP servers an agent picks up on its own”

Lattis’s fan-out is additive by default: a launched Claude Code session also loads whatever it would pick up anyway — project .mcp.json files, servers in your user-level ~/.claude.json, plugin-provided servers, and claude.ai’s own account-scoped Connections.

Except when those belong to a different account. The CLI carries its own machine-global login, and its Connections follow that account — not the one your Lattis project is configured with. When both sides connect the same tool (say a Gmail connector on each), the ambient copy wins silently and the agent answers from the wrong mailbox. So when Lattis can see that the CLI is signed into a different organization than the account a session routes to, it excludes the agent’s own servers for that session.

The comparison is by organization, not email, because one email can hold both a Max seat and an Enterprise seat — only the organization tells them apart. When either side can’t be identified — an API-key or logged-out CLI, or an account connected before Lattis started recording this — Lattis falls back to a simpler rule: a project that pins its own accounts is excluded (it can’t vouch for config it can’t attribute), and an unpinned project is left alone. Re-authenticating an account records its organization.

This is subtractive: Lattis removes the ambient copy rather than substituting the right one. It cannot serve another account’s claude.ai Connections — there’s no way to enumerate or proxy them — so a suppressed session loses that tool unless the same tool is connected in Lattis. If you need the agent to have it, connect it here.

To change any of this, use Allow agents to also use MCP servers they pick up on their own in Settings → Connectors → Custom servers, or set it per project from that project’s settings screen. An explicit per-project choice always wins — over the mismatch rule, over account pinning, and over the app-wide default.

This applies to Claude Code and Grok Build. Grok uses an isolated home and checks its effective MCP and hook configuration; see Grok Build. Codex and opencode have no confirmed equivalent way to exclude their own local config yet, so the switch doesn’t affect them.

Claude Code’s Skills are a related, still-open gap. Personal skills in ~/.claude/skills/ and skills synced from a claude.ai account (into ~/.claude/skills/synced/) are read machine-wide by every Claude Code process, and Anthropic ships no source-level opt-out for them today — --strict-mcp-config covers MCP servers only, disableBundledSkills covers Claude Code’s own bundled skills only, and skillOverrides turns off skills one known name at a time rather than a whole source. So a launched session still sees whichever skills that machine’s Claude Code login has, regardless of the account a Lattis project is pinned to. (Checked against Anthropic’s Claude Code docs, August 2026.)

Lattis can also let the model run small pieces of code to compute an answer or glue tool calls together — the code execution tool. It’s sandboxed: the code can call the allow-listed tools above, but it has no file access, no network, and no system access of its own, and it’s bounded in time and memory.

Code execution is on by default and labelled experimental. You can narrow it to specific models, or turn it off entirely, in your configuration:

"agent": {
"code_exec_enabled": true,
"code_exec_models": ["claude-opus-4-8"]
}

Leave code_exec_models empty to allow all models, or list models to restrict it to them. Set code_exec_enabled to false to disable it.

In a conversation, a connector or MCP tool runs without asking only when its server marks it as read-only (readOnlyHint). Any other tool stops first and shows what it is about to do: the service, the tool, and the exact arguments, such as an email’s recipients, subject and body. It also warns you when the server marks the tool as one that can delete or overwrite data (destructiveHint).

  • Allow once runs exactly the call shown, and the conversation continues.
  • Allow in this chat does the same and stops asking for that tool for the rest of the conversation.
  • Decline and it doesn’t run. The model is told, and answers without it.
  • A new conversation starts fresh — approvals don’t carry over, by design.

A tool that its server marks as reaching outside the service (openWorldHint) does not offer Allow in this chat. Gmail’s and Outlook’s send_message and Slack’s send_message and schedule_message are such tools, so every send asks, even after you allowed one. Google Calendar’s and Outlook Calendar’s create_event act the same way when the event has attendees. Harvest marks all of its tools this way, so every Harvest change asks.

Lattis’s own project actions (creating a worktree, running a build, launching an agent) don’t ask. They run when you ask for them in a conversation. After a connector read, they ask first, as the next section says.

Connector data is untrusted. An email, a file or a card can contain text that tells the model to send your data somewhere. So after a connector tool returns a result in a conversation, these tools ask before they run, for the rest of that conversation:

  • research.extract, which fetches web pages.
  • canvas.show with a web address, or with a file that can load from the web, such as an HTML page, an SVG, or a Markdown file. Images and .txt, .csv, and .json files open without asking.
  • shell.run, tools.install, and tool pack tools, which run commands in the sandbox. The sandbox can reach the network.
  • projects.launch_agent, because a coding agent runs its brief without asking.
  • projects.build and projects.add_worktree, because they run code from the working folder on your computer, such as a build script or a git hook.
  • A connector tool that changes something, such as a send or a new record. It asks after a read even if you allowed it for the conversation before.

The prompt shows the address, the command, or the arguments. For the tools that can reach another host, it also says which connector the data came from. It offers only Allow once, so each call asks. An Allow in this chat that you gave before the read no longer counts. So a research task after you read your mail asks once for each page that it fetches. This is by design: if one allowed call stopped the prompts, every later address or command would run without asking.

An approval runs only what the prompt showed. If the file, the pack command, or the pack itself changed before you answered, the call doesn’t run, and the model can ask again. A tool pack that isn’t installed yet doesn’t run from an approval. The model installs it first with tools.install, which asks and shows the pack’s source.

Clearing the context does not end the rule. Reading connector data leaves the conversation’s sandbox and its existing background processes running. After the read, the sandbox’s file tools write only to the working folder, the outputs folder, and /tmp, and not to a .git or .lattis folder, a pack.json, or a SKILL.md there. Every other place, such as the shared tools folder (/mnt/tools) or a program in the sandbox, can run or load a file without asking. A conversation with no connector results runs these tools without asking.

Some paths stay open after a read:

  • A custom MCP server that you add by hand can have its own read tool that fetches any address. That tool runs without asking.
  • Coding agents run with their approvals off. See the next section.
  • On Linux, the sandbox shares your computer’s network, so a process in it can reach Lattis’s local API, which can answer a prompt. The restart at the first read stops every process that started before the read, and each new command after the read asks first.
  • The project folder is shared with your other conversations and with you. After a read, the model can still write other files there, such as a Makefile, a package.json script, or a file with the data in it. A conversation with no connector results that later runs or reads those files doesn’t ask.
  • Anything that started outside the sandbox before the read keeps running: a page open in the Canvas, a build on your computer, or a coding agent.
  • An approval shows the command, the address, or the arguments. It doesn’t show the code that the command or a build runs from the working folder.
  • A file that the model writes to the outputs folder opens in its default app when you click it in the Files panel. A script or a web page can then run, or load from the web. Check the file’s name before you open it.

Claude Code, Codex, Pi, OpenCode, Grok Build, and Sawyer, when Lattis launches them, reach your connectors through the fan-out. They run with their own approval prompts off, and Lattis doesn’t ask either. So from a connector in the catalog, these agents get only the tools its server marks as read-only. For Gmail and Outlook, these are search_messages and read_thread. For Google Calendar and Outlook Calendar, these are list_calendars, search_events and get_event. For Google Drive, these are search_files, read_file and get_file. For Harvest, these are its list and get tools and its Help Center search. For Trello, these are its read tools and its search. For Slack, these are its search, read and list tools. A tool that makes changes, such as Gmail’s create_draft and send_message, Outlook’s send_message, the create_event of Google Calendar and of Outlook Calendar, Google Drive’s create_doc, create_sheet and update_file, Harvest’s log_time, Trello’s trelloWriteCard or Slack’s send_message and schedule_message, runs only from a Conversation, which asks you first.

A custom server that you add by hand is different: coding agents get all of its allowed tools, with no prompt. One exception: a server at the id slack and Slack’s MCP address, https://mcp.slack.com/mcp, gives coding agents only its read-only tools, as it did while it showed as the Slack card.

  • Skills — reusable instructions that build on these tools.
  • Conversations — where you see tools in action.