Skip to content

MCP and AI Connectors ​

Mac Web

Besides the Locus AI assistant built into the app, you can let external AI apps such as Claude, ChatGPT and Codex find and organize the tasks, projects and tags in Locus. Locus offers two ways to connect: a local MCP server that runs on your Mac, and a cloud connector that runs on Locus servers.

On this page

  • The local MCP server is built into Locus for Mac. It is on by default and needs no sign-in, but Locus must be running on that Mac.
  • The local server’s access level can be read-only, ask before destructive changes, or allow all changes. The default is to ask before destructive changes.
  • The cloud connector requires Locus Pro. After you sign in once with your Apple Account, AI apps on any device can use it without your Mac being on.
  • Both offer the same tools, except that the cloud connector doesn’t support nearby search.

About MCP ​

MCP (Model Context Protocol) is an open protocol that lets AI apps call tools provided by other software. Once you add Locus as an MCP server in an AI app, requests you make there, such as “List the tasks due today” or “Move these to next week”, are carried out by the AI calling Locus’s tools, and the results are written straight to your Locus data.

This is separate from the Locus AI assistant. Locus AI runs inside the Locus app. MCP lets you use Locus from the external AI app you already work in, and that app is responsible for the model, the cost and the conversation history.

Two ways to connect ​

Local MCP serverCloud connector
ForAI apps on this Mac, such as Claude Code, Codex and Claude DesktopAI apps on any device that support remote MCP servers, such as claude.ai, the Claude phone and desktop apps, ChatGPT, Cursor and VS Code
RequirementsLocus must be running on this Mac (the client can start it in the background)No device needs to be online
Sign-inNot neededSign in once with your Apple Account
Confirmation before changesSet by the access level in LocusDecided by the AI app
Data passes throughThis Mac onlyLocus servers
Nearby searchSupportedNot supported
Requires ProNoYes

Setup details for both are in Settings › MCP in Locus for Mac. The cloud connector’s setup is also in Settings › AI Connector in the web app.

The local MCP server ​

Mac

Turning it on and checking its status ​

Choose Settings › MCP. Under On this Mac, Enable MCP server is selected by default. Below it, Locus shows whether the server is running and how many clients are connected. Deselect the checkbox to stop the server.

If Locus is still preparing its data store or is running in recovery mode, turning the server on shows Can’t start the MCP server yet. Wait a moment and try again; if it keeps happening, restart Locus.

Access levels ​

Access controls what external AI apps can do:

OptionWhat an external AI app can do
Read-onlyOnly look things up. Tools that change data aren’t offered to the AI app and are rejected if called
Ask before destructive changes (recommended)Look things up and make changes. Locus shows a confirmation dialog before it deletes anything or changes 10 or more items at once. This is the default
Allow all changesLook things up, change and delete without asking

In Ask before destructive changes mode, the confirmation dialog lists the affected items (up to five names). The default button is Deny; the change goes ahead only if you click Allow. If you don’t respond within 60 seconds, the request is denied automatically.

A new access level applies to connections made after the change. Disconnect and reconnect AI apps that are already connected.

The first connection ​

When the first external AI app connects, Locus shows An AI app just connected to Locus. The message explains what the app can do at the current access level and notes that your data goes straight to that app without passing through Locus servers.

  • Click Allow, and later connections won’t ask again.
  • Click Turn Off MCP to stop the server and deselect Enable MCP server.
  • If you don’t respond within two minutes, only that connection is refused, and Locus asks again the next time.

Starting Locus in the background ​

The setup commands below include the --launch argument. If Locus isn’t running when an AI app connects, it starts in the background without opening its main window or interrupting the app you’re using. The main window appears when you switch to Locus. If you have turned the MCP server off in Settings, AI apps can’t connect.

Connecting a client ​

Settings › MCP › Connect a client builds the setup values from where Locus is actually installed on your Mac, with a Copy button next to each one. It’s best to copy them from there. The examples below assume Locus is in the Applications folder.

Claude Code: run this command in Terminal.

bash
claude mcp add locus -- '/Applications/Locus.app/Contents/Helpers/locus-mcp' --launch

Codex: in Codex, choose Plugins ▸ MCPs ▸ Connect to a custom MCP, set Type to STDIO (not Streamable HTTP), then fill in the three fields below. Leave the environment variables and working directory empty.

FieldValue
Namelocus
Command to launch/Applications/Locus.app/Contents/Helpers/locus-mcp
Arguments--launch

Don’t put quotation marks around the path in the Codex form.

Claude Desktop: Claude Desktop’s Add custom connector dialog only accepts remote URLs, so the local server goes in its configuration file. Choose Settings ▸ Developer ▸ Edit Config, merge the block below into any servers already listed under mcpServers in claude_desktop_config.json, then quit and reopen Claude Desktop.

