1. Conduid
  2. Developer Tools
  3. Dotnet MCP Server
MCP server · Developer Tools

Dotnet MCP Server

AI Agent + MCP Server built from scratch in .NET 10 — JSON-RPC 2.0 over stdio, tool-calling loop with OpenAI, and a clean layered architecture. Portfolio & study project.

Unclaimed last commit 11 months ago devtools
34Low

Scored 18 days ago · breakdown

About Dotnet MCP Server

Dotnet MCP Server is an MCP server published by timheuer in the Developer Tools category: aI Agent + MCP Server built from scratch in .NET 10 — JSON-RPC 2.0 over stdio, tool-calling loop with OpenAI, and a clean layered architecture. Portfolio & study project.

The repository has 3 stars and 0 forks, with the last commit 11 months ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/timheuer/dotnet-mcp-server

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Dotnet MCP Server

Powered by Claude · Grounded in docs

I know everything about Dotnet MCP Server. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

MCP Server Template for .NET

NuGet NuGet Downloads

A comprehensive .NET project template for creating Model Context Protocol (MCP) servers using C# and the official ModelContextProtocol package.

🚀 Quick Start

Install the Template

dotnet new install Microsoft.McpServer.Csharp

Create Your MCP Server

Standard (StdIO) MCP Server:

dotnet new mcpserver -n MyMcpServer
cd MyMcpServer
dotnet build
dotnet run

HTTP-based MCP Server:

dotnet new mcpserver -n MyMcpServer --EnableHttpTransport true
cd MyMcpServer
dotnet build
dotnet run

📦 What's Included

  • ✅ Complete MCP Server Setup with Microsoft.Extensions.Hosting
  • ✅ Sample Tools demonstrating basic and advanced MCP capabilities
  • ✅ Prompt Templates for AI interactions
  • ✅ Dependency Injection support with examples
  • ✅ Async Operations examples
  • ✅ Comprehensive Documentation and usage examples
  • ✅ GitHub Actions workflows for CI/CD
  • ✅ Security Best Practices with file access restrictions

🛠 Template Features

Transport Options

  • StdIO Transport (default) - Standard input/output communication for desktop AI tools like GitHub Copilot and Claude Desktop
  • HTTP Transport - Web-based API for cloud and web-based AI integrations, runs on port 5000 (HTTP) and 5001 (HTTPS) by default

StdIO Transport is ideal for:

  • Local desktop AI clients (GitHub Copilot, Claude Desktop)
  • Direct process communication
  • Simple configuration without network setup

HTTP Transport is ideal for:

  • Web-based AI applications
  • Cloud deployments
  • Multiple client access
  • REST API integration

Sample Tools Included

  • Echo & ReverseEcho - Basic text manipulation
  • Math Operations - Addition with parameter validation
  • DateTime - Current timestamp in ISO format
  • Random Number - Configurable range generation
  • File Operations - Secure file reading with restrictions
  • Advanced Examples - Dependency injection, async operations

Sample Prompts

  • Content Summarization - AI-ready summarization prompts
  • Code Analysis - Multi-language code review prompts
  • Concept Explanation - Audience-targeted explanations

🎯 Use Cases

Perfect for creating MCP servers that integrate with:

  • GitHub Copilot in VS Code
  • Claude Desktop applications
  • Custom AI agents and chatbots
  • Enterprise AI workflows

📚 Documentation

The generated project includes:

  • Complete setup instructions
  • Tool development examples
  • Client configuration samples
  • Best practices guide

🔗 Links

📄 License

MIT License - see the generated project for full details.

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About Dotnet MCP Server

How do I install Dotnet MCP Server?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Dotnet MCP Server safe to use with an AI agent?

Its trust score is 34 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Dotnet MCP Server still maintained?

The last commit was 11 months ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.