Skip to content

Configuration

mcilspy follows a zero-configuration philosophy — it works out of the box with sensible defaults. The configuration surface is intentionally small: one environment variable for logging and the standard MCP client configuration for connecting to the server.

The simplest setup. One command registers mcilspy as an MCP server:

Terminal window
claude mcp add ilspy -- mcilspy

For development against a local checkout:

Terminal window
claude mcp add ilspy -- uv run --directory /path/to/mcilspy mcilspy

mcilspy reads one environment variable:

VariableDefaultValuesPurpose
LOGLEVELINFODEBUG, INFO, WARNING, ERRORControls log verbosity on stderr

Logs are written to stderr exclusively — stdout is reserved for the MCP JSON-RPC protocol. You will never see log output mixed into tool responses.

Set LOGLEVEL=DEBUG to see detailed information about tool invocations, subprocess commands, and metadata parsing:

Terminal window
LOGLEVEL=DEBUG mcilspy

In Claude Code, you can set environment variables in the MCP configuration:

Terminal window
claude mcp add ilspy -e LOGLEVEL=DEBUG -- mcilspy

Debug output includes:

  • Every ilspycmd subprocess command and its arguments
  • Metadata reader operations and timing
  • Search pattern compilation and match counts
  • Output truncation decisions and temp file paths

For working on mcilspy itself, install in development mode and run directly:

Terminal window
git clone https://git.supported.systems/MCP/mcilspy.git
cd mcilspy
uv pip install -e .
mcilspy

Or run without installing:

Terminal window
uv run --directory /path/to/mcilspy mcilspy

To test with Claude Code using a local development copy:

Terminal window
claude mcp add ilspy-dev -- uv run --directory /path/to/mcilspy mcilspy

This registers a separate ilspy-dev server alongside any production installation, so you can compare behavior between versions.

These defaults are built into mcilspy and cannot be changed via configuration. They can be overridden per tool call:

ParameterDefaultTool
max_output_chars100,000decompile_assembly
max_results100search_strings
max_results1,000search_methods, search_fields, list_types, search_types
language_versionLatestdecompile_assembly, decompile_method
show_il_codefalsedecompile_assembly
show_il_codetruedecompile_method