Chrome Extension Tester
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
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.
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
| Capability | Details |
|---|---|
| tools | {} |
| prompts | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| load_extensionA | Launch a fresh, isolated Chromium with an unpacked extension loaded — no real logins, cookies, or site sessions. Use this ONLY when the extension doesn't depend on being logged into a real website or account (e.g. on-device/offline models, local-only tools, extensions that work on arbitrary/synthetic pages). If testing requires navigating a real site as a logged-in user (job boards, email, social platforms, anything gated behind login) use connect_browser instead — that's the default/preferred way to test. Call load_extension again to restart this throwaway browser. |
| connect_browserA | DEFAULT/PREFERRED way to test an extension — connect to your real Brave/Chrome/Chromium browser with your actual logged-in sessions, cookies, and tabs preserved. Use this whenever testing requires navigating a real website as a logged-in user (job boards, email, social platforms, anything gated behind an account) — most extensions that interact with live sites need this. Only skip it in favor of load_extension's throwaway browser if the extension is fully self-contained (on-device/offline models, local-only tools, no real-account dependency). Use action 'scan' first to see what's available, then 'connect' to attach to a running browser or 'launch' to start one with debugging enabled. |
| reload_extensionA | Hot-reload the extension's code in the connected personal browser (connect_browser mode only) by clicking the toolbar 'Update' button on chrome://extensions — reloads every installed unpacked extension (and update-checks every Web Store one) as a side effect, so it's not scoped to just this extension, but the extension ID stays stable and tabs/logins survive. Waits 10s after the click before returning to give the reload time to settle. |
| interact_with_popupC | Open the extension popup and interact with UI elements (click, type, read text/HTML). |
| inspect_domC | Inspect DOM elements or run JavaScript in a page context. Optionally navigate to a URL first. |
| get_service_worker_logsC | Fetch console logs captured from the extension's background service worker. |
| take_screenshotC | Take a screenshot of the current browser page or popup. |
| run_assertionB | Run a test assertion against the current page. Checks a condition and reports PASS or FAIL. |
| extension_storageB | Read from or write to chrome.storage (local, sync, or session) in the extension's service worker context. |
| monitor_networkB | Monitor, capture, and inspect network requests. Useful for testing extensions that block, redirect, or modify requests (e.g. ad blockers, header modifiers). |
| open_options_pageB | Open the extension options/settings page (options.html or a custom page). Supports any extension page by filename. |
| test_context_menuB | Test context menus registered by the extension. Can verify the contextMenus API is available and simulate right-click events on page elements. |
| check_badgeC | Read or assert the extension icon badge text and background color from chrome.action. |
| send_message_to_backgroundC | Send a chrome.runtime.sendMessage to the extension's background service worker and return the response. Runs from within the extension's popup context. |
| simulate_tab_eventsB | Open, close, switch, and list browser tabs to test extension behavior across tab lifecycle events (tab managers, session savers, per-tab state, etc.). |
| test_account_loginB | Create or reuse a test account for a website using a disposable email from Guerrilla Mail. Credentials are stored in test-accounts.json and reused across test sessions. Use action='auto' to login if credentials exist or create new ones if they don't. |
| manage_cookiesA | Inspect, edit, delete, and assert browser cookies at the Playwright context layer. Works regardless of the extension's declared permissions and can read httpOnly cookies. Restrictions in connect_browser (CDP) mode, where cookies belong to the user's real profile: 'clear' is disabled, 'delete' requires a cookie 'name', 'get' requires a 'url' or 'name' scope, 'set' won't replace an existing cookie unless overwrite is true, and cookie values are redacted unless include_values is true. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| extension-tester-agent | A testing agent that validates all implemented changes in a Chrome extension. Understands what the extension does, derives tests from the changes list, runs every test using the MCP tools, and returns a structured PASS/FAIL report. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 17 tools
Most tools have clearly distinct purposes: browser connection, extension lifecycle, storage, network, popup UI, and assertions are separable. The main possible confusion is between inspect_dom (which can run JavaScript), run_assertion, and send_message_to_background, but the descriptions clarify their different contexts well enough. load_extension and connect_browser are alternatives but are explicitly presented as such, reducing misselection risk.
Names are consistently snake_case and mostly follow a verb_noun or verb_object pattern (load_extension, inspect_dom, monitor_network, simulate_tab_events). A few deviate slightly, such as the noun-only extension_storage and the longer interact_with_popup / send_message_to_background, but overall the convention is predictable and readable.
Seventeen tools is slightly heavy but justified by the breadth of browser extension testing: connection modes, popup interaction, storage, network, context menus, badges, tabs, and login flows. Each tool appears to earn its place rather than duplicating another. It stays within a reasonable range for a full-featured testing server.
The surface covers nearly the full extension-testing lifecycle: launch/connect, reload, inspect popup/options pages, DOM and JavaScript execution, service worker logs, storage, messaging, network monitoring, context menus, badges, tabs, cookies, screenshots, and login setup. Minor gaps exist around testing other Chrome APIs such as alarms, notifications, or permission prompts, but these can likely be approximated through inspect_dom or extension_storage.