MCP Servers: The Hidden Productivity Killer No One Talks About

MCP server connections break constantly, killing developer flow. Here is how to configure them at the project level so your team stops losing hours to connection issues.

Terrance MacGregorTerrance MacGregor
March 16, 2026
6 min read
MCP Servers blog hero image

MCP Servers: The Hidden Productivity Killer No One Talks About

The Problem

You install an MCP server. You connect it to your IDE. It works. Then it doesn't. You reconnect. It drops again. You spend the next hour clicking around settings panels trying to figure out why your AI agent can't talk to Jira anymore.

This is the reality of working with MCP servers right now, and it's brutal.

The technology is shifting constantly. You're depending on third-party providers to build and maintain their servers. You're depending on clients — Claude, Cursor, your CLI tool — to handle connections properly. And when any piece of that chain breaks, you're the one who pays for it. Not in error messages or clean failures, but in lost flow. You were heads-down on a feature, your agent needed context from Jira, and now you're troubleshooting connection issues instead of shipping code.

The worst part? This happens multiple times a day. Reconnecting, re-authenticating, wondering if it's your config or their server or the client itself. It's death by a thousand cuts.

What We Learned

We burned a lot of hours on this before we figured out what was actually going on. Here's what we wish someone had told us on day one. In this scenario, I'm going to show you a Claude setup. You can apply it with any other virtual setup you need. You have any other tool, codecs, Cursor, etc.

Every environment runs its own agent instance. If you're using Claude on your machine, that's one instance. If you have a VS Code plugin, that's a separate instance. If you're using a third-party tool that embeds Claude, that's a third. And if you open Claude in your browser, that's yet another. Four different Claude instances, four different configurations, and none of them know about each other.

  1. Claude CLI

  2. Claude Desktop

  3. Claude

That's the first thing you have to internalize. You're not running "Claude." You're running multiple isolated environments, and each one needs its own MCP configuration. Until you map that out, you'll keep chasing phantom connection issues.

Look up instructions

You want to set up MCP servers based on the CLI or Dev Tool, meaning that Cursor is different than Claude, and it could also be different from Codex or Grok. This is what you type into the LLM to find out exactly what the MCP configuration file should look like for that environment.

I am using [Claude CLI, Claude VS Code Plugin, Codex, etc] and I want to install an MCP
configuration . Can you please tell me what format this needs to be in, what directory
structure it needs to be in, and where it needs to be, and then send me a link to the
official documentation for it so I can read it?

The response!

There are two config locations depending on scope: project-level uses .mcp.json in your project root (version-controlled), and user-level uses ~/.claude/settings.local.json. You can also add servers directly via the CLI (claude mcp add ...) and then manage them with /mcp in the chat panel Claude — here's the JSON format

The official Claude Code MCP docs are here: https://docs.claude.com/en/docs/claude-code/mcp

{
  "mcpServers": {
    "your-server-name": {
      "command": "npx",
      "args": ["-y", "@your/mcp-package"],
      "env": {
        "API_KEY": "your-key-here"
      }
   }
}

Your MCP config needs to live in your project. Not on your machine. Not in some global settings folder that only you can see. It goes in your codebase, committed to version control, so every developer on your team connects to the same servers with the same configuration. When you spin up your agent in the context of that project, it finds the config automatically. No setup calls. No "hey, can you send me your MCP settings?"

Third-party MCP servers change constantly. Atlassian updates their MCP server. The auth flow changes. The config schema shifts. If you're not staying current with the providers you depend on, your connections will silently break. This isn't a set-it-and-forget-it situation.

What You Can Do About It

If you're about to set up MCP servers for your team, here's the playbook:

  1. Audit your environments. Before you touch a config file, write down every place you run an AI agent. Your desktop app, your IDE plugin, your browser, any third-party tools. Know what you're working with.

  2. Figure out which environment matters. You don't need MCP servers configured in all of them. Pick the one where you actually do your work — for most developers, that's your IDE or CLI tool.

  3. Create an mcp.json file for your project. List every third-party MCP server your team uses. Connection details, auth requirements, everything.

{
  "mcpServers": {
    "atlassian": {
      "command": "npx",
      "args": ["-y", "mcp-remote@latest", "https://mcp.atlassian.com/v1/mcp"]
    }
  }
}

Store It

  1. Put it in your team's shared configuration. If you're using Claude Code, that means .claude/mcp.json in your project root. Your agent picks it up automatically when it's working in that project.

  2. Restart your IDE, like VS code and type in this in your LLM of choice.

    /mcp
  3. Commit it to your codebase. when it works, make sure you do commit so your team can access it. If it's not in version control, it doesn't exist for your team. Commit it, push it, and now every developer who pulls the repo has working MCP connections from the start.

Why It Matters

When you get this right, MCP connections just work. You don't think about them. You don't troubleshoot them. You open your project, your agent connects to Jira, to your docs, to whatever services your team uses, and you start working.

The real payoff isn't the five minutes you save on setup. It's the flow state you stop losing. Every time you break out of focused work to debug a connection issue, it takes 15-20 minutes to get back to where you were mentally. Multiply that by a few times a day, across a whole team, and you're looking at hours of lost productivity every week that never show up on any dashboard.

Teams that nail this ship faster. Not because MCP is magic, but because their tools stay out of the way and let them focus on the actual work.


At Periscoped, we build systems that keep developers in flow — because the fastest team is the one that never has to stop and fix their tools.

Enjoyed this? Explore more on mcpai agentproductivity or get in touch.