DotNetAIMcpServer 1.0.2

dotnet tool install --global DotNetAIMcpServer --version 1.0.2
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local DotNetAIMcpServer --version 1.0.2
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=DotNetAIMcpServer&version=1.0.2
                    
nuke :add-package DotNetAIMcpServer --version 1.0.2
                    

DotNet AI MCP Server

The essential Model Context Protocol server for .NET developers building AI applications.

Quick Start

Installation

dotnet tool install -g DotNetAIMcpServer

Usage with Claude Desktop

Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{
  "mcpServers": {
    "dotnet-ai": {
      "command": "dotnet-ai-mcp"
    }
  }
}

Usage with VS Code / GitHub Copilot

Add to your VS Code MCP settings:

{
  "mcp": {
    "servers": {
      "dotnet-ai": {
        "command": "dotnet-ai-mcp"
      }
    }
  }
}

What This Does

This MCP server provides real, up-to-date code samples from the .NET AI ecosystem:

  • Semantic Kernel - AI orchestration framework
  • OpenAI .NET SDK - Official OpenAI client
  • MCP C# SDK - Model Context Protocol for .NET
  • Microsoft.Extensions.AI - AI abstractions
  • And more - Anthropic, Google GenAI, Pinecone, Qdrant, etc.

Why Use This?

LLMs hallucinate .NET AI APIs. Training data can't keep up with rapidly evolving libraries. This server fetches real code from live GitHub repositories.

Available Tools

Tool Description
Start_DotNet_Reasoning Entry point - lists tracked repositories
GitHubGetFolders Shows folder structure
GitHubListFiles Lists files in folders
GitHubFetchFiles Fetches actual code
MicrosoftDocsSearch Searches Microsoft Learn
MicrosoftDocsFetch Fetches documentation
MicrosoftCodeSampleSearch Finds code samples

License

MIT

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
1.0.2 138 1/25/2026
1.0.1 109 1/25/2026
1.0.0 123 1/25/2026