Trim the connectors weighing down Claude Code

A 10-minute audit that shows what each connector costs and trims the ones you do not use.

/mcpEvery connector, with its tools
  • Tasks28 tools
  • Hosting64 tools
  • Email12 tools
Example
Sort each one
  • KeepUsed this week
  • Switch offUsed this month
  • RemoveNot used in a month
  • HelperMany tools, one job
deploy-helper.md

The heavy connector connects only when this helper runs.

Lighter main chat
  1. Type /mcp to list every connector with its number of tools. The names and counts shown are an example.
  2. Sort each connector: keep what you used this week, switch off what you used this month, remove what you have not used in a month, and give a connector with many tools but one job to a helper.
  3. The helper file deploy-helper.md holds the heavy connector, so it connects only when that helper runs and your main chat stays lighter.
10 minNo code

You need

  • Claude Code
  • At least one connector

It is easy to connect a lot of tools to Claude Code: your task board, your email, your hosting account, your sales tools. Each connection adds tools Claude has to keep track of, whether you use them this week or not.

A connector is also called an MCP server, a small program that gives Claude a set of tools for one service. Anthropic's docs say Claude Code now uses tool search by default: only tool names and server instructions load at the start of a session, and the full details of a tool load when Claude needs it. So the cost is much lower than it used to be. It is not zero, and a connector you never use is still a name and a set of instructions in every session.

This guide is a short audit you can run once now and again every month: see what you have, switch off what you do not use, and give one heavy connector to a helper that loads it only for one job.

01 / 07

Step 1: see what you have

  1. In Claude Code, type /context. Anthropic's docs describe it as a live breakdown of what is using your context window, by category, with suggestions. Look for the lines about tools and connectors.

  2. Type /mcp. It lists every connector and server. Anthropic's docs say the panel shows the number of tools next to each connected server.

  3. Write the list down: the name, the number of tools, and the last time you used it.

02 / 07

Step 2: decide what stays

  1. Used this week: keep it.

  2. Used this month, not this week: switch it off now, and switch it on when you need it.

  3. Not used in a month: remove it.

  4. Many tools, but you use it for one job (a hosting account you only need to deploy, for example): give it to a helper. That is step 4.

If you want Claude to help with the sorting, paste your list into this.

Sort my connectors
I am going to paste the list of connectors from my /mcp panel. For each one, ask me, one at a time, when I last used it and what for. Then sort every connector into one of four groups: keep (used this week), switch off (used this month but not this week), remove (not used in a month), or helper (many tools but I only use it for one job). Show me the table. Do not change any setting yet. Wait for my yes before you tell me how to switch anything off. If you are not sure what a connector does, say so and ask me.
514 characters

03 / 07

Step 3: switch off what you do not use

  • A server you added to Claude Code: open /mcp, select the server and turn it off. Anthropic's docs say this stops Claude Code from connecting to it without losing its configuration, and that your choice is recorded per project. Turn it back on from the same panel.
  • A connector from your Claude account: these are the ones you add in Claude's connector settings. Disconnect it at claude.ai/customize/connectors. To stop Claude Code from fetching those connectors at all, set "disableClaudeAiConnectors": true in a settings file. Anthropic's docs say it applies only to the connectors Claude Code fetches itself.
  • Start a fresh session, run /context again, and write down what changed.

Switching a connector off does not delete it. Your sign-in and settings stay.

04 / 07

Step 4: give a heavy connector to a helper

The idea: do not connect the heavy connector for everyone. Give it to one helper, called a subagent, that runs only for that job. Anthropic's docs say a server defined inside a subagent file connects when the subagent starts and disconnects when it finishes, and that this keeps its tool descriptions out of your main conversation.

  1. Create a file in your project called .claude/agents/deploy-helper.md. The file name is the helper's name, so use any name you like.

  2. Put the connector inside that file, not in your main settings. Use your connector's own command from its setup page.

  3. Remove that connector from your main setup (step 3), so only the helper has it.

Example helper file
.claude/agents/deploy-helper.md
---
name: deploy-helper
description: Use only for deploying or checking my hosting account. Handles all hosting tasks.
mcpServers:
  - hosting:
      type: stdio
      command: npx
      args:
        - "-y"
        - "your-hosting-mcp-package"
---
You handle hosting tasks only. Do what the main session asks, then report the result in 3 lines.

Replace hosting with a name you choose, and the command and args with the ones your connector's setup page gives. A connector that runs on someone else's server uses type: http and a url instead. Anthropic's docs list the types as stdio, http, sse and ws.

To make Claude write the file for you, paste this.

Create my helper file
Create a helper file at .claude/agents/deploy-helper.md for my hosting connector. First ask me for the connector's name and the exact command or URL from its setup page, and wait for my answer. Do not guess the command. Put the connector inside the file under mcpServers, not in my main settings. The helper should handle hosting tasks only and report results in 3 lines. Show me the file before you save it. Then tell me how to remove the same connector from my main setup, one step at a time, and wait for my yes before each step.
532 characters

A few things to know. Plugin subagents ignore the mcpServers field, so keep the file in your own .claude/agents/ folder or your personal agents folder. Claude Code also applies a trust rule to inline servers defined in an agent file, so it may ask you to approve the folder. If a tool needs your approval, approve it once when the helper asks.

Download the ZIP for the checklist and the example helper file.

05 / 07

Step 5: keep it trimmed

  1. Put a monthly reminder in your calendar: /mcp, /context, switch off what you did not use.

  2. Add a connector only when you have a job for it.

  3. If tool search is off on your setup (for example the ENABLE_TOOL_SEARCH setting is false), every tool loads up front and the cost is much higher. /context shows you.

06 / 07

Test it safely

  1. Switch off one connector you know you do not use, then start a fresh session and run /context. Is the picture lighter?

  2. Ask Claude for a job that connector did. With the connector off, Claude should not be able to do it. Turn it back on in /mcp.

  3. For a helper, ask: "Use the deploy-helper to check my hosting account." Claude should hand the job to the helper, and the connector's tools should not appear in your main session.

What was tested: the helper file shape was run on 13 October 2026 with a dummy connector, a 15-line fake server that returns one fixed word. The main session did not carry its tool, and the helper used it. No real connector, login or account was involved. Not tested: the /context and /mcp panels, switching a connector off, and disableClaudeAiConnectors, because they need an interactive session with real connectors. They come from Anthropic's docs, read on 8 November 2026. The sorting and helper-file prompts above have not been run either.

Common mistakes

  1. Deleting instead of switching off. Switch off first. You can turn it back on.

  2. Putting the heavy connector in both places. If it stays in your main setup, the helper changes nothing.

  3. Guessing the connector's command. Copy it from the connector's own setup page.

  4. Never revisiting the list. New connectors creep in.

Does tool search mean I can connect as much as I like?

It lowers the cost, and Anthropic's docs say adding more servers has minimal impact on your context window. Names and instructions still load every session, so unused connectors are still clutter.

Does switching a connector off delete my sign-in?

No. Anthropic's docs say the server stays configured and listed as disabled.

Can a plugin ship a helper with its own connector?

Not through the plugin. Plugin subagents ignore the mcpServers field, so copy the file into your own agents folder.

What if I use an older setup without tool search?

Then tools load up front and each connector costs more. Run /context to see it.

Finish line

What to do next

  1. Run /context and /mcp now and write the list down.

  2. Switch off one connector you did not use this week.

  3. Set the monthly reminder.

Back to all the free guides. Two that pair well with this one: connect Slack to Claude safely and give your AI its own login.

You reached the end of the guide