Back to PodcastsClaude
Claude Code 101
MCP in Claude Code
Model contact protocol is an open standard that lets Claude code connect to external tools and data sources.
Model Context Protocol ist ein offener Standard, mit dem Claude Code eine Verbindung zu externen Tools und Datenquellen herstellen kann.
[music]
[music]
When you ask a question, Claude will automatically understand when it should use those tools to better understand your query.
Wenn du eine Frage stellst, versteht Claude automatisch, wann es diese Tools verwenden sollte, um deine Anfrage besser zu verstehen.
Context is one of the most important parts when working with Claude code.
Context ist einer der wichtigsten Aspekte bei der Arbeit mit Claude Code.
A lot of your context lives elsewhere like your databases, your productivity apps, or [music] in public repositories.
Ein Großteil deines Contexts befindet sich an anderen Orten, wie deinen Datenbanken, deinen Produktivitäts-Apps oder [music] in öffentlichen Repositories.
This is where MCP comes [music] in.
Genau hier kommt MCP [music] ins Spiel.
First, it's important to understand the concept of tools when talking about Agentic AI.
Zunächst ist es wichtig, das Konzept der Tools zu verstehen, wenn man über Agentic AI spricht.
Tools give agents like Claude code the ability to perform actions in order for them to better complete their tasks.
Tools geben Agenten wie Claude Code die Fähigkeit, Aktionen auszuführen, damit sie ihre Aufgaben besser erledigen können.
This is different from other AI where you just get an output back directly in text usually.
Das unterscheidet sich von anderen KIs, bei denen du normalerweise einfach eine Ausgabe direkt als Text erhältst.
For example, if your team is using Linear as our project management software, you can add a Linear MCP server to bring in the details of your specific issues.
Wenn dein Team beispielsweise Linear als Projektmanagement-Software verwendet, kannst du einen Linear MCP-Server hinzufügen, um die Details deiner spezifischen Issues einzubinden.
If you want to get up-to-date documentation of a dependency that you're working with, then the Context 7 MCP server will provide Claude code with that.
Wenn du aktuelle Dokumentation einer Abhängigkeit abrufen möchtest, mit der du arbeitest, stellt der Context 7 MCP-Server diese Claude Code bereit.
There are also hundreds of different connectors at claude.com/connectors.
Es gibt auch Hunderte verschiedener Konnektoren unter claude.com/connectors.
You can add MCP servers with the Claude MCP add command.
Du kannst MCP-Server mit dem Befehl Claude MCP add hinzufügen.
There are two main types.
Es gibt zwei Haupttypen.
HTTP servers are for remote services.
HTTP-Server sind für Remote-Dienste.
These are hosted by the service provider and connect over the network.
Diese werden vom Dienstanbieter gehostet und verbinden sich über das Netzwerk.
STDIO servers are for local processes that run on your machine.
STDIO-Server sind für lokale Prozesse, die auf deinem Rechner laufen.
You can manage your servers with the /mcp inside a Claude code session to see what's connected, the status, and disable servers that you don't want to use.
Du kannst deine Server mit /mcp innerhalb einer Claude Code-Sitzung verwalten, um zu sehen, was verbunden ist, den Status, und Server deaktivieren, die du nicht verwenden möchtest.
MCP servers can be scoped in three different ways.
MCP-Server können auf drei verschiedene Arten begrenzt werden.
One, local means it's only available in the current project for you.
Erstens bedeutet local, dass es nur im aktuellen Projekt für dich verfügbar ist.
Two, the user, which means it's available across all your projects.
Zweitens, user, was bedeutet, dass es für alle deine Projekte verfügbar ist.
And three, project scope uses a .mcp.json file that you check into your version control, so anyone working on the code base gets the exact same servers automatically.
Und drittens verwendet der project-Scope eine .mcp.json-Datei, die du in deine Versionskontrolle eincheckst, sodass jeder, der an der Codebasis arbeitet, automatisch dieselben Server erhält.
Now, one thing to be aware of is that MCP servers add tool definitions to your context window, even when you're not using them.
Nun ist zu beachten, dass MCP-Server Tool-Definitionen zu deinem Context-Fenster hinzufügen, auch wenn du sie nicht verwendest.
So, if you have a lot of servers configured, this eats into your available context.
Wenn du also viele Server konfiguriert hast, frisst dies deinen verfügbaren Context.
Run the {slash} MCP command to see what's connected and disable anything that you're not actively using or don't think that you're going to use.
Führe den /mcp-Befehl aus, um zu sehen, was verbunden ist, und deaktiviere alles, was du nicht aktiv verwendest oder nicht glaubst, dass du es verwenden wirst.
If a tool has a CLI equivalent like GH for GitHub or AWS for AWS, the CLI is more context efficient because it doesn't add persistent tool definitions.
Wenn ein Tool ein CLI-Äquivalent hat wie gh für GitHub oder aws für AWS, ist das CLI context-effizienter, weil es keine dauerhaften Tool-Definitionen hinzufügt.
You also might benefit from using a skill in this scenario.
Du könntest in diesem Szenario auch von der Verwendung eines Skills profitieren.
A skill has a name and a description that is loaded into context.
Ein Skill hat einen Namen und eine Beschreibung, die in den Context geladen werden.
Similar to MCP, when Cloud thinks it needs to use that skill, it then decides to load it into the context window, which is where you could put the command line interface tools.
Ähnlich wie MCP, wenn Claude der Meinung ist, dass es diesen Skill verwenden muss, entscheidet es sich, ihn in das Context-Fenster zu laden, wo du die Befehlszeilenschnittstellen-Tools platzieren könntest.
If your MCP tools exceed 10% of your context window, Cloud code will automatically switch to tool search mode, which will discover the right tools on demand, but this might not work as well since it's just not in the
Wenn deine MCP-Tools 10% deines Context-Fensters überschreiten, wechselt Claude Code automatisch in den Tool-Suchmodus, der die richtigen Tools bei Bedarf findet, aber das funktioniert möglicherweise nicht so gut, da sie einfach nicht im Context sind.
[music]
[music]
Now, a quick recap.
Nun eine kurze Zusammenfassung.
MCP connects Cloud code to your external tools and data
MCP verbindet Claude Code mit deinen externen Tools und Daten
[music]
[music]
Add servers with Cloud MCP add, scope them to your project with .mcp.json so that your team gets them automatically, and keep an eye on the context usage by disabling servers [music] that you're not actively using.
Füge Server mit Claude MCP add hinzu, beschränke sie auf dein Projekt mit .mcp.json, damit dein Team sie automatisch erhält, und behalte die Context-Nutzung im Auge, indem du Server [music] deaktivierst, die du nicht aktiv verwendest.