MCP Catalogs
Home

csharp-sdk vs filesystem

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

csharp-sdk
by modelcontextprotocol
filesystem
by modelcontextprotocol
Stars★ 4,264★ 85,748
30d uses
Score5977
Official
Categories
Developer ToolsAI / LLM Tools
File SystemDeveloper ToolsProductivity
LanguageC#TypeScript
Last committhis monththis month

csharp-sdk · Summary

Official C# SDK for MCP servers and clients with three main packages for different use cases.

filesystem · Summary

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

csharp-sdk · Use cases

  • Building MCP servers in C# for .NET applications
  • Creating MCP clients to connect to various MCP servers
  • Implementing HTTP-based MCP servers using ASP.NET Core

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

csharp-sdk · Install

Installation

Install via NuGet:

# Core package for minimal dependencies
Install-Package ModelContextProtocol.Core

# Main package for most projects
Install-Package ModelContextProtocol

# For HTTP-based servers
Install-Package ModelContextProtocol.AspNetCore

For Claude Desktop, add to claude_desktop_config.json:

{
  "mcpServers": {
    "csharp-mcp": {
      "command": "dotnet",
      "args": ["run", "--project", "YourCsharpMcpProject"]
    }
  }
}

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.