Skip to content
MCP server

ILens

MCP server that lets AI agents inspect compiled .NET assemblies with bounded lookups

Pricing
Open source
Platforms
Windows, CLI
Version
11
Listing updated
today

Similar MCP servers

About ILens

ILens is an open-source MCP server for developer tools. It is available on Windows and CLI.

The README describes ILens as a way to stop agents from pulling whole-file dumps when they only need one class. Instead of shelling out to ildasm or ilspycmd, an agent calls targeted tools that list types in a namespace, read one type's members, find methods by signature, decompile a single method, search decompiled C# and run cross-reference analysis such as callers and overrides.

ILens runs as a stdio MCP server and is read-only. It only loads assemblies under directories named with --allow-root, makes no network calls and ships as a self-contained Windows x64 binary installed through winget. Its memory use is capped by a configurable budget, 200 MB by default.

The tools target C# output, so assemblies from F# or VB.NET may decompile less faithfully. The project is aimed at developers on Windows who use an AI coding client, such as Claude Code, against .NET codebases.

Tools this server provides (9)

Taken from the project documentation; the running server may differ.

find_types
Find the types the assembly defines, by namespace or by a substring of their name.
find_methods
Find methods across the assembly by name, parameter types or return type.
list_members
Lists a type's members without bodies.
decompile
Decompiles a type or member to C# source.
search_code
Searches decompiled C# for a pattern.
analyze
Runs cross-reference analysis on a type or member, such as used_by and call_sites.
compare
Compares two builds of an assembly.
find_harmony_dependencies
Lists what a Harmony mod depends on.
list_allowed_roots
Lists the directories from which assemblies can be loaded.

What it does

Targeted type discovery
Lists types by exact namespace or name substring, with accessibility and generated-code filters.
Member and signature lookup
Shows a type's members without bodies and finds methods by name, parameter types or return type.
Single-method decompilation
Decompiles one type or member to C# instead of dumping the whole assembly.
Cross-reference analysis
Reports callers, overrides, implementations, extension methods and attribute usage for a type or member.
Build comparison
Compares two builds of an assembly to show what differs between them.
Read-only with path checks
Refuses paths outside configured roots and path traversal, and never writes to assemblies.

Good for

  • Letting an AI coding agent look up a single class in a compiled .NET library without loading the full decompile
  • Finding which types in a third-party DLL expose a given method signature
  • Tracing callers of a method inside a compiled .NET assembly
  • Comparing two builds of a .NET library to see API changes
  • Checking what a Harmony mod patches in a game assembly

Pricing

Open source

Free and MIT-licensed; the README links a LICENSE file.

Prices change. Check tadis174.github.io before you buy.

ILens FAQ

Which platforms does ILens run on?

The README and guide list Windows 10/11 x64 as the system requirement. The binary is self-contained and needs no separate .NET runtime.

Does ILens modify assemblies or make network calls?

The guide says all MCP tools are read-only, with no writes, no shell-out and no network calls, and the server speaks stdio only.

How is ILens installed?

The guide recommends winget install Tadis.ILens, which installs a portable package and registers the ilens command on the user PATH.

Does ILens work with non-C# assemblies?

The metadata tools work on assemblies from any .NET language, but decompile and search output is C#, so F#, VB.NET or C++/CLI constructs may render unfaithfully.

Is ILens free?

Yes. ILens is open source, so you can use and self-host it for free.

What are the best alternatives to ILens?

The closest alternatives to ILens are Codelens MCP, Lens MCP, RoselineMCP, Dotnet Template MCP and Gopls MCP.

Where this comes from

  • Description: written from the project's README, the project's website and its MCP Registry entry.

How AIPoweredBot checks servers