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
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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package DotNetAIMcpServer --version 1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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 | Versions 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.