MCP Catalogs
Home

mcp-dotnet-samples vs filesystem

Side-by-side comparison to help you pick between these two MCP servers.

mcp-dotnet-samples
by microsoft
filesystem
by modelcontextprotocol
Stars★ 185★ 85,748
30d uses
Score4877
Official
Categories
Developer ToolsAI / LLM ToolsCloud Storage
File SystemDeveloper ToolsProductivity
LanguageC#TypeScript
Last committhis monththis month

mcp-dotnet-samples · Summary

Microsoft's collection of MCP server samples in .NET for connecting AI models to various services.

filesystem · Summary

A feature-rich MCP server for filesystem operations with dynamic directory access control.

mcp-dotnet-samples · Use cases

  • Building custom MCP servers to connect AI models with .NET applications
  • Demonstrating integrations with Azure services and Microsoft ecosystem
  • Providing examples of Docker-based MCP server deployments

filesystem · Use cases

  • Enable AI models to read and write project files during development
  • Allow Claude or other MCP clients to browse and analyze codebases
  • Provide secure sandboxed access to specific directories for content generation

mcp-dotnet-samples · Install

Installation

Each sample in this repository has its own installation instructions. Generally, they can be installed via Docker:

docker run -i --rm ghcr.io/microsoft/mcp-dotnet-samples/[sample-name]:latest

For VS Code integration, use the following snippet in your settings.json:

{
  "mcpServers": {
    "[sample-name]": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "ghcr.io/microsoft/mcp-dotnet-samples/[sample-name]:latest"]
    }
  }
}

filesystem · Install

Installation

Using NPX

{
  "mcpServers": {
    "filesystem": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-filesystem",
        "/path/to/allowed/directory"
      ]
    }
  }
}

Using Docker

{
  "mcpServers": {
    "filesystem": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "--mount", "type=bind,src=/path/to/allowed/dir,dst=/projects/allowed/dir",
        "mcp/filesystem",
        "/projects"
      ]
    }
  }
}

VS Code Extension

Click the installation buttons in the README to install directly in VS Code.

Comparison generated from public README + GitHub signals. Last updated automatically.