Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

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

Reads console output from Chrome extensions under development. The extension being debugged forwards its console calls to the "stdout" helper extension, which stores them even when no agent is connected, so logs from before this session started are available.

Start with get_logs to see recent output, or list_sources to see which extensions and pages have logged. Logs from every extension are mixed together, so when you know which extension you're working on, such as from the name in the project's manifest.json, pass it as extension. get_logs says when its results come from more than one extension.

The stdout extension can run in more than one browser at once, such as Chrome and Edge, or Chrome and Canary. Each entry then says which browser it came from, and browser limits results to one of them. list_sources lists the browsers by the names the user gave them, or by brand and version.

Every result includes a cursor; pass it as after to get only newer entries. Use since to limit results to a recent time span, or around to see the entries near one you found. Each entry shows the time since the previous one, and a "loaded" line marks the first entry from each page load, such as a service worker restart.

Before asking the user to reproduce a problem, call mark to add a line that brackets the repro. Then use wait_for_log to wait for a specific message.

After changing an extension's code, call reload_extension instead of asking the user to reload it. Only unpacked extensions that have called stdout() can be reloaded. If you changed manifest.json, pass reloadManifest and check whether the result says it worked. Open tabs keep any old content scripts until they're refreshed.

If the tools report that the stdout extension hasn't sent anything, ask the user to click the stdout extension's toolbar icon in Chrome so it shows an MCP badge. That turns on agent mode, which lets the extension send logs here.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_logsA

Get console output from Chrome extensions that use the stdout-mcp library, including output from before this session started. Without after, returns the most recent matching entries. With after, returns the entries following that cursor, oldest first. With around, returns the entries before and after that one.

wait_for_logA

Wait until a Chrome extension logs a message matching a pattern, such as after asking the user to reproduce a problem or reload the extension. By default, only entries logged after this call starts are considered.

markA

Add a line to the log, such as before asking the user to reproduce a problem, so the entries that follow are easy to find. Returns a cursor to pass as after to get the entries logged since the mark.

reload_extensionA

Reload an unpacked Chrome extension so it picks up changes to its code. Pass reloadManifest if manifest.json changed too, and the result will say whether that looks like it worked. Only extensions that have called stdout() can be reloaded. Returns a cursor to pass as after to get the entries logged since the reload.

list_sourcesB

List the Chrome extensions and pages that have sent logs, and the browsers the stdout extension is sending them from.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.9/5.0

Scored across 5 tools

Disambiguation5/5

Each tool has a clearly distinct purpose: get_logs reads history, wait_for_log blocks for a match, mark inserts a cursor anchor, reload_extension refreshes code, and list_sources enumerates log emitters. The only partial overlap (get_logs vs wait_for_log) is resolved cleanly by timing/blocking semantics, and the cursor concept ties them together rather than blurring them.

Naming Consistency4/5

Four of five names follow a clean snake_case verb_noun pattern (get_logs, wait_for_log, reload_extension, list_sources). Only 'mark' deviates as a bare verb with no object, a minor but noticeable break from the pattern.

Tool Count5/5

Five tools is tightly scoped to the domain of reading and driving logs from Chrome extensions, with each tool earning its place (read, wait, annotate, reload, enumerate sources). Nothing feels padded or missing at the count level.

Completeness4/5

The lifecycle is well covered: discover sources, read history, wait for new output, insert markers, and reload the extension to generate fresh logs. Minor gaps exist, such as no way to clear/purge logs or filter by log level/severity, but cursor-based reads work around most of it.