Hosted MCP
Connect an MCP client to the/mcp endpoint shown on the LightShip Connect page. For example:
Local companion
Runlightship mcp over stdio when an investigation needs to write a larger authorized export
directly into the agent’s workspace:
lightship_export_traces. It requires the
lightship binary and these environment variables:
See MCP clients for installation and client-specific setup.
Setup MCP
Setup is an optional second connection for administrators only:admin role. Its tools connect trace data, define roles, manage users,
and review source optimizations. It contains no trace-query tools.
Setup accepts MCP initialize, ping, tools/list, and tools/call. Authenticate with an admin’s
personal API key.
Context limits
lightship_search_traces defaults to 10 summaries and accepts at most 20. Hosted trace-tool results
larger than 32 KiB return an error. Use the local companion’s export tool for larger investigations.
For the underlying row API used by exports, see Query Traces.