Skip to content
BENIBIX Learn

MCP Tools in Claude Code

Level 5 · Growing past one chat

How Claude Code adds tools from MCP servers. Why tool search keeps them from filling the context, and how a channel sends events in.

Course contentsLesson 13 of 16

After this lesson you can

  • Add an MCP server to Claude Code
  • Explain what tool search saves
  • Say what a channel adds to a session

10 mincovers 6 glossary entries

Worth reading first: Scheduling and Output Tools

How Claude Code adds outside tools

An MCP server is a small program that gives Claude Code extra tools, such as one for your bug tracker or your database. You add one with claude mcp add and its name, or list them in a .mcp.json file the team shares. Each server can bring dozens of tools, and each tool has a long description.

Loading every one of those descriptions at the start would fill the context window before you typed a word. Tool search fixes that. Claude Code loads only each tool's name at first. When Claude needs a tool, the ToolSearch tool finds it by name or keyword and loads its full details then. ToolSearch never asks first.

Servers connect in the background as the session starts, so a slow one may not be ready yet. When Claude needs a tool from a server that is still on its way, it calls a tool that waits for it. Then it can use the server, and you do not have to start again.

MCP servers can also offer resources, which are things to read, such as files, records or pages. ListMcpResourcesTool lists them from every connected server. ReadMcpResourceTool reads one by its address. Neither asks first. The list leaves out MCP App pages, which are made for an app to show, not for Claude to read.

A channel is an MCP server that pushes events into a session that is already running. A chat message sent from your phone, or an alert from your CI, lands in the chat. Claude can act on it and reply the same way. You switch channels on when you start, with the --channels flag. They are still an early preview.

Channels need a sign-in with Anthropic, so they do not work through the big cloud firms such as Amazon Bedrock. Each channel keeps a list of who may send. Anyone on it can reach your session. So only add people you would trust at your keyboard.

bash
claude mcp add --transport http tracker https://example.com/mcp
Add a remote MCP server named tracker. Its tools load by name, and in full only when Claude needs one.
Tool search loads names first, and full details only for the tool Claude picks.

Worked example

Jack connects 5 servers and keeps his room

Jack adds 5 MCP servers to his project, with 140 tools between them. His sessions still start with most of the context window free.

When he asks about a ticket, Claude looks up the tool it needs. It loads just that one and reads the ticket.

The words for this lesson6

Check yourself

What does tool search save?

Finished this lesson?

Marking it complete also marks its 6 glossary entries learned, which updates your roadmap and your saved page. 0 are already marked.