Skip to main content

May 17, 2026 · 7 min read · The Helix team

How to add Helix to Claude Code

Claude Code is strongest when it can connect code changes to the surrounding work: the customer email that requested a fix, the meeting where a deadline moved, or the approval rule that decides whether an automated reply can be sent. Helix gives Claude Code a scoped MCP identity for that operational context.

1. Run the setup command

From the terminal where you use Claude Code, run the Helix setup command. It performs dynamic client registration, opens a device-code approval in your browser, and registers Helix with Claude Code as an MCP server.

npx @nylas/helix-mcp-server --setup
Terminal showing npx @nylas/helix-mcp-server --setup followed by claude mcp list with Helix connected
The setup command registers Helix with Claude Code and uses a browser approval step so you do not paste long-lived secrets into chat.

2. Confirm Claude Code sees Helix

After approving the browser prompt, verify the server list. Helix should show as connected. If it does not, restart Claude Code and run the list command again before debugging prompts.

claude mcp list

Manual setup if you cannot use auto-setup

If your environment blocks the setup helper, activate Claude Code from Helix Deploy, copy the connection key, and add Helix manually with the Claude MCP CLI. Use a user-scoped registration unless you intentionally want the server configured at project scope.

claude mcp add --transport http -s user helix \
  https://helix.nylas.com/mcp \
  --header "Authorization: Bearer <connection-key>"

Prompts to try after connecting

Good safety defaults for coding agents

A terminal agent can be powerful, so keep the Helix identity narrow. Give Claude Code enough read context to understand the work, but route external communication, calendar writes, and cross-system side effects through approvals. This keeps the coding loop fast without hiding authority inside a prompt.

Helix approval queue showing an approval required policy for a draft action
For Claude Code, the best pattern is read broadly enough to understand work, act narrowly enough that external side effects remain reviewable.

Keep reading

Open the Claude integration guide · Spin up a free agent inbox

Newsletter

One email when we publish next.

One short email when the next post drops. No drip sequence.

No spam. Unsubscribe in one click.