Check your ~/.claude.json. There are several possible locations as documented here: https://claudelog.com/configuration#mcp-configuration Answer from inventor_black on reddit.com
🌐
Reddit
reddit.com › r/claudeai › claude code - where is my mcp configuration stored
r/ClaudeAI on Reddit: Claude Code - Where is my MCP configuration stored
June 27, 2025 -

I did `claude mcp add ...` to add a local MCP server, but I can't find where this config is stored.

It didn't update `.claude/settings.local.json`, it didn't create a `.mcp.json` file, it hasn't created or updated anything in `~/.claude`.

Yet when I do `claude mcp list`, it somehow knows about the MCP I added.

Where does Claude Code hide this configuration for local projects?

🌐
Scott Spence
scottspence.com › home › posts › configuring mcp tools in claude code - the better way
Configuring MCP Tools in Claude Code - The Better Way - Scott Spence
March 30, 2025 - 🤦 Although I am a Windows Subsystem for Linux (WSL) user, the config for Claude Code file (unlike Claude Desktop) is stored in the Linux file system (as I’m running it in a node env) this means there’s none of the faffing around with passing the request through the wse.exe binary like I’ve had to do with Claude Desktop. The .claude.json file contains a a bit more than just MCP server configurations.
🌐
MCPcat
mcpcat.io › guides › adding-an-mcp-server-to-claude-code
Add MCP Servers to Claude Code - Setup & Configuration Guide | MCPcat
Add server: claude mcp add [name] --scope user List servers: claude mcp list Remove server: claude mcp remove [name] Test server: claude mcp get [name] Config location: macOS: ~/Library/Application Support/Claude/claude_desktop_config.json · ...
🌐
Claude
code.claude.com › docs › en › mcp
Connect Claude Code to tools via MCP - Claude Code Docs
This file is designed to be checked into version control, ensuring all team members have access to the same MCP tools and services. When you add a project-scoped server, Claude Code automatically creates or updates this file with the appropriate ...
🌐
ClaudeLog
claudelog.com › home › configuration
ClaudeLog - Claude Code Docs, Guides, Tutorials & Best Practices
Complete Claude Code configuration with comprehensive setup guides for API keys, model selection, MCP servers, tool permissions, and multi-directory workflows. Essential settings for optimizing your AI development experience. ... Use AI to create expressive CSS animations by splitting SVGs into logical parts. Claude can grok individual SVG components, split them into separate files...
🌐
GitHub
github.com › anthropics › claude-code › issues › 4976
Documentation incorrect about MCP configuration file location · Issue #4976 · anthropics/claude-code
August 2, 2025 - The Claude CLI documentation incorrectly states that MCP server configuration should be placed in ~/.claude/settings.json. This configuration file location does not work for MCP servers.
Published   Aug 02, 2025
🌐
GitHub
github.com › steipete › claude-code-mcp
GitHub - steipete/claude-code-mcp: Claude Code as one-shot MCP server to have an agent in your agent.
(Note: In some mixed setups, if Cursor is also installed, these clients might fall back to using Cursor's ~/.cursor/mcp.json path. Prioritize the Codeium-specific paths if using the Codeium extension.) Create this file if it doesn't exist. Add or update the configuration for claude_code:
Starred by 963 users
Forked by 109 users
Languages   JavaScript 74.7% | TypeScript 22.7% | Shell 2.5% | Batchfile 0.1%
🌐
LobeHub
lobehub.com › mcp › raphaelchristi-claude-mcp-config
Claude Code MCP Configuration Guide | MCP Servers · LobeHub
November 4, 2025 - Este repositório documenta a configuração completa dos servidores MCP (Model Context Protocol) com Claude Code, incluindo Context7 e TaskMaster AI. ... Uso: Comandos slash como /project-setup, /parse-prd, etc.
Find elsewhere
🌐
Model Context Protocol
modelcontextprotocol.io › docs › develop › connect-local-servers
Connect to local MCP servers - Model Context Protocol
... In the Settings window, navigate to the “Developer” tab in the left sidebar. This section contains options for configuring MCP servers and other developer features.Click the “Edit Config” button to open the configuration file...
🌐
Liblab
liblab.com › model context protocol (mcp)
Connect Claude to an MCP Server | Generate SDKs for your API with liblab
If you generated your MCP server using the liblab hosting service, use this option. Open Claude Desktop. In the settings, go to Developer and click Edit Config. This will open the claude_desktop_config.json file.
🌐
Clockwise
getclockwise.com › home › blog › how to configure claude code mcp for smarter integration
How to Configure Claude Code MCP for Smarter Integration | Clockwise
November 11, 2025 - Best for: quick setup, testing, or one-time configurations ... Claude Code saves your server definitions in simple JSON files. Depending on the scope, they're placed in different locations: User scope: ~/.claude.json (available across all projects ...
🌐
dbt
docs.getdbt.com › dbt mcp
Integrate Claude with dbt MCP | dbt Developer Hub
4 days ago - Go to the Claude settings. Click on the Claude menu in your system's menu bar (not the settings within the Claude window itself) and select Settings…. In the Settings window, navigate to the Developer tab in the left sidebar.
🌐
Reddit
reddit.com › r/claudeai › setting up mcp servers in claude code: a tech ritual for the quietly desperate
r/ClaudeAI on Reddit: Setting Up MCP Servers in Claude Code: A Tech Ritual for the Quietly Desperate
March 19, 2025 -

After much trial and error I finally got functioning MCP servers in Claude Code albeit with slightly less will to live.

What are MCP Servers?

They're digital prosthetics that give Claude arms and legs to crawl around your computer with. Less poetically: extensions that let it do stuff beyond generating code you'll never actually use.

The Tools (★ = Requires API Key)

  • Sequential Thinking: Helps Claude solve problems step‑by‑step

  • Filesystem: Lets Claude rummage through the folders you allow

  • Playwright: Modern multi‑browser automation

  • Puppeteer: Chrome‑only (deprecated)

  • Web Fetching: Grabs content from websites

  • Browser Tools (Chrome DevTools Integration): Capture and analyze browser data through a Chrome extension

  • ★ Brave Search: Web searching capabilities

  • ★ Firecrawl: Advanced web scraping


🏃‍♂️ One‑Command Installation (The "I Don't Have Time For This" Version)

Copy everything in the block, paste into a macOS/Linux terminal, and hit ↵.

bash <<'EOF'
echo "🔧  Installing Claude MCP servers (latest versions)…"

# Sequential Thinking — Claude's chain‑of‑thought engine
claude mcp add sequential-thinking -s user \
  -- npx -y @modelcontextprotocol/server-sequential-thinking || true

# Filesystem — give Claude access to local folders
claude mcp add filesystem -s user \
  -- npx -y @modelcontextprotocol/server-filesystem \
     ~/Documents ~/Desktop ~/Downloads ~/Projects || true

# Playwright — modern multi‑browser automation
claude mcp add playwright -s user \
  -- npx -y @playwright/mcp-server || true

# Puppeteer — Chrome‑only (deprecated but still works)
claude mcp add puppeteer -s user \
  -- npx -y @modelcontextprotocol/server-puppeteer || true

# Fetch — simple HTTP GET/POST
claude mcp add fetch -s user \
  -- npx -y @kazuph/mcp-fetch || true

# Browser‑Tools — DevTools logs, screenshots, etc.
claude mcp add browser-tools -s user \
  -- npx -y @agentdeskai/browser-tools-mcp || true

echo "--------------------------------------------------"
echo "✅  MCP registration finished."
echo ""
echo "🔴  To enable Browser‑Tools, run this in a *second* terminal and leave it open:"
echo "    npx -y @agentdeskai/browser-tools-server"
echo "--------------------------------------------------"
claude mcp list
EOF

Save this as install-mcp-servers.sh, make it executable (chmod +x install-mcp-servers.sh), and run it while questioning your life choices.

Windows users: you'll need a .bat file instead. Good luck with that!

# Essential MCP Servers (Individual Installation)

Sequential Thinking

claude mcp add sequential-thinking -s user \
  -- npx -y @modelcontextprotocol/server-sequential-thinking

Lets Claude actually think through problems instead of making things up with confidence.

Filesystem Access (update paths as desired)

claude mcp add filesystem -s user \
  -- npx -y @modelcontextprotocol/server-filesystem \
     ~/Documents ~/Desktop ~/Downloads ~/Projects

Give Claude access to your files.

Playwright (multi‑browser automation)

claude mcp add playwright -s user \
  -- npx -y @playwright/mcp

Puppeteer (deprecated but still works)

claude mcp add puppeteer -s user \
  -- npx -y @modelcontextprotocol/server-puppeteer

Watch in existential dread as your browser operates itself.

Web Fetching

claude mcp add fetch -s user \
  -- npx -y @kazuph/mcp-fetch

Grabs content from websites.

Browser Tools

Gives Claude access to your browser's console logs, network traffic, and the ability to run performance/accessibility audits.

Step 1: Install the Chrome extension – download from the releases page and load it via Chrome’s extension manager. Step 2: Start the middleware server (keep this terminal open)

npx -y @agentdeskai/[email protected]

Step 3: Add the MCP server to Claude Code (in a separate terminal)

claude mcp add browser-tools -s user \
  -- npx -y @agentdeskai/[email protected]

Step 4: Open Chrome DevTools (F12) and find the BrowserTools tab.

★ Brave Search (Requires API Key)

# Replace YOUR_API_KEY_HERE with your actual Brave Search API key
claude mcp add brave-search -s user \
  -- env BRAVE_API_KEY=YOUR_API_KEY_HERE \
     npx -y @modelcontextprotocol/server-brave-search

Let Claude search the web and bring back results.

★ Firecrawl (Advanced Web Scraping — Requires API Key)

# Replace fc-YOUR_API_KEY with your actual Firecrawl API key
claude mcp add firecrawl -s user \
  -- env FIRECRAWL_API_KEY=fc-YOUR_API_KEY \
     npx -y firecrawl-mcp

For when you need to scrape websites with industrial‑grade efficiency and minimal respect for robots.txt.


# The -s user vs -s local Thing

  • -s user: Makes these tools available globally

  • -s local: Only works in your current directory

# Troubleshooting

  • Windows issues: prepend cmd /c before npx commands

  • Timeout errors: MCP_TIMEOUT=10000 claude

  • Connection problems: Type /mcp in Claude Code to see which servers are napping

  • Filesystem access: Double‑check your paths

That's it. Save yourself the four hours of my life I'll never get back.

PS – Yes, this was written mostly with the help of Claude.

EDIT: Apparently there were some stupid Reddit formatting issues. It converted the "@" to "u/", I'm such a noob, sorry! I updated the script to include playwright which is a pretty good alternative to puppeteer. Thanks all for pointing out my numerous flaws.

🌐
QuantConnect
quantconnect.com › docs › v2 › ai-assistance › mcp-server › claude-code
Claude Code - MCP Server
In a terminal, navigate to the directory you want Claude to operate in and then run claude --mcp-config <path_to_your_config_file>. $ claude --mcp-config C:/Users/derek/quantconnect_mcp_config.json · You can even use the terminal in Visual ...