---
title: ".NET🔥🚀:  Building MCP Server"
url: https://daily.dev/posts/net-building-mcp-server-mtarhby4d
source_url: https://www.youtube.com/watch?v=y-d_7eaE7sw
type: video:youtube
source: "We Are .NET"
published: 2026-06-02T13:18:49.157Z
updated: 2026-06-02T13:19:05.974Z
tags: [".net", "mcp", "claude", "dependency-injection"]
reading_time: 19
upvotes: 0
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# .NET🔥🚀:  Building MCP Server

**[We Are .NET](https://daily.dev/sources/wearedotnet)** · 19 min read · 0 upvotes · 0 comments

## Summary

A step-by-step walkthrough of building an MCP (Model Context Protocol) server in .NET using a console application. Covers installing the ModelContextProtocol and Microsoft.Extensions.Hosting NuGet packages, setting up stdio transport, registering tools via dependency injection, and defining MCP tools with descriptive attributes. The tutorial demonstrates testing with the MCP Inspector npm tool and then connecting the published .NET app to Claude Desktop by editing its config JSON, enabling Claude to query a mock customer/order repository through natural language.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=y-d_7eaE7sw>

## Similar posts on daily.dev

- [Your first MCP server with ASP.NET](https://daily.dev/posts/your-first-mcp-server-with-asp-net-0kwwmyuuj) · Tim Deschryver · 20 upvotes · 3 comments
- [Build Your First MCP Server in C\#: A Step-by-Step Quickstart](https://daily.dev/posts/build-your-first-mcp-server-in-c-a-step-by-step-quickstart-pt500c6tu) · We Are .NET · 4 upvotes · 0 comments

---

Tags: [#.net](https://daily.dev/tags/.net), [#mcp](https://daily.dev/tags/mcp), [#claude](https://daily.dev/tags/claude), [#dependency-injection](https://daily.dev/tags/dependency-injection)

[View this post on daily.dev](https://daily.dev/posts/net-building-mcp-server-mtarhby4d)