json
{
  "mcpServers": {
    "locus": {
      "command": "/Applications/Locus.app/Contents/Helpers/locus-mcp",
      "args": ["--launch"]
    }
  }
}

Other clients that support local (STDIO) MCP servers can connect with the same command and the --launch argument.

If you move Locus

The commands contain the full path to Locus. If you move or rename the app, copy the commands again from Settings › MCP and update them in your AI app.

The cloud connector ​

Pro feature

The cloud connector runs on Locus servers and reads and writes your Locus data in iCloud directly, so it works while your Mac is off or offline.

Server URL:

text
https://locus-mcp.ljhao24.workers.dev/mcp

Adding it to an AI app ​

  • claude.ai: go to Settings ▸ Connectors ▸ Add custom connector and enter the server URL. The connector then also appears in the Claude apps on your phone and computer.

  • Claude Code: run the command below in Terminal, then run /mcp in Claude Code to sign in.

    bash
    claude mcp add --transport http locus-cloud https://locus-mcp.ljhao24.workers.dev/mcp
  • Other apps: in ChatGPT, Cursor, VS Code and similar apps, look for an option to add a custom connector or a remote MCP server, and enter the server URL.

The AI app then opens Apple’s sign-in page. Sign in with the Apple Account you use for Locus and choose Keep me signed in; otherwise the connection stops working after a while.

Requirements ​

  • The cloud connector requires Locus Pro. Your subscription is checked when you sign in and regularly after that. Without Pro, the sign-in page says that Locus Pro is required; subscribe in Locus on iPhone or Mac, then try again.
  • Your iCloud account must already contain Locus data, which means you have used Locus on at least one device and it has synced.
  • The access level in Locus settings doesn’t apply to the cloud connector. Your AI app decides when to ask before making changes, based on its own settings.
  • Changes made through the cloud connector are written to iCloud and appear on your devices the next time they sync.

Data retention ​

So that it can work while your devices are offline, the cloud connector keeps your iCloud sign-in (encrypted) and a working copy of your Locus data on Locus servers. Both are deleted after 90 days without use, or shortly after your iCloud sign-in expires. To have them deleted sooner, contact us through the support page.

Available tools ​

Both ways of connecting offer the same set of tools, and the AI app chooses among them based on your request:

ToolWhat it doesCloud connector
Query tasksFind tasks by date, status, project, tag, action list, availability and more, or list the tasks in one of your custom filtersYes
Manage tasksCreate, change, complete and delete tasks and subtasks; set dates, flags, tags, duration, action lists and repeat rules; create sections in a projectYes
Query and manage projectsFind, create and change projects and folders, including status, type, due date, category and review intervalYes
Query and manage categoriesFind, create, change and delete project categoriesYes
Query and manage tagsFind, create, change and delete tags, including a tag’s locationYes
Query and manage tag groupsFind, create, change and delete tag groupsYes
Query filtersList your custom filters (read-only)Yes
Query nearby tasksFind nearby tasks with location tags, based on the Mac’s current locationNo

As with Locus AI, these tools can’t currently handle attachments, alarms or custom reminder times, and they can’t create or edit filters.

Security and privacy ​

  • The local MCP server exchanges data with the AI app on your Mac only, without passing through Locus servers. What the AI app does with the data afterwards, such as sending it to the model service it uses, is governed by that app and its provider’s terms.
  • The cloud connector keeps an encrypted sign-in and a working copy of your data on Locus servers, as described above.
  • Keep the local server at Ask before destructive changes, and back up your data before asking an external AI to make large changes.
  • To stop local connections, deselect Enable MCP server or remove Locus from the AI app. To stop the cloud connection, remove the connector from the AI app.

Troubleshooting ​

ProblemWhat to do
The AI app says Locus isn’t running or MCP is disabledMake sure Enable MCP server is selected in Settings › MCP and that the setup includes the --launch argument
The AI app can’t find locus-mcpLocus may have been moved or renamed. Copy the command again from Settings › MCP. In Claude Code, the path must be in single quotes
The AI app can look things up but not make changesThe access level is Read-only. Change it, then disconnect and reconnect the AI app
Deletions or bulk changes always failIn Ask before destructive changes mode, you need to click Allow on the Mac. The dialog denies the request automatically after 60 seconds
Nothing happens on the first connectionCheck whether An AI app just connected to Locus is showing on the Mac, and click Allow
Signing in to the cloud connector says Locus Pro is requiredSubscribe to Pro in Locus on iPhone or Mac, then sign in again
The cloud connector says there is no Locus data in the iCloud accountMake sure you signed in with the Apple Account you use for Locus, then open Locus on any device and let it finish syncing
The cloud connector keeps asking you to sign in againReconnect and choose Keep me signed in on Apple’s sign-in page
Changes made through the cloud connector don’t appear on a deviceChanges reach your devices through iCloud. Open Locus and let it sync; see Sync, backup and restore for sync status