1. Conduid
  2. Developer Tools
  3. Csharp MCP
MCP server · Developer Tools

Csharp MCP

c sharp sample for mcp server

Unclaimed devtools
34Low

Scored 11 days ago · breakdown

About Csharp MCP

Csharp MCP is an MCP server published by anand-tripathi-git in the Developer Tools category: c sharp sample for mcp server.

The repository has 7 stars and 2 forks, with the last commit 4 months ago. Recent commit activity is the strongest signal that reported issues will get attention.

Install

From source
git clone https://github.com/anand-tripathi-git/csharp_mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Csharp MCP

Powered by Claude · Grounded in docs

I know everything about Csharp MCP. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 7 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • !License declaredNo license file. Legally you have no right to use it in a product.
  • !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
  • !Dependencies pinnedNo lockfile. Installs can pull different code over time.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.

1 check has not been run yet.

README

MCP Servers — C# / .NET 9

C# conversions of the Python (mcp/FastMCP) and TypeScript (@modelcontextprotocol/sdk) MCP server implementations in this repository.

All projects target .NET 9 and use the official ModelContextProtocol NuGet SDK.

Prerequisites


How to Build

Build all projects at once from this folder:

dotnet build Mcp.sln

Or build a single project:

dotnet build Mcp.Basic/Mcp.Basic.csproj

How to Run

stdio servers (Basic, WithResources, WithPrompts)

These servers communicate over standard input/output and are designed to be launched by an MCP client (e.g. Claude Desktop, VS Code Copilot).

Run directly:

dotnet run --project Mcp.Basic
dotnet run --project Mcp.WithResources
dotnet run --project Mcp.WithPrompts

Claude Desktop / MCP client config (mcp.json):

{
  "mcpServers": {
    "binance-basic": {
      "command": "dotnet",
      "args": ["run", "--project", "C:/Code/mcp-experiments/csharp_mcp/Mcp.Basic"]
    },
    "binance-full": {
      "command": "dotnet",
      "args": ["run", "--project", "C:/Code/mcp-experiments/csharp_mcp/Mcp.WithPrompts"]
    }
  }
}

For production, publish first for faster startup:

dotnet publish Mcp.WithPrompts -c Release -o ./publish/WithPrompts

Then point the client at the published .exe.

HTTP server (Mcp.Http)

dotnet run --project Mcp.Http

Server starts at http://0.0.0.0:8000. MCP clients connect to http://localhost:8000/mcp.


MCP Primitives Map

Tools (all projects)

C# Method MCP Tool Name Description
Tools.GetPrice get_price Current price from
Tools.GetPricePriceChange get_price_price_change 24-hour price change

Resources (WithResources, WithPrompts)

URI Description
file://activity.log Log of all get_price calls
resource://crypto_price/{symbol} Live price for any symbol

Prompts (WithPrompts only)

Prompt Name Parameters Description
executive_summary (none) BTC + ETH executive summary
crypto_summary crypto Summary for any crypto asset

Python → C# Patterns

Python (FastMCP) C# (ModelContextProtocol SDK)
@mcp.tool() decorator [McpServerTool] attribute on method inside [McpServerToolType] class
@mcp.resource("uri") decorator [McpServerResource(UriTemplate="uri")] attribute
@mcp.prompt() decorator [McpServerPrompt] attribute returning ChatMessage
mcp.run(transport="stdio") .WithStdioServerTransport() + Host.RunAsync()
mcp.run(transport="streamable-http") .WithHttpTransport() + app.MapMcp()
FastMCP(host="0.0.0.0", port=8000) builder.WebHost.UseUrls("http://0.0.0.0:8000")

README fetched from the repository 7 days ago. The original is authoritative.

Questions

About Csharp MCP

How do I install Csharp MCP?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Csharp MCP safe to use with an AI agent?

Its trust score is 34 out of 100 (low). It passes 2 of the 5 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Csharp MCP still maintained?

Yes — the last commit was 4 months ago. The repository has 7 stars and 2 forks.