What is the Model Context Protocol (MCP)?
A protocol for seamless integration between LLM applications and external data sources. The .NET template helps you create servers that implement this protocol.
@NikiforovAll
Basic information
This repository contains a template for creating a Model Context Protocol (MCP) applications in .NET.
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-template-dotnet": {
"command": "npx",
"args": [
"@modelcontextprotocol/inspector",
"-e",
"DOTNET_ENVIRONMENT=Production",
"dotnet",
"$(PWD)/Artefacts/MyAwesomeMCPServer.dll"
]
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
Fetch the live tool list by running this server in a temporary sandbox using the button above.
A NuGet template for creating Model Context Protocol (MCP) applications in .NET. It provides a basic project structure and example code to help developers build MCP-enabled servers that integrate LLM applications with external data sources.
Install the template using dotnet new install Nall.ModelContextProtocol.Template, then create a new project with commands like dotnet new mcp-server -o MyProject -n MyProject. The generated code registers tools marked with the [McpServerTool] attribute automatically. Build and run locally, or distribute as a .NET tool.
WithToolsFromAssembly()A protocol for seamless integration between LLM applications and external data sources. The .NET template helps you create servers that implement this protocol.
Four templates: `mcp-server` (Stdio), `mcp-server-http` (HTTP), `mcp-server-http-auth` (HTTP with authentication), and `mcp-server-hybrid` (supports both Stdio and HTTP modes). The hybrid template is recommended for flexibility.
Build the project with `dotnet build`, then use the inspector: `npx @modelcontextprotocol/inspector -e DOTNET_ENVIRONMENT=Production dotnet <path-to-dll>`. Alternatively, package as a .NET tool and run directly.
Yes. Pack with `dotnet pack`, then install globally with `dotnet tool install --global --add-source <path>`. The tool will be available system-wide.
Add the server project and the MCP inspector to your AppHost. Use `WithStdio<Projects.MCPServer>()` for Stdio mode or `WithMcp(project)` for HTTP mode.

Know when your AI agents, cron jobs and CI pipelines fail, stall or go quiet. Your agent sets up monitors from a plain description, tells you what is broken and why, reads run history and traces, and writes notes on inci

MCP server for AI Agents — exposes Yocoolab feedback threads and design selections as tools
Query your team's drift, vulnerability, and migration data from any AI assistant. Vibgrate MCP connects Cursor, Claude, ChatGPT, Windsurf, or VS Code to Vibgrate Cloud: 51 tools for DriftScores, CVEs and EOL runtimes, up

Collide is the multiplayer layer for AI coding agents, and it pays for itself. Expert orchestration across every agent on your repo saves teams tens to hundreds of dollars a day in token burn. Run Claude Code, Codex, Cu

Comments