
marcelroozekrans/memorylens-mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
MCP server for on-demand .NET memory profiling with AI-actionable code fix suggestions, collecting heap data in-process over EventPipe
개요
On-demand .NET memory profiling with concrete, AI-actionable code fix suggestions — no profiler to install. A hosted deployment is available on Fronteir AI. 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 . Subsequent starts skip the install entirely and work offline. Add to your MCP settings (.vscode/mcp.json or VS settings): Profiling 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. - .NET 10 SDK, 10.0.
README
원문 README의 일부입니다. 원문 보기.
MemoryLens MCP
On-demand .NET memory profiling with concrete, AI-actionable code fix suggestions — no profiler to install.
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
/plugin install memorylens --marketplace MarcelRoozekrans/memorylens-mcp
The plugin runs the NuGet tool through dnx, so it needs the .NET 10 SDK and nothing else.
.NET Global Tool
dotnet tool install -g MemoryLens.Mcp
Docker
설치
npx -y memorylens-mcp설정
{
"mcpServers": {
"memorylens": {
"type": "stdio",
"command": "npx",
"args": ["-y", "memorylens-mcp"]
}
}
}