Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SIGROK_CLINoPath to sigrok-cli if not on PATH
LOGIC_MCP_OUTNoArtifact directory (default ./out)./out
LOGIC_MCP_PROFILESNoExtra panel YAML directory
LOGIC_MCP_DSVIEW_SOCKNoDefault dsview socket$XDG_RUNTIME_DIR/logic-mcp/dsview.sock
LOGIC_MCP_INSTRUMENT_SOCKNoDefault ipc socket$XDG_RUNTIME_DIR/logic-mcp/instrument.sock

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
protocol_list

List instrument backends, capture adapters, bus decoders, upper decoders, profiles, sinks.

capture_open

Load a capture/trace file. Returns capture_id and channels. Pin maps belong on bus_decode.

instrument_list

List live-capture backends (id, vendor, status, available, options_schema).

instrument_scan

Discover analyzers. Omit backend to scan every implemented backend that is available.

instrument_open

Open a live backend (mock, dslogic, sigrok_cli, …). Returns device + capabilities.

instrument_close

Release the open instrument. Does not delete the last LogicCapture.

instrument_capabilities

Sample rates, channel names, trigger support for the open instrument.

instrument_configure

Set live capture params (rate, channels, duration or samples, trigger). Does not start yet.

instrument_capture

Run a blocking capture into the session. GUI-owned backends (dsview) do not need sample_rate_hz.

instrument_start

Start capture on the open instrument. DSView uses whatever the GUI already configured.

instrument_stop

Stop an in-progress capture.

instrument_wait

Block until capture completes or timeout_s.

instrument_export

Ask the vendor hub to export the last capture and load it into the session.

bus_decode

Create a DecodeJob on the open capture. Same waveform can have several jobs (e.g. SPI + I2C).

protocol_roles

Channel roles and options_schema for a bus decoder.

interpret

Run an upper decoder on a DecodeJob. Default sink is command_log. Add framebuffer for PNG.

display_analyze

Sugar: interpret MIPI DCS + command_log sink for a display profile.

display_reconstruct

Sugar: interpret MIPI DCS + command_log + framebuffer sinks.

session_status

Open capture plus all decode/interpret jobs and artifacts.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources