Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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