limelight-mcp
v1.3.3Limelight MCP Server — runtime debugging intelligence for AI coding assistants
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
limelight_get_session_overview
Get a high-level snapshot of the running app's runtime state. Returns event counts, error summary, suspicious items, and top-rendered components. THIS IS THE FIRST TOOL TO CALL when starting a debugging session — it tells you what's happening and what to investigate next.
| Parameter | Type | Description |
|---|---|---|
last_n_seconds | number | Only include events from the last N seconds |
limelight_get_timeline
Get a chronological view of all runtime events within a time range. Returns timestamped, one-line summaries of requests, logs, renders, and state changes. Use this to understand 'what just happened' — great for seeing the sequence of events around a bug or user interaction.
| Parameter | Type | Description |
|---|---|---|
event_types | array | Filter by event type. Omit to include all types. |
last_n_seconds | number | How many seconds of history to show (default: 10) |
min_severity | string | Minimum severity filter. 'error' shows only errors, 'warning' includes warnings, 'info' includes everything. |
offset | number | Skip the last N events (after filtering) before taking the 30-event window. Use with hasMore to paginate backwards through the timeline. |
limelight_query_network
Query captured network requests with filtering by URL, method, status code, and duration. Returns request details including URL, method, status, duration, and optionally request/response bodies. Use this to find failed requests, slow endpoints, or requests matching a specific pattern.
| Parameter | Type | Description |
|---|---|---|
include_bodies | boolean | Include request/response bodies. WARNING: significantly increases response size. Only use when you need to inspect payloads. |
last_n_seconds | number | Only include requests from the last N seconds |
limit | number | Maximum number of results to return (default: 10) |
method | string | Filter by HTTP method (GET, POST, PUT, DELETE, etc.) |
min_duration_ms | number | Only show requests slower than this threshold (ms) |
status_range | object | Filter by status code range. Use { min: 400, max: 599 } for all errors, { min: 500, max: 599 } for server errors. |
url_pattern | string | Filter by URL substring (e.g., '/api/users' or 'graphql') |
limelight_query_logs
Query captured console events (log, warn, error, info, debug). Filter by level and message pattern. Returns log messages with timestamps, sources, and optionally stack traces. Use this to find error messages, warnings, or debug output from the app.
| Parameter | Type | Description |
|---|---|---|
include_stack_traces | boolean | Include stack traces. Defaults to true for errors, false otherwise. |
last_n_seconds | number | Only include logs from the last N seconds |
level | string | Filter by log level |
limit | number | Maximum results (default: 10) |
message_pattern | string | Search within log messages (substring match, case-insensitive) |
limelight_investigate_error
Run Limelight's full Debug IR pipeline on an error to get automated root cause analysis. This is the MOST POWERFUL debugging tool — it correlates the error with related events, builds a causal chain, detects violations, identifies state changes, and rules out non-causes. Provide either: - error_id: A specific event ID (from limelight_get_timeline or limelight_query_logs) - error_pattern: A substring to match against error messages, URLs, and stack traces - Neither: Investigates the most recent error Returns a structured analysis with: issue framing, causal chain, state…
| Parameter | Type | Description |
|---|---|---|
error_id | string | Specific event ID of the error to investigate |
error_pattern | string | Search for errors matching this substring (searches error messages, URLs, and stack traces) |
scope | string | Investigate the most recent matching error, or return analysis for all matches (default: most_recent) |
verbose | boolean | Return full detail including raw state deltas, all constraints, and extended causal chains (default: false) |
limelight_correlate_event
Given any event ID, find everything related to it using Limelight's correlation engine. Returns related events organized as a timeline (before/concurrent/after) and a correlation graph with edge types (TRIGGERED, CONTRIBUTED, FOLLOWED, EVIDENCE) and confidence scores. Use this to trace cause-and-effect chains.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | The ID of the event to find correlations for. Get event IDs from other tools like limelight_get_timeline or limelight_query_network. |
verbose | boolean | Return full graph with all nodes and edges (default: false, compact mode caps at 10 nodes) |
limelight_investigate_component
Deep-dive investigation of a specific React component. Returns its full render profile (render count, cost, velocity, cause breakdown, suspicious flags), prop changes, and a full Debug IR analysis that correlates its renders with state changes and network requests. Use this when a component is rendering too often or too slowly.
| Parameter | Type | Description |
|---|---|---|
component_name * | string | The name of the React component to investigate (e.g., 'UserList', 'ProductCard'). Partial matches are supported. |
verbose | boolean | Return full analysis including causal chain, state deltas, excluded causes, and all correlated events (default: false) |
limelight_get_render_profile
Show which React components are rendering, how often, how expensively, and why. Returns component render profiles sorted by cost, count, or velocity. Includes cause breakdown (props/state/context/parent), suspicious flags, and prop change analysis (identifies unstable references). Use for performance profiling.
| Parameter | Type | Description |
|---|---|---|
component_name | string | Filter to a specific component (substring match) |
limit | number | Maximum results (default: 10) |
sort_by | string | Sort results by: render_count (most renders), render_cost (most expensive), or velocity (fastest re-rendering). Default: render_cost. |
suspicious_only | boolean | Only show components flagged as suspicious by Limelight |
verbose | boolean | Return full profile with cause breakdown, prop changes, and component IDs (default: false, compact summary) |
limelight_get_state_snapshot
Get state store contents and recent state change history. Supports Zustand and Redux stores. Filter by store ID and dot-notation path. With include_history=true, shows the sequence of state changes (actions, changed keys, diffs) that led to the current state. Diffs are sanitized — actual values are type-described, not exposed.
| Parameter | Type | Description |
|---|---|---|
history_limit | number | How many recent state changes to include when include_history is true (default: 10) |
include_history | boolean | Include recent state change history (default: false) |
path | string | Dot-notation path into state (e.g., 'user.preferences.theme'). Only works with include_history. |
store_id | string | Filter to a specific store (e.g., 'authStore', 'cartStore'). Omit to see all stores. |
verbose | boolean | Return full state values instead of type-described summaries (default: false) |
limelight_get_event
Retrieve the full details of a single event by its ID. Returns the complete event data including all fields (bodies, headers, stack traces, state diffs, render details). Use this for cheap inspection of any event after finding its ID from other tools like limelight_get_timeline or limelight_find_issues.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | The ID of the event to retrieve. Get event IDs from limelight_get_timeline, limelight_query_network, limelight_query_logs, or limelight_find_issues. |
limelight_find_issues
Proactively scan all captured runtime events for issues. Returns deduplicated, severity-sorted issues with titles, descriptions, and suggestions. Compact by default — use verbose=true for causal summaries and event IDs.
| Parameter | Type | Description |
|---|---|---|
deduplicate | boolean | Group similar issues (e.g., 20 components with the same unstable props → 1 entry with count). Default: true. |
limit | number | Maximum number of issues to return (default: 5) |
verbose | boolean | Return full detail including causal summaries and related event IDs (default: false, compact mode) |