Claude MCP means connecting Claude to outside tools and data through the Model Context Protocol (MCP), an open standard. In Claude Code you add a server with the claude mcp add command. In Claude Desktop you list it in a config file called claude_desktop_config.json and restart the app.
This guide explains what MCP is, how Claude uses it, the exact setup steps for Claude Code and Claude Desktop, how to keep access safe, and what a real example looks like when the server is a CMS. The setup details come from the official Anthropic and MCP documentation, and the commands are copied from there.
What is MCP in Claude?
The MCP documentation defines it as an open-source standard for connecting AI applications to external systems. Those systems can be data sources such as local files and databases, tools such as search engines and calculators, and workflows such as specialized prompts.
The docs compare MCP to a USB-C port for AI applications. One standard connector means a tool maker builds one server, and any app that speaks MCP can use it. Claude, ChatGPT, Visual Studio Code and Cursor are all listed as supporting it.
In practice it removes copy and paste. Without MCP, you ask Claude for text, copy it, and paste it into another app. With MCP, Claude calls a tool in that app and the result lands there directly.
How does Claude use an MCP server?
The MCP architecture page names three parts. The host is the AI application, such as Claude Code or Claude Desktop. The client is a component inside the host that keeps one connection open to one server. The server is the program that provides context and actions.
A server can offer three kinds of things, which the docs call primitives:
- Tools. Functions Claude can call to do something, such as create a record, query a database or save a file.
- Resources. Data Claude can read for context, such as a file, a schema or a style guide.
- Prompts. Reusable templates that structure how Claude approaches a task.
When you start a chat, the host asks each connected server what it offers. Claude sees the tool names, descriptions and input fields, and decides when a tool helps with your request. When it calls one, the host runs it and returns the result to Claude, which keeps going.
Local servers and remote servers
MCP supports two transports. A local server runs on your own machine as a process and talks over standard input and output (stdio). A remote server runs on the internet and uses Streamable HTTP, which supports bearer tokens, API keys and custom headers. MCP recommends OAuth for getting tokens.
Which one you pick usually follows the tool. A filesystem server must be local because it reads your disk. A CMS, a project tracker or a database service is normally remote, and you connect with a URL and a credential.
How do you add an MCP server in Claude Code?
Claude Code is Anthropic's command-line coding agent. It has a built-in command for managing servers, documented on the Claude Code MCP page. Follow these steps.
- Pick the transport. For a remote server, use HTTP. The docs mark the older SSE transport as deprecated and recommend HTTP where it is available. For a local program, use stdio.
- Run the add command. A remote HTTP server looks like claude mcp add --transport http name https://example.com/mcp. If the server needs a token, add a header: --header "Authorization: Bearer your-token".
- For a local server, use the double dash. The pattern is claude mcp add name -- command args. The double dash separates Claude's own options from the command that starts the server. Environment variables go in with --env KEY=value.
- Check the connection. Run /mcp inside Claude Code to see each server's status. If a server uses OAuth, the same menu walks you through the browser login.
- Manage servers. claude mcp list shows everything configured, claude mcp get name shows one, and claude mcp remove name deletes it.
Which scope should you use?
Claude Code stores each server at one of three scopes, set with the --scope flag. Pick deliberately, because the scope decides who gets the server and where a secret ends up.
- Local is the default. The server loads only in the current project and is not shared. It is stored in your ~/.claude.json file.
- Project writes a .mcp.json file in the project root so the whole team shares it through version control. Claude Code asks for approval before using project-scoped servers.
- User makes the server available in all your projects, still private to you.
The .mcp.json file supports environment variable expansion, written as a dollar sign and braces around the variable name. Use that for tokens so you never commit a secret to your repository.
How do you add an MCP server in Claude Desktop?
Claude Desktop uses a JSON config file. The MCP documentation walks through it with a filesystem server as the example.
- Open settings. Click the Claude menu in your system menu bar, not the settings inside the chat window, and choose Settings.
- Go to Developer. In the left sidebar choose Developer, then click Edit Config. This creates the file if it does not exist.
- Find the file. On macOS it is ~/Library/Application Support/Claude/claude_desktop_config.json. On Windows it is %APPDATA%\Claude\claude_desktop_config.json. On Linux it is ~/.config/Claude/claude_desktop_config.json.
- Add the server under mcpServers. Each entry has a name, a command and an args list. The documented example runs npx with the filesystem server package and a list of folders it may read.
- Restart completely. Quit Claude Desktop and open it again. Then open the connectors menu near the chat box to see the server and its tools.
The docs give three tips worth following. Pin an exact package version instead of a floating one. Use absolute paths, not relative ones. And if a server does not show up, check the JSON syntax first, then read the logs. On macOS the MCP logs are in ~/Library/Logs/Claude, in files named mcp.log and mcp-server-NAME.log.
Is it safe to connect Claude to MCP servers?
It is safe when you control what each server can do. An MCP server is code and credentials that your AI can use on your behalf, so treat it like giving a new contractor access to a system.
Anthropic's Claude Code documentation puts the main risk in one line: "Verify you trust each server before connecting it." It adds that servers which fetch external content can expose you to prompt injection, where text in a web page or document tries to give the model instructions.
The Claude Desktop guide shows the other half. Claude asks for your approval before it runs a tool, and the docs tell you to review each request before approving. A local server also runs with your user account permissions, so it can do anything you can do on those folders.
A practical checklist:
- Trust the source. Install servers from publishers you can name. Read what a tool does before you approve it.
- Scope the token. Create a credential for one project with the fewest permissions that still work. A token that can only write drafts is far safer than one that can publish or delete.
- Keep secrets out of files you share. Use environment variables in .mcp.json and never paste a token into a prompt.
- Limit folders. For local servers, list only the directories the task needs.
- Keep approvals on for actions that cannot be undone. Publishing, deleting, sending and paying should wait for a person.
- Pin versions and update on security fixes. A floating version can change under you.
- Remove what you stop using. Run claude mcp remove for servers you no longer need.
One more point matters for content. A prompt that says do not publish is a request the model can misread or ignore. A permission enforced by the server is a rule. Whenever the stakes are real, prefer the rule.
What can you do with Claude MCP?
The MCP site lists examples such as agents using your calendar and notes, Claude Code building a web app from a Figma design, and chatbots querying several databases. For everyday work, the same pattern covers a few common jobs:
- Read your files. Let Claude search a project folder or a notes directory.
- Query data. Connect a database or analytics tool so Claude can answer questions from real numbers.
- Work with tickets and docs. Pull issues, write updates and keep records in one place.
- Write to your website. Let Claude create blog drafts in your content system instead of a chat window.
The last one is where the safety points above matter most, because the output is public.
How do you connect Claude to a CMS over MCP?
You add the CMS as a remote HTTP server, give it a token that can write drafts, and keep publishing as a human step. That gives you the speed of an AI writer without letting it push unreviewed posts live. The AI blog writer guide covers the full workflow around this setup.
Elev8or CMS is one product built for this. Its product page shows the Claude Code command with its own server URL and a site token. The shape matches the one in Anthropic's docs: claude mcp add --transport http elev8or-cms https://cms.elev8or.io/mcp --header "Authorization: Bearer your-token". Use the exact URL and token from your site settings.
What is true of that setup today, from the product page:
- The token can write drafts but never publish. Approving and publishing need a signed-in person, and the approval covers the exact version that person reviewed.
- Checks run before review. Duplicate titles, missing descriptions, missing alt text and links to pages that do not exist block publishing. Thin posts, near-duplicates, banned phrases and figures with no source are flagged.
- Drafts carry structure. Images by URL, categories by name and SEO fields come through the same connection.
- It works with Claude Code, Cursor or any MCP client that accepts a header. One-click Claude.ai and ChatGPT connectors are coming soon, so connect with a token for now.
- It is not an AI writer. It does not generate text and does not charge for AI. You bring your own Claude.
Free covers one site with up to 50 published posts and 2 new posts a day, with unlimited users and agents. Paid plans raise the limits, and you can see them on the pricing page. Other content systems also offer MCP servers, so compare how each one handles publish permissions before you give any agent a token.
What should you write first with Claude and a CMS?
Start small and keep the review step tight. A good first run takes about an hour.
- Connect and test. Add the server, run /mcp and ask Claude to list what the server offers.
- Give it context. Paste your style guide, banned phrases and a list of your real page URLs. For writing guidance, see SEO content writing and blog post templates.
- Ask for one draft. Pick a topic from your editorial calendar and request a single post with sources.
- Review like an editor. Check every claim, open every link and add something only your team knows.
- Approve once. Publish only after you have read the exact version going live.
What goes wrong with Claude MCP, and how do you fix it?
- The server does not appear. In Claude Desktop, check JSON syntax and absolute paths, restart fully, then read mcp.log. In Claude Code, run /mcp and claude mcp list.
- A command fails on Windows. The MCP docs note that npx can fail if npm is not installed globally. They also show an APPDATA entry under env as a fix for path errors.
- Authentication fails. Remote servers that use OAuth need the login step from the /mcp menu. Token-based servers need the header spelled exactly as the server expects.
- Too many tools. Every connected server adds tool descriptions Claude has to consider. Remove servers you do not use.
Should you start using Claude MCP?
Yes, if you have a repeatable job that crosses two apps and a clear rule for what Claude must never do alone. Connect one server, scope its token tightly, and keep a person on every irreversible step. If the job is publishing to your website, Elev8or CMS gives you a free site to try that pattern with person-only publishing.
Frequently asked questions
What is Claude MCP?
How do I add an MCP server to Claude Code?
Where is the Claude Desktop MCP config file?
Is MCP secure?
Can Claude publish to my website through MCP?
Does Elev8or CMS work with Claude?
Stay Updated
Get the latest insights on creator marketing and creator economy.



