Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MONACO_MCP_ARGSNoExtra CLI args, comma separated.
MONACO_MCP_CDP_URLNoAttach to a browser you started yourself (e.g. http://127.0.0.1:9222) instead of launching one.
MONACO_MCP_CHANNELNoWhich browser to launch.auto (chrome, msedge, chromium)
MONACO_MCP_HEADLESSNoSet to 1 to run without a window (some sites refuse headless).unset
MONACO_MCP_EXECUTABLENoExplicit path to a Chromium-family binary.
MONACO_MCP_PROFILE_DIRNoPersistent browser profile directory. Log in once, sessions survive restarts.~/.monaco-mcp/profile

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
}

Tools

Functions exposed to the LLM to take actions

NameDescription
open_pageA

Open (or navigate to) a URL in the managed browser. Use this first, or to move between problems.

list_pagesA

List the tabs currently open in the managed browser.

get_contentA

Read the visible text of the current page (main content when it can be identified). Use it to read a problem statement, output panel, or verdict.

get_codeA

Read the current contents of the code editor on the page. Returns the code plus which editor instance it came from.

set_codeA

Write code into the page's code editor, bypassing paste blocking. Tries the editor's own API first, then falls back to IME-style typing (insertText, never a paste event). The result is verified by reading the editor back, so 'verified: exact' means the code really is in the editor.

inspect_editorA

Diagnostics: report which editors exist on the page (Monaco global API, Monaco DOM nodes, React fibers, CodeMirror, Ace). Use this when set_code fails.

click_elementA

Click a button or link by its visible text. This is how you press Run, Submit, Test, or switch tabs. Matches buttons and links first, then any visible text.

wait_forA

Wait until some text appears on the page. Use after Run/Submit to wait for the verdict, e.g. 'Accepted' or 'Wrong Answer'.

screenshotC

Capture the current page so you can see the editor state, results, or any error.

close_browserB

Close the browser this server controls (including the profile it launched). Sessions are saved to the profile, so logins survive.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.5/5.0

Scored across 10 tools

Disambiguation4/5

The core intents are clearly separated: navigate (open_page), read page text (get_content), read editor code (get_code), write code (set_code), and interact (click_element, wait_for). Minor overlap exists between open_page and click_element (both can change the page) and between get_content/screenshot/get_code as ways to 'see' state, but descriptions steer the agent correctly. inspect_editor is well-differentiated as a fallback diagnostic for set_code failures.

Naming Consistency4/5

Nine of ten tools follow a clean snake_case verb_noun or verb_noun-ish pattern (open_page, list_pages, get_content, set_code, click_element, wait_for, close_browser, inspect_editor). The lone outlier is 'screenshot', which is a bare noun rather than an action phrase like capture_screenshot. Otherwise highly predictable.

Tool Count5/5

Ten tools is well-scoped for a browser-plus-Monaco-editor automation server; each tool maps to a distinct step in the solve loop (navigate, read, edit, run, wait, verify). No redundant or filler tools, and no obvious need to split or merge any of them.

Completeness3/5

The read/edit/run/verify loop is fully covered, including a diagnostic fallback (inspect_editor) and session persistence. However, there is no general text-input tool for non-editor fields (login forms, search boxes, custom test-case inputs), which is a real dead end despite the note that logins survive via the profile. Scrolling/selector-based clicking beyond visible text is also absent.