CSharp-MCP-Server

nissynicolas/CSharp-MCP-Server

3.2

If you are the rightful owner of CSharp-MCP-Server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A Model Context Protocol (MCP) server implementation in C# using the official MCP SDK, providing tools for file system management, text processing, and system information collection.

Tools

Functions exposed to the LLM to take actions

ListDirectory

Browse directory contents with detailed file information

ReadFile

Read file contents with security checks and size limits

FileExists

Check if files or directories exist in the system

CountWords

Count the number of words in provided text

CountCharacters

Count total characters in text

CountLines

Count the number of lines in text

ToUpperCase

Convert text to uppercase

ToLowerCase

Convert text to lowercase

ReverseText

Reverse the provided text

TrimAndCleanWhitespace

Remove extra whitespace and trim text

ExtractWords

Extract words and return as comma-separated list

FindAndReplace

Find and replace text using regex patterns

GetOperatingSystemInfo

Get OS details, platform, and architecture

GetUserInfo

Get current user and machine information

GetRuntimeInfo

Get .NET runtime and version information

GetEnvironmentVariables

Get system environment variables (limited for security)

GetSystemPerformanceInfo

Get memory usage and system performance metrics

GetDirectoryInfo

Get current directory and special folder paths

GetNetworkInfo

Get hostname and network configuration details

Prompts

Interactive templates invoked by user choice

No prompts

Resources

Contextual data attached and managed by the client

No resources