Building MCP Servers with C

Building MCP Servers with C

€48,61 Unverbindliche Preisempfehlung des Verlags €58,84
inkl. MwSt. · Versand kostenlos innerhalb Deutschlands · 14 Tage Rückgabe nach Erhalt

Artikel zum Warenkorb hinzugefügt
  • Portofrei innerhalb Deutschlands
  • Lieferzeit in der Regel 1–3 Werktage
  • 14 Tage Rückgabe nach Erhalt
The Model Context Protocol (MCP) is quickly becoming the standard way for AI models to talk to external tools, data, and services. Anthropic announced it late 2024, and Microsoft, OpenAI, Google, and others all jumped on board pretty quickly. It gives a universal protocol so AI agents can call into code: reading databases, calling APIs, accessing files, whatever is needed. People like to call it "USB-C for AI."This book teaches .NET developers how to build MCP servers using the official C# SDK (ModelContextProtocol on NuGet). Start with the basics, learn how the protocol works, prepare the dev environment, then build increasingly complex servers. The book walks through the three MCP primitives: tools (functions the AI can call), resources (data the AI can read), and prompts (reusable templates), with examples you can actually run as you go.GitHub Copilot, Claude, ChatGPT, and other AI assistants are adding MCP support right now. If you can build MCP servers, your code and APIs become accessible to every major AI platform at once. Readers build a complete capstone project that ties together tools, resources, prompts, DI, database integration, and deployment. The last chapters cover enterprise stuff like auth, resilience, and observability, plus getting it running with Docker, Azure, and CI/CD. So you can actually ship what you build.What You Will LearnUnderstand how MCP works architecturally. Learn how hosts, clients, and servers communicate with JSON-RPC 2.0, how capability negotiation works, and what the transport layers do.Build MCP tools with the C# SDK. Create tools with typed parameters, async execution, progress reporting, and proper error handling using the official ModelContextProtocol NuGet package.Expose data through MCP resources. Serve static and templated resources with proper URI schemes and MIME types so AI models can read your application data.Create reusable prompt templates. Build parameterized prompts with multiple messages that guide AI behavior and can be shared across teams.Pick the right transport layer. Understand when to use stdio vs Streamable HTTP and implement both with ASP.NET Core.Use proper .NET patterns in MCP servers. Use dependency injection, IOptions configuration, structured logging, HttpClientFactory, the same patterns you'd use in any production ASP.NET Core app.Deploy MCP servers for real. Containerize with Docker, publish as .NET tools on NuGet, deploy to Azure, and set up CI/CD with GitHub Actions.Who This Book is ForThis book is for any .NET developers seeking to use Model Context Protocol to develop intelligent applications.

Buchdetails

Autor
Versluis, Gerald
Verlag
Apress
ISBN
9798868830099
Erscheinungsdatum
21.08.2026
Seitenzahl
336
Einband
Taschenbuch
Sprache
Englisch
Maße
254 × 178 × 19 mm

Versand innerhalb Deutschlands ist immer kostenlos – ohne Mindestbestellwert, ab dem ersten Buch. Die Lieferzeit beträgt in der Regel 1–3 Werktage.

Für Lieferungen ins Ausland können zusätzliche Versandkosten anfallen.

Rückgaberecht: Du kannst deine Bestellung innerhalb von 14 Tagen nach Erhalt zurücksenden – einfach und unkompliziert.

Du kannst deine Bestellung innerhalb von 14 Tagen nach Erhalt zurücksenden. Bitte stelle sicher, dass die Ware unbenutzt und in der Originalverpackung ist.

Nutze für den Widerruf einfach unser Kontaktformular oder den „Vertrag widerrufen"-Button im Footer. Wir kümmern uns um alles Weitere.

Das könnte Ihnen auch gefallen

Weitere Titel aus Naturwissenschaften, Medizin, Informatik, Technik

Zahnmedizinische Prophylaxe
Urban & Fischer/Elsevier
Zahnmedizinische Prophylaxe
€65,00
Taschenbuch
Anatomie und Physiologie der Haustiere
UTB GmbH
Anatomie und Physiologie der Haustiere
Gäbel, Gotthold & Loeffler, Klaus & Pfannkuche, Helga
€35,00
Taschenbuch
Suchtmedizinische Grundversorgung
Georg Thieme Verlag
Suchtmedizinische Grundversorgung
€65,00
Mehrteiliges Produkt
Lernpaket Schriftliche-Mündliche Prüfung Pflege
Urban & Fischer/Elsevier
Lernpaket Schriftliche-Mündliche Prüfung Pflege
Herrmann, Erik & Klepsch, Annett
€89,00
Gebunden