Memorylens MCP server
MCP server for .NET memory profiling — in-process heap snapshots via EventPipe with leak heuristics
11 stars97 downloads/wk
Reviews
Write oneNobody has reviewed Memorylens yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Memorylens tools
No tool declarations could be read from the package source. They show once the server is installed.
Public scan report
scanner v0.1.10 · 2026-11-01 · same rubric, same numbers if you re-run it
- Code scan2 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 1 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Memorylens compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 92/100
- higher than 95% of 48,255 servers
- GitHub stars
- 11
- more than 88% of 28,688 servers
- Downloads a week
- 97
- more than 62% of 12,191 servers with a package
Release history: 2 versions in the registry since 2026-08-24, latest 2026-10-31, typically one every 68 days.
Install Memorylens in Claude Code, Cursor or VS Code
Runs npx -y memorylens-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add memorylens-mcp -- npx -y memorylens-mcp
What the publisher says
From the Memorylens repository's README, as published. We do not edit it. Read it on GitHub
MemoryLens MCP
On-demand .NET memory profiling with concrete, AI-actionable code fix suggestions — no profiler to install.
<!-- mcp-name: io.github.MarcelRoozekrans/memorylens-mcp -->
Hosted deployment
A hosted deployment is available on Fronteir AI.
Quick Start
npx (any MCP client)
{
"mcpServers": {
"memorylens": {
"type": "stdio",
"command": "npx",
"args": ["-y", "memorylens-mcp"]
}
}
}The npm package ships no server code — it is a launcher that installs the MemoryLens.Mcp .NET global tool at a matching version and execs it, so the .NET 10 SDK must be on PATH. Subsequent starts skip the install entirely and work offline.
VS Code / Visual Studio (via dnx)
Add to your MCP settings (.vscode/mcp.json or VS settings):
{
"servers": {
"memorylens": {
"type": "stdio",
"command": "dnx",
"args": ["MemoryLens.Mcp", "--yes"]
}
}
}Claude Code Plugin
claude install gh:MarcelRoozekrans/memorylens-mcp.NET Global Tool
dotnet tool install -g MemoryLens.McpDocker
docker build -t memorylens-mcp .
docker run -i --rm --pid=host --cap-add=SYS_PTRACE \
-v /tmp:/tmp \
-v "$PWD:/workspace" memorylens-mcpProfiling from a container needs ptrace and the host PID namespace, and on Docker Desktop that namespace is the Linux VM rather than your desktop — see docs/docker.md before choosing this route.
-v /tmp:/tmp is what makes list_processes return anything — the runtime's diagnostic sockets live in the temp directory — and it is also what keeps snapshots alive after --rm, since they are written to /tmp/memorylens-snapshots inside the container. -v "$PWD:/workspace" is only so .memorylens.json is picked up; nothing is written there.
Prerequisites
- .NET 10 SDK, 10.0.4xx feature band (pinned in global.json)
Running a filtered subset of the tests, e.g. dotnet test --filter , will exit with code 9 and print error: 1, failed: 0. That's the test project's discovery-collapse guard (--minimum-expected-tests) firing because the filter left fewer tests than expected — it is not a test failure, and a full dotnet test run is unaffected.
How Collection Works
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Memorylens: common questions
- Is Memorylens MCP server safe?
- Yes, by our scan: it is graded A (92/100). Read the Memorylens safety report
- How do I install Memorylens?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Memorylens need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Memorylens maintained?
- The last commit was 4 days ago (2026-10-31). The latest release is v2.1.3.
- How does Memorylens compare with other MCP servers?
- safety score 92/100 (higher than 95% of 48,255 servers); github stars 11 (more than 88% of 28,688 servers); downloads a week 97 (more than 62% of 12,191 servers with a package). Full comparison.