claude-code·Published 2026.06.01·Views 3
claude mcp: Connect External Apps Like Gmail and Sheets from the Terminal
Here's how to connect and manage external apps like Gmail, Google Sheets, and Slack in Claude Code with the claude mcp command. The more connections you ad
What if you could make Claude Code not just write code, but read your Gmail and update your Google Sheets? The channel that makes that possible is MCP, and the command for setting up and managing this channel from the terminal is claude mcp.
Definition (What It Is)
claude mcp is a command for setting up and managing external app connections (MCP) from the terminal.
MCP is short for "Model Context Protocol," which sounds difficult but, put simply, is the channel connecting Claude to external tools like Gmail, Google Sheets, Slack, and GitHub. Connect these channels one by one and Claude can read and write those tools directly. In other words, the more connections you add, the more work Claude can do on your behalf.
How to Use It (By Difficulty)
Basic — View the connection list
claude mcp
Type this one line and it shows the list and status of the servers (external apps) currently connected. It's the first command to use when checking "what did I connect again?" or "is this app properly attached?"
Applied — Connect a new app
claude mcp
Enter with the same command and follow the guidance to additionally connect a new tool like Google Sheets. Just follow the on-screen steps in order, so even a first-timer can attach a new connection without trouble.
Advanced — Use only specified connections
claude --strict-mcp-config --mcp-config ./mcp.json
Specify the connection config file with --mcp-config and append --strict-mcp-config, and it runs restricted to using only the connections listed in that file. ./mcp.json means "the mcp.json file in the current folder." It's useful when you want to turn on only the connections strictly needed for a particular task and block the rest.
Common Pitfalls
- If you want to manage connections during a conversation, type
/mcpin the chat window instead of the terminal command. Remember:claude mcpis for the terminal,/mcpis for use during a conversation. - Just connecting isn't the end—login or permission grants for that app may be needed. Get into the habit of checking in the list whether the status is normal.
Real-World Example
When building a blog automation pipeline (a workflow where multiple tasks chain together), connecting Google Sheets lets you make Claude read the topic-list sheet directly, write the post, and change the sheet's status cell to "Done" when the task finishes. Claude does on your behalf the work of opening the sheet and changing it by hand.
More Ways to Use It
Connecting the tools you use often at work one by one grows Claude into an ever-smarter assistant. It becomes able to handle, in one go, tidying email, filling in sheets, and even sending notifications to Slack. Rather than trying to connect everything from the start, I recommend attaching just one tool you use most often right now.
How Others Use It
- A case connecting GitHub MCP with the single line
claude mcp add -s user --transport http github ...: Adding an MCP server — MCPcat - A step-by-step guide to connecting Claude Code to GitHub MCP: Connect Claude Code To GitHub — AI Hero
Wrap-Up
claude mcp is a command for connecting and managing external apps like Gmail, Google Sheets, Slack, and GitHub in Claude Code. Just run it to see the connection list, and follow the guidance to attach a new app. Connecting the tools you use often one by one steadily grows what Claude can do.
Reference: Claude Code v2.1.154 (2026.05)
Comments
Comments 0
Checking sign-in status…
Loading comments…