Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ARTHAS_WS_URLNoArthas WebSocket endpoint (HTTP API URL is derived)ws://127.0.0.1:8563/ws
ARTHAS_HTTP_URLNoAlternative: give the HTTP API URL instead
ARTHAS_MAX_OUTPUTNoPer-response character cap before truncation16000

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
arthas_execA

Execute an Arthas command and return the result. For sync commands (dashboard, thread, jvm, sc, sm, jad, ognl, etc.) returns result directly. For streaming commands (watch, trace, stack, monitor) runs in background and returns a job ID + log file path.

arthas_dashboardC

Get a comprehensive dashboard showing thread stats, memory usage, GC info, and runtime data.

arthas_threadC

Get thread information. Shows thread stack traces, CPU usage, and thread states.

arthas_jvmC

Get JVM information including memory usage, GC stats, runtime info.

arthas_memoryC

Get detailed memory information.

arthas_scC

Search for loaded classes.

arthas_smC

Search for methods in loaded classes.

arthas_jadC

Decompile a loaded class.

arthas_watchA

Watch method execution. Runs in background; waits up to awaitMs for completion and returns results inline if done, otherwise returns a job ID. Use arthas_read_log to check output later, arthas_stop_job to stop.

arthas_traceA

Trace method execution path and timing. Runs in background; waits up to awaitMs for completion and returns results inline if done, otherwise returns a job ID.

arthas_stackA

Get the call stack of a method. Runs in background; waits up to awaitMs for completion and returns results inline if done, otherwise returns a job ID.

arthas_monitorA

Monitor method invocation statistics. Runs in background; waits up to awaitMs for completion and returns results inline if done, otherwise returns a job ID.

arthas_ognlC

Execute OGNL expressions.

arthas_classloaderC

Show classloader hierarchy and info.

arthas_getstaticC

Get static field values.

arthas_heapdumpB

Create a heap dump file.

arthas_profilerC

Start/stop async profiler for CPU or memory profiling.

arthas_ttC

Time Tunnel: Record method invocations for replay. Record mode (record=true) is ASYNC.

arthas_versionB

Get Arthas version information.

arthas_helpB

Get help for Arthas commands.

arthas_cookbookA

Get a proven step-by-step Arthas command recipe for a common production symptom (high CPU, memory leak, slow requests, worker pool exhaustion, deadlocks, connection pool, Spring inspection, ...). START HERE when diagnosing a symptom instead of composing commands from scratch. Call without arguments to list topics.

arthas_async_jobsA

List all async background jobs (watch/trace/stack/monitor). Shows job ID, command, status, log file path, and elapsed time.

arthas_read_logA

Read the output log of an async job. Use this to check results from watch/trace/stack/monitor commands. Returns the tail by default to keep responses small.

arthas_stop_jobA

Stop a running async job (watch/trace/stack/monitor).

arthas_set_configC

Update Arthas connection configuration.

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/HeavenC/arthas-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server