Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DEJANK_METRO_HOSTNoWhere Metro runslocalhost
DEJANK_METRO_PORTNoMetro port8081
DEJANK_ARTIFACT_DIRNoWhere profiles and screenshots are saved.dejank/artifacts

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
investigate_slow_screenA

PREFERRED one-shot: profile JS + React around an optional tap, fetch component names, return rule-based diagnosis + artifact paths. Use this instead of chaining start/stop/tap tools when asking why a screen is slow.

list_targetsC

List Metro/CDP debug targets for the connected React Native app

get_target_infoB

Get details for one Metro CDP target by id

get_capabilitiesC

Live capability probes (CDP, profilers, UI). May take 30–60s.

get_ui_treeC

Compact UI tree (Android uiautomator / iOS AX)

tapB

Tap by label (e.g. "Go to next screen") or x/y

get_device_logsD

Native logs — Android logcat / iOS Simulator unified logs

capture_js_profileA

Capture Hermes JS CPU profile for durationMs; writes artifact under .dejank/artifacts

start_js_profileB

Start Hermes JS CPU profiler (pair with stop_js_profile around a repro)

stop_js_profileA

Stop JS CPU profiler and save artifact

capture_react_profileC

Capture React Profiler session via Fusebox CDP; writes artifact

start_react_profileC

Start React Profiler (Fusebox); pair with stop_react_profile

stop_react_profileA

Stop React Profiler and save profilingData artifact

get_component_treeC

Best-effort React component display names / renderer info via Fusebox DevTools operations

take_screenshotA

Capture device screenshot (adb / simctl) to .dejank/artifacts

list_artifactsC

List recent TracePilot evidence artifacts

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/RanjithKumarSeekolu/dejank'

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