How to Connect Grok to Your Mac

Give xAI Grok direct access to your Mac apps — Mail, Calendar, Contacts, Teams, OneDrive, and 100+ tools. Privacy-first: a custom MCP connector over the encrypted Cloud Relay, your data never leaves your Mac.

L
LMCP··5 min read

What This Lets You Do

Grok runs in the cloud, but your email, calendar, and Teams chats live on your Mac. Grok added Bring Your Own MCP custom connectors in May 2026, so with LMCP plus the Cloud Relay, Grok can call tools that run directly on your Mac — over an encrypted WebSocket tunnel — and the data stays local.

From Grok you can ask:

  • “Summarize my unread emails from this week”
  • “What’s on my calendar today?”
  • “Search emails about the Q3 budget”
  • “Summarize the engineering Teams channel from yesterday”

Grok sends the request to LMCP’s backend, the backend forwards it through the encrypted tunnel to your Mac, your Mac executes the tool locally (Mail.app, Calendar via EventKit, Teams via local cache), and the result returns to Grok.

Privacy Story

Cloud Data Forwarding is off by default and opt-in per machine. When off, the connector's tools/list advertises only setup_install (onboarding) — data tools are not listed until you enable forwarding.

When you turn it on, your data still comes from your Mac — nothing is stored in the cloud. The bytes transit through the encrypted tunnel between your Mac and the LMCP backend, but they’re never persisted server-side. Turn it off any time and Grok instantly loses access to data tools.

What You Will Need

  • macOS 12 (Monterey) or later — Apple Silicon or Intel
  • A Grok account on a paid tier — custom connectors (“Bring Your Own MCP”) are a paid-tier feature
  • An email address — used to register your tunnel and recover access

Step 1: Install LMCP on Your Mac

  1. Download the LMCP installer (.dmg, macOS 12+).
  2. Open the .dmg, drag Local MCP to Applications, and open it from Applications.
  3. macOS may ask you to confirm opening an app from the internet — click Open.

LMCP starts automatically and puts an icon in your menu bar. Setup takes about 30 seconds.

Step 2: Turn On Cloud Relay

Click the LMCP icon in your menu bar (top-right of the screen) and find the Web AIs · Via Cloud Relay section:

  1. Cloud Relay shows Connected (green) once LMCP is running — no email or login needed; the connection is authenticated by a token.
  2. Toggle Cloud Data Forwarding to ON. This lets cloud agents call your data tools (off by default for privacy).

Step 3: Add the Custom Connector in Grok

Grok’s custom-connector form has only two fields — Name and Server URL — and no place to enter a token or authenticate. So your connector token goes in the URL: that’s what binds the connector to your Mac and unlocks the full tool catalog.

In LMCP’s menu-bar app, open the Cloud Relay section and click Copy URL next to Connector token. It copies your personal URL (with the token percent-encoded so it survives in any connector):

https://www.local-mcp.com/mcp?token=YOUR_TOKEN

(No Copy URL button yet? Click Copy to grab just the token, then append it to https://www.local-mcp.com/mcp?token= yourself.)

Then open grok.com/connectors and:

  1. Click New Connector
  2. Choose Custom (Bring Your Own MCP)
  3. Fill in:
    • Name: LMCP
    • Server URL: paste the tokenized URL you copied above
  4. Click Add Connector. Grok probes the URL, the token binds your session, and it discovers your tools.

The connector should show Connected with the full catalog (100+ tools) — provided Cloud Data Forwarding is ON (Step 2). There is no separate OAuth or authorization step in Grok.

Keep this connector private: the URL contains your token, which grants access to your Mac through the Cloud Relay. Anyone with the URL can use it until you disconnect the connector or toggle Cloud Data Forwarding off. You can rotate the token anytime from LMCP Settings.

Step 4: Try It in a Chat

Open a new conversation in Grok with the LMCP connector enabled. Then ask in plain language:

  • “List my email accounts”
  • “What meetings do I have today?”
  • “Show me the latest messages in the engineering Teams channel”

Grok routes the request through the Cloud Relay to your Mac, which executes the tool and returns the result — usually in under 2 seconds.

What Tools Are Available?

With Cloud Data Forwarding on, Grok sees the same 100+ tools as the local lmcp connector:

  • Mail (Mail.app + Outlook): list, read, search, send, reply, move, save attachments
  • Calendar: list events, create, delete, check availability
  • Contacts: search, list, get details
  • Microsoft Teams: list chats, read messages, channel messages (no Graph API needed)
  • OneDrive: list, read, write, move, delete, search files
  • Notes & Reminders: list, search, create, complete
  • Messages: read iMessage chats
  • OmniFocus: list tasks, projects, complete, search
  • Word, Excel, PowerPoint, PDF: read and create
  • Finder & Safari: search files (Spotlight), list folders, bookmarks

Turning It Off

Open the LMCP menu bar popover → Web AIs section, toggle Cloud Data Forwarding back to OFF. The change is instant: Grok immediately loses access to data tools. Your tunnel stays connected for onboarding (setup_install), but no data flows through.

Troubleshooting

Grok shows “0 tools” or only setup_install

Two causes. (1) Your connector URL is missing the ?token= — without it, the session is unbound and only setup_install is advertised. Re-add the connector using the full tokenized URL from Copy URL (Step 3). (2) Cloud Data Forwarding is OFF — toggle it ON in the Cloud Relay section. If the tool list doesn’t refresh, remove and re-add the connector in grok.com/connectors to force a fresh discovery.

Connector shows “Connected” but tools fail

Make sure LMCP is running (menu bar dot should be green) and Cloud Data Forwarding is ON. If the token is no longer valid, copy a fresh URL via Copy URL from the Cloud Relay section and re-add the connector.

Custom connector option not available in Grok

“Bring Your Own MCP” custom connectors require a paid Grok tier. If you only see prebuilt connectors, upgrade your Grok plan, or use LMCP with a local client (Claude Desktop, Cursor, Claude Code) that connects directly without the Cloud Relay.

Related Guides

Ready to try it?

Works with Claude, Cursor, VS Code, ChatGPT and any MCP client

Download LMCP (.dmg)
Free for the first 500 installsmacOS 12+ · Apple Silicon & Intel

✦ llms.txt