🌐
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 18, 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.

🌐
Mehmet Baykar
mehmetbaykar.com › posts › adding-mcp-servers-in-claude-code
Adding MCP Servers in Claude Code | Mehmet Baykar
October 14, 2025 - Adding MCP Servers in Claude Code ... at project root: User/Global Scope (All Your Projects) Available globally: Directly add using JSON configuration: For remote HTTP/SSE servers: Import existing desktop configurations: Edit ...
🌐
Claude
code.claude.com › docs › en › mcp
Connect Claude Code to tools via MCP - Claude Code Docs
You can use --scope user to add the server to your user configuration instead of the project-specific one · If you’ve already configured MCP servers in Claude Desktop, you can import them: ... After running the command, you’ll see an ...
🌐
ClaudeLog
claudelog.com › home › faqs › mcp server setup
How to Setup Claude Code MCP Servers | ClaudeLog
Project Customization - Configure different MCP servers for different projects based on specific needs · External API Access - Connect Claude to specialized services beyond built-in capabilities · Up-to-Date Information - Get fresh search results instead of relying on training data cutoffs · Modular Architecture - Add or remove specific capabilities without affecting core Claude Code ...
🌐
Playbooks
playbooks.com › mcp › claude-code
Claude Code MCP Server MCP server for AI agents
See the official Claude Code MCP documentation for more details. There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your 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 - Also see the guide on optimising MCP server context usage to get the most out of your setup. Claude Code’s default approach for configuring MCP tools is through a CLI wizard (claude mcp add).
🌐
Docker
docker.com › blog › add-mcp-servers-to-claude-code-with-mcp-toolkit
Add MCP Servers to Claude Code with MCP Toolkit | Docker
October 14, 2025 - Set up Claude Code and connect it to Docker MCP Toolkit. Configure the Atlassian MCP server for Jira integration.
🌐
MCPcat
mcpcat.io › guides › importing-mcp-server-setup-claude-desktop-to-code
Import MCP Servers from Claude Desktop to Claude Code | MCPcat
Import your MCP servers with one command: claude mcp add-from-claude-desktop. Select servers interactively or use -s global for system-wide access. For complex setups, directly edit .claude.json in your home directory.
Find elsewhere
🌐
GitHub
github.com › anthropics › claude-code › issues › 515
[BUG] MCP servers defined in global.json are not applied to projects · Issue #515 · anthropics/claude-code
March 15, 2025 - claude mcp add-json brave-search "$(cat ~/.claude-code/mcp/global.json | jq '.mcpServers."brave-search"')" claude mcp add-json puppeteer "$(cat ~/.claude-code/mcp/global.json | jq '.mcpServers.puppeteer')" After running these commands, claude mcp list properly showed both servers as configured.
Published   Mar 15, 2025
🌐
Liblab
liblab.com › model context protocol (mcp)
Connect Claude to an MCP Server | Generate SDKs for your API with liblab
Learn how to connect Claude to a local or hosted MCP server, enabling you to access your API with natural language.
🌐
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.
This is a one-time requirement by the Claude CLI. ... Follow the prompts to accept. Once this is done, the MCP server will be able to use the flag non-interactively. macOS might ask for all kind of folder permissions the first time the tool runs and the first run then fails. Subsequent runs will work. After setting up the server, you need to configure your MCP client (like Cursor or others that use mcp.json or mcp_config.json).
Starred by 961 users
Forked by 109 users
Languages   JavaScript 74.7% | TypeScript 22.7% | Shell 2.5% | Batchfile 0.1%
🌐
Reddit
reddit.com › r/claudeai › how do i add an mcp server to claude code?
r/ClaudeAI on Reddit: How do I add an MCP server to Claude Code?
May 28, 2025 -

I know there's a "mcp add" command but It seems the syntax thats out there for some MCP server appears to be older. I want to add Sentry to my MCP servers but im running into issues.

From what I can tell the way to add it in JSON looks like this:

{
  "mcpServers": {
    "Sentry": {
      "command": "npx",
      "args": ["mcp-remote@latest", "https://mcp.sentry.dev/sse"]
    }
  }
}

I created this file in ~/.config/claude-code/mcp_servers.json but it doesn't seem to detect it when restarting claude.

Anyone know if Im doing something wrong or can tell me how to set sentry up to work with Claude Code? Thanks!

🌐
Apidog
apidog.com › blog › how-to-quickly-build-a-mcp-server-for-claude-code
How to Quickly Build a MCP Server for Claude Code
October 13, 2025 - Problem: This server only works when you're in the exact directory where you registered it. ✅ Correct approach (User scope - global access): claude mcp add --scope user my-server python3 /path/to/server.py
🌐
Kyle Redelinghuys
ksred.com › claude-code-as-an-mcp-server-an-interesting-capability-worth-understanding
Claude Code as an MCP Server: Setup and Real-World Usage
October 30, 2025 - Beyond Claude Desktop, you can connect Claude Code to other development environments. ... Via Cursor UI: Settings → Tools & Integrations → New MCP Server. This opens the JSON file where you add the configuration above.
🌐
FastMCP
gofastmcp.com › integrations › claude-code
Claude Code 🤝 FastMCP - FastMCP
For more control over the configuration, you can manually use Claude Code’s built-in MCP management commands. This gives you direct control over how your server is launched: ... # Add a server with custom configuration claude mcp add dice-roller -- uv run --with fastmcp fastmcp run server.py # Add with environment variables claude mcp add weather-server -e API_KEY=secret -e DEBUG=true -- uv run --with fastmcp fastmcp run server.py # Add with specific scope (local, user, or project) claude mcp add my-server --scope user -- uv run --with fastmcp fastmcp run server.py