Skip to content

systemslab mcp ​

Description Run a Model Context Protocol (MCP) server that proxies requests to the SystemsLab server.
Usagesystemslab mcp

Description ​

The systemslab mcp command starts a Model Context Protocol (MCP) server that acts as a proxy between an MCP client and the SystemsLab server. It reads JSON-RPC messages from stdin, forwards them to the SystemsLab MCP endpoint, and writes responses to stdout. Both direct JSON and SSE streaming responses are supported. MCP session IDs are managed automatically.

Authentication ​

Requests to the server use the OAuth token cached by systemslab login. The MCP server also has a login tool that runs the same browser sign-in, so an agent can sign in without the user switching to a terminal.

The server starts even if the cached token has expired and cannot be refreshed. All of the SystemsLab server's tools are listed even before you sign in; calling one of them before signing in fails with an error asking you to sign in.

Common Options ​

OptionDefaultDescription
--systemslab-url The URL at which to access the systemslab server.
--colorauto Controls when color is used in the output. Possible values are auto, always, and never.
--output-formatlong Output format to use when outputting messages. long will result output designed to be human-readable while short is short output meant to be used within scripts.

Environment Variables ​

VariableDescription
SYSTEMSLAB_URLSpecify the URL used to contact the SystemsLab server. Equivalent to --systemslab-url.