memorylens-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_processesA | Lists running .NET processes suitable for memory profiling, discovered from their diagnostic IPC endpoints. Does not require dotMemory to be installed. Excludes IDE, tooling, and MCP server processes to prevent interference. |
| ensure_dotmemoryA | Ensures dotnet-dotmemory is installed and up-to-date. Call this before any profiling operation. |
| snapshotA | Takes a memory snapshot of a .NET process. Provide either a pid, processName, or command to profile. Optionally specify durationSeconds to wait before capturing. |
| get_rulesA | Lists all active analysis rules with their ID, title, severity, and category. Rules can be configured via .memorylens.json in the project root. |
| compare_snapshotsA | Takes two memory snapshots of a .NET process with a delay between them for comparison. Useful for detecting memory leaks by comparing before/after state. Provide either a pid, processName, or command to profile. |
| analyzeB | Analyzes a memory snapshot using built-in rules to detect leaks, fragmentation, excessive allocations, and anti-patterns. Returns findings with severity, description, and optional code suggestions. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/MarcelRoozekrans/memorylens-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server