Use Slash from an AI app

What you can ask Claude Desktop, Claude Code, Cursor or Codex to do in Slash, and how to set each one up.

Slash has an MCP server built in. An AI app that supports MCP can read your tasks, reminders and notes in Slash and change them, the same way Ask does. You ask in the app's own chat, and each request also shows in Ask under the app's name.

A few things you can ask:

  • In Claude Desktop, ask "What's due today in Slash?" The first time, Ask checks with you before Claude Desktop sees your reminders. Then say "Move them all to tomorrow" and confirm in Ask. For 10 minutes, Undo in AI App Activity undoes the move.
  • In a Claude Code project, ask "Add the TODOs in this repo to my Slash tasks, high priority." Claude Code finds them and adds a task for each. Up to five go in at once. For more, you confirm in Ask first.
  • In any AI app, ask "Run my deploy script with Slash." This works once you add @slash.agent true to the script in Shell, which makes it one of the app's tools. Slash runs it in the background and sends back what it printed.
  • In Cursor, ask "Start a 25 minute focus timer with Slash." Starting a timer runs without asking.

Set it up once, with Slash running:

  1. In Settings ▸ AI, turn on Let AI Apps Use Slash. Slash doesn't answer AI apps until it's on.
  2. Below the switch, click Add next to your app. Add to Claude Code is always listed. Claude Desktop, Cursor and Codex each get a row once the app is installed. If the slash command isn't at /usr/local/bin/slash yet, the button installs it first, and macOS may ask for your password.
  3. Restart the app or start a new session in it, then try "start a 5 minute timer with Slash".

Add to Claude Code runs this command in Slash's Terminal, where you can watch it. It adds Slash for every project. The same button is in Settings ▸ Extensions ▸ Shell.

The other Add buttons show you the lines first, save the file as it was next to it with .slash-backup on the end, then write the lines.

To add Slash by hand, for an app without an Add button or when Add can't read the app's file, first click Install next to Command Line Tool in Settings ▸ Extensions ▸ Shell. That puts the slash command at /usr/local/bin/slash.

Claude Code takes the command above. Claude Desktop and Cursor read this mcpServers block. If the file already has an mcpServers block, put the slash entry inside it.

~/Library/Application Support/Claude/claude_desktop_config.json

In Claude Desktop, open Settings ▸ Developer ▸ Edit Config to find that file, then quit and reopen Claude Desktop. In Cursor, the same block goes in ~/.cursor/mcp.json for every project, or in .cursor/mcp.json in one project's folder, then reload Cursor.

Codex reads TOML. Add these lines to ~/.codex/config.toml and start a new Codex session.

~/.codex/config.toml

Any other app that runs MCP servers over stdio works the same way. The command is /usr/local/bin/slash, with one argument, mcp.

The Add buttons and Install need a release build of Slash, which carries the slash command inside the app. In a build from Xcode, the Add buttons in Settings ▸ AI are dimmed. If you build Slash from its source, build the command from the repo root and copy it to /usr/local/bin, which takes your password:

When Slash isn't running, or Let AI Apps Use Slash is off, the app's Slash tools reply that they couldn't reach Slash and say what to turn on. The "Permissions and activity" page covers what runs at once, what waits for your yes, and where to see what each app did.