AmazingMCP — For .NET / C# Codebases MCP Server

An MCP server that gives AI agents deep understanding of C# codebases via Roslyn — type search, dependency graphs, usage analysis, and architecture

Local serverstdio

What is the AmazingMCP — For .NET / C# Codebases MCP Server?

An MCP server that gives AI agents deep understanding of C codebases via Roslyn — type search, dependency graphs, usage analysis, and architecture overviews, all

What you get

  • One server, any number of solutions — — start it once and point it at any project per call, no restart needed when switching between solutions
  • Live in-memory compilation — — opens .sln/.slnx via MSBuild Workspaces and compiles all projects in memory. All tools run against a real Roslyn semantic model, not text search
  • Incremental cache — — workspace is cached with file watchers. .cs changes trigger incremental recompilation; .csproj/.sln changes invalidate the full cache. First call per solution is slow; subsequent calls are instant
  • NuGet-aware — — NuGet types are fully resolved and searchable alongside source types. query_symbol, get_type_details, and decompile_type work on any referenced package

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
query_symbolFind types, members (methods, properties, fields), extension methods, constants, and enum values across the solution and NuGet packages
get_type_detailsFull type info: properties, methods, base types, nested types (including NuGet)
query_usagesFind all usages of a type across the solution: method calls, constructor calls, property/field read and write, generic arguments and constraints, return types,
read_cs_file_digestToken-efficient entry point for large .cs files (hundreds or thousands of lines): returns a structural outline — types and members with line numbers, no impleme
read_large_cs_fileRead specific member implementations from a .cs file by name filter — use after read_cs_file_digest to load only what's relevant instead of the entire file
decompile_typeDecompile any type from a NuGet assembly to C source — no external tools required, ILSpy is built in
code_lensResolve fully-qualified types for any line range in a .cs file: local variables, field/property types, method call signatures, object creations, and declaration
get_project_designHigh-level architecture map: abstraction groups by namespace and inter-group dependencies
get_project_design_detailsDetailed view of abstractions and implementations for specified namespaces (supports wildcard)

How to install the AmazingMCP — For .NET / C# Codebases MCP Server

{
  "mcpServers": {
    "AmazingMCP": {
      "type": "http",
      "url": "http://localhost:7777"
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Example prompts to try

  • “Use AmazingMCP — For .NET / C# Codebases to query symbol.”
  • “Use AmazingMCP — For .NET / C# Codebases to get type details.”
  • “Use AmazingMCP — For .NET / C# Codebases to query usages.”

Frequently asked questions

An MCP server that gives AI agents deep understanding of C# codebases via Roslyn — type search, dependency graphs, usage analysis, and architecture overviews, all Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.