Connect an Existing C# MCP Server to Claude Code
Connect an existing C# MCP server to Claude Code using stdio or HTTP, then understand configuration scope, tool discovery, authorization, and failure evidence.
Connect an existing C# MCP server to Claude Code using stdio or HTTP, then understand configuration scope, tool discovery, authorization, and failure evidence.
This week is a full deep dive into OpenTelemetry in .NET -- traces, metrics, logging, HttpClient instrumentation, ASP.NET Core setup, and exporters for OTLP, Prometheus, Jaeger, and Azure Monitor. Plus GitHub Copilot CLI workflows for .NET developers, testing and deploying C# MCP servers, and a hard look at modular monoliths, clean architecture, and moving back from microservices.
Use MCP Inspector to test and debug C# MCP server .NET projects over stdio and HTTP, inspect JSON-RPC logs, verify tools, and avoid host integration guesswork.
GitHub Copilot CLI MCP guide for adding custom servers with mcp-config.json, CLI commands, transports, tool scoping, registry search, examples, and tradeoffs.
Deploy MCP server to Azure with C# using Azure Functions MCP extension or Azure Container Apps, with tradeoffs for scale, cost, auth, and cold starts.
This week covers GitHub Copilot CLI workflows and permissions, MCP clients and servers in C#, and practical modular monolith design and testing. Plus, dig into production Roslyn analyzers and engineering leadership lessons on team culture, tech leads, and better questions.
Secure MCP server authentication in C# with OAuth protected resource metadata, JWT bearer validation, authorization filters, and claims-aware MCP tools.
Build an MCP client in C# that connects over stdio or HTTP, discovers capabilities, calls tools, handles result content, and manages lifecycle safely.
Host an MCP server in ASP.NET Core with MapMcp, stateless HTTP transport, CORS, AllowedHosts, health checks, and production configuration guidance today.
This week covers GitHub Copilot CLI workflows and building Roslyn analyzers in C#. Plus practical guides to modular monoliths, MCP transports, production Serilog, NuGet debugging, AI's impact, and engineering leadership.
Compare MCP transports in C# across stdio, Streamable HTTP, stateless/stateful sessions, and legacy SSE migration so .NET teams choose safe .NET wiring.
Learn how MCP resources in C# expose readable data with URI templates, then use MCP prompts so .NET teams can publish reusable agent workflow templates.
Learn how MCP tools in C# use attributes, JSON Schema, DI, content blocks, cancellation, error handling, and naming so models call .NET tools correctly.
This week covers NuGet packaging from metadata and local testing through private feeds, versioning, and automated publishing. Plus practical guides to monolith architecture, MCP servers and clients in C#, Serilog, Roslyn analyzers, AI agent workflows, and senior engineering leadership.
Build an MCP server in C# with a local stdio quickstart covering packages, Host setup, tool attributes, VS Code wiring, stderr logs, and common fixes.
Model Context Protocol explained for C# and .NET developers: what MCP is, why it matters, and how hosts, clients, servers, tools, resources, and prompts fit.
Learn how to build an MCP server C# developers can trust, from stdio and HTTP transports to tools, clients, security, Azure hosting, and debugging tips.