Atlas / MCP servers / microsoft / Dotnet Samples

Dotnet SamplesCAUTION

mcp/microsoft/dotnet-samples

A comprehensive set of samples of creating and using MCP servers and clients with .NET

Verdict
CAUTION
Grade
B
Trust score
86 /100
Exposed tools
—
Transport
stdio
License
MIT
Stars
198
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

[](https://discord.com/invite/ByRwuEEgH4) [](https://aka.ms/foundry/forum)

🚀 Introduction

Welcome to the Model Context Protocol (MCP) .NET Samples repository! This collection of samples demonstrates how to leverage the Model Context Protocol in .NET applications.

MCP is an open protocol that standardizes how applications provide context to Large Language Models (LLMs). Think of MCP like a USB-C port for AI applications - it provides a standardized way to connect AI models to different data sources and tools.

With MCP, you can:

  • Utilize pre-built integrations that your LLM can directly plug into
  • Flexibly switch between LLM providers and vendors
  • Follow best practices for securing your data within your infrastructure
  • Build agents and complex workflows on top of LLMs

This repository contains .NET samples ranging from building your own MCP implementation to integrating with Azure services.

📋 Sample Projects

Read from source at commit fbe497855abdOBSERVED · 2026-10-06
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.

claude-code (oci)
claude mcp add awesome-copilot:latest -- docker run -i --rm ghcr.io/microsoft/mcp-dotnet-samples/awesome-copilot:latest:None
03

Trust audit

CAUTIONgrade B · trust 86/100 Install with care. The audit found things worth knowing before you trust its output.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeWARN
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (6 observation(s))
Network
declared (2 observation(s))
Shell
none-observed
Dependencies
pinned
Secrets in source
none-found

Findings (11)

MEDIUMNetwork egress · net.raw_ip · CWE-200, CWE-319
outlook-email/src/McpSamples.OutlookEmail.HybridApp/Constants.cs:31
public const string DefaultAppUrl = "http://0.0.0.0:{0}";
MEDIUMObfuscation / stealth · obf.zero_width · CWE-506, CWE-94
awesome-copilot/src/McpSamples.AwesomeCopilot.HybridApp/Properties/launchSettings.json:1
{
MEDIUMObfuscation / stealth · obf.zero_width · CWE-506, CWE-94
markdown-to-html/src/McpSamples.MarkdownToHtml.HybridApp/Properties/launchSettings.json:1
{
MEDIUMObfuscation / stealth · obf.zero_width · CWE-506, CWE-94
outlook-email/src/McpSamples.OutlookEmail.HybridApp/Properties/launchSettings.json:1
{
MEDIUMObfuscation / stealth · obf.zero_width · CWE-506, CWE-94
todo-list/src/McpSamples.TodoList.HybridApp/Properties/launchSettings.json:1
{
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
awesome-copilot/azure.yaml:14
path: ../../../Dockerfile.awesome-copilot-azure
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
awesome-copilot/azure.yaml:15
context: ../../../
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
markdown-to-html/azure.yaml:14
path: ../../../Dockerfile.markdown-to-html-azure
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
markdown-to-html/azure.yaml:15
context: ../../../
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
outlook-email/azure.yaml:14
#     path: ../../../Dockerfile.outlook-email-azure
LOWInventory / provenance · mcp.no_tools_extracted · CWE-1104
awesome-copilot/server.json
Why it matters. the tool list is enumerated at runtime by tools/list, not declared in source
Fix. the page says so rather than showing an empty table

Gates applied: no_behavioural_pass.

Audited 2026-10-06 · audit v0.4.1 · source sha fbe497855abdfull audit observations/trust-audit/mcp-server/microsoft__dotnet-samples.json · Report an issue / request a re-scan
04

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-06fbe497855abdCAUTIONB86first audit
05

Questions

What is the Dotnet Samples MCP server?

A comprehensive set of samples of creating and using MCP servers and clients with .NET

Is Dotnet Samples safe to connect to an agent?

With care. The audit graded it B (86/100) and found 11 things worth knowing before you trust this server, listed below with the exact line each was found on.

What credentials does Dotnet Samples need?

No credential environment variables were found in its source, so it appears to need none.

How does Dotnet Samples run?

It speaks stdio, so it runs as a local process your client starts.

How current is this page?

The grade is for one exact copy of the source (fbe497855abd), read on 2026-10-06. The repository is watched and re-audited when it changes.

Advertisement