---
title: "Claude Code MCP: Fix the 2 Things That Kill Your Flow"
url: "https://www.morphllm.com/blog/claude-code-mcp-servers"
description: "Stop waiting 15 seconds for edits. Stop searching the same files over and over."
date: "2025-11-24"
author: "Tejas Bhakta"
---
# Claude Code MCP: Fix the 2 Things That Kill Your Flow

The thing that finally clicked for me about Claude Code is that it's smart and slow at the same time, and the slow part has nothing to do with the smart part. It works out your change in a few seconds. Then it spends fifteen more seconds typing it. It knows exactly which files hold the answer to your question. Then it opens them one at a time like it's got all day. The brain is quick. The hands are the problem.

Once you see it that way the fix is obvious. Keep the brain. Give it faster hands. It takes one config file to set up.

## The edit hands are too slow

Ask Claude Code to add validation to a login form and it thinks for three seconds, writes the code, then spends twelve more seconds rewriting the whole 400-line component to change five lines of it. Multiply by four edits in a morning and you've lost most of an hour, nearly all of it to a spinner. The maddening bit is that the wait scales with the file, not with your change. A one-line fix in a 300-line React component still runs 8 to 12 seconds. In an 800-line API file, 25 and up. Past a thousand lines it frequently just hangs.

I put actual numbers on this because the anecdotes weren't landing with people. We ran 500 edits through both a plain setup and one with FastApply, on a real Next.js app. A 200-line file went from 8.2 seconds down to 0.4. A 500-line file, 14.7 down to 0.8. The thousand-line files, the ones that crawl at 38 seconds or hang, came back at about 1.3.

What changed mechanically is that Claude stops rewriting anything. On its own it regenerates the whole file with your edit buried inside, roughly 2,400 tokens streamed at around 180 tok/sec, thirteen seconds of your life. With FastApply it emits only the changed lines, and FastApply merges them at 10,500 tok/sec, so the edit lands in about 0.6 seconds. Everyone fixates on that speed jump. I care about something downstream of it: thirteen seconds is long enough to lose your train of thought, and half a second isn't.

## The search hands are worse

Search has the same disease and a nastier symptom. Ask "where do we handle authentication errors?" and Claude sets off alone, one file at a time. Grep `authError`, read three files, nothing. Grep `auth`, eight more files. Grep `handleAuth`, five more, answer finally shows up in file twelve. Ninety seconds. But the wasted time isn't even the real cost. By the end Claude is carrying sixteen files of mostly-irrelevant code, and it keeps half-thinking about all of them while it writes your next thing.

The cause of both taxes is one word: serial. One tool call, wait, the next, wait. A single register with a long line. There's no law saying the steps have to run one at a time, and Warp-Grep is the proof. It runs the play Cognition built into SWE-grep, the search behind Devin: throw a batch of calls into the air at once. Here's the same "find where user permissions get validated" done the slow way:

```
grep "permission"        2.1s
read middleware/auth.py  1.8s
grep "validate"          2.3s
read utils/validators.py 1.6s
grep "user.*permission"  2.4s
read models/user.py      1.9s
...12 turns → 28 seconds, 16 files open
```

Twelve turns, twenty-eight seconds, sixteen files stuck in context. Now the parallel version:

```
Turn 1, all at once:
  grep "permission" · grep "validate.*user" · grep "auth.*check"
  glob "**/auth/**"
  read middleware/auth.py · read middleware/permissions.py
  read utils/validators.py · read models/permissions.py
  → 8 ops in 2.8s
Turn 2 narrows → 2.1s
→ 4.9 seconds, 3 files
```

Two turns, under five seconds, three files with exact line ranges. The five seconds is the headline. The three files is the story. Because the dead ends never got loaded, Claude's attention was never spent reading around them.

## The part that surprised me

I assumed the win here was speed. It's mostly not. Cognition named the real problem context pollution, and their research is blunt about it: junk code sitting in the window quietly degrades everything the model writes after. Worse, they found the polluted case hurts more than the thin one. A model that's missing something can just search again. It can't un-read a file it never should have opened. So the parallel search isn't only faster, it keeps the whole context clean by never letting the junk in. Cognition liked that property enough to ship a feature around it, "Fast Context," and I suspect it's a real part of why Windsurf feels quick.

## Setup, and the one thing everyone gets wrong

You get both of these hands from a single MCP server, and wiring it up is genuinely a one-minute job. I stalled on it for a week assuming there was an install; there isn't. You add a block to a JSON file Claude Desktop already keeps, and paste an API key from [the dashboard](https://morphllm.com/dashboard/api-keys). The file lives at `~/Library/Application Support/Claude/claude_desktop_config.json` on a Mac, `%APPDATA%/Claude/claude_desktop_config.json` on Windows.

```json
{
  "mcpServers": {
    "morph-fast-tools": {
      "command": "npx",
      "args": ["@morphllm/morphmcp"],
      "env": {
        "MORPH_API_KEY": "your-api-key-here",
        "ENABLED_TOOLS": "all"
      }
    }
  }
}
```

Nobody gets stuck on the JSON. They get stuck on the restart, and the trap is that a reload feels like a restart. Claude Code reads this file once, at launch, so anything short of fully quitting and reopening leaves your server invisible. Do the real quit, reopen, then ask "what MCP tools are available?" to confirm. Two footnotes: Windows paths need doubled backslashes, which snags nearly everyone, and if you only want the merges and keep your own search tools, `ENABLED_TOOLS` set to `edit_file` leaves you `edit_file` alone.

## A whole task, start to finish

Benchmarks are clean and a little abstract. Watch it on a real ticket instead. "Add rate limiting to the API" is a two-hour afternoon on a plain setup, and the split is depressing: eight minutes hunting for the pattern to copy, a couple watching edits crawl across eight files, twelve on manual testing, and the whole time Claude drifting toward wrong patterns because its head is full of half-relevant files. With the subagents on it's 28 minutes. Warp-Grep pulls the patterns in about five seconds, FastApply merges the eight files in six, and a clean context keeps Claude on target.

The small stuff shrinks even more. "Fix these 8 linting errors across 6 files" was a fifteen-minute wait while Claude rewrote each file. Now it's three, a fix a second. Roll that across a day and you ship two or three times the code, and the shock is realizing how much of a normal day was pure waiting.

## Why five seconds is the magic number

There's a reason half a second and fifteen seconds feel like different universes. Cognition's research puts the break point at roughly five seconds, the flow window, after the "flow" Mihaly Csikszentmihalyi described decades ago as complete absorption in an activity. And the odds of breaking don't rise in a line, they compound, so a two-line edit that hangs for ten seconds has probably already lost you. A glance at Slack becomes email becomes a scroll through nothing, and five minutes evaporate before you're back.

That's the actual product here. A half-second edit and a five-second search both finish before the window can close. When nothing pulls your eyes off the screen, you stay in the work, and the 3x is just a measure of how long that holds. Speed is what keeps the stretch from snapping.

## The edges

I'd rather you hear the limits from me than trip over them. FastApply caps at 128k input tokens, which clears about 98% of real files, but something genuinely enormous gets turned away. It needs Claude's `// ... existing code ...` markers to know what to preserve, and it won't write code from a blank file. Authoring stays Claude's job, where it belongs. Warp-Grep runs its parallel search through the Morph API for now, with no fully local mode yet; the local provider wants ripgrep installed; and it rewards a specific ask, so "find auth middleware" beats "what does this do?" You'll feel those edges once in a while. The rest of the day you stay in flow.

## Try it

Add the config, quit and reopen Claude Code, and ask "what MCP tools are available?" Then run something small, "edit login.tsx to add error handling," and watch FastApply land it in about half a second. You'll feel the difference on the first edit.

[Get API key](https://morphllm.com/dashboard/api-keys) • [Full MCP docs](https://docs.morphllm.com/guides/mcp) • [Warp-Grep docs](https://docs.morphllm.com/sdk/components/warp-grep)

Pricing is $0.80 per 1M tokens for FastApply and $0.40 per 1M for Warp-Grep, with a 100k-token free tier to try it.

## The shape of it

Take away the specifics and every fast team has drifted to the same architecture. The reasoning model, Claude or GPT-4, decides what to do. FastApply merges the code at 10,500 tok/sec. Warp-Grep searches the codebase. One brain, two hands. What that buys, measured: 30% faster end-to-end, 30% less context rot, 36x cheaper. Same developer, better hands, more fun. That's the point.
