spector-agent-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@spector-agent-mcpcapture a frame and run diagnostics on the WebGL canvas"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
spector-agent-mcp
AI-first WebGL 1/2 debugging MCP server built on Spector.js, designed for Code Agents (Cursor / Claude / Codex) collaborating with Chrome DevTools MCP.
Features
Shared-Chrome CDP attach (no second browser)
debugSessionIdcollaboration with chrome-devtools-mcpSummary-first tools + diagnostic rules (
WEBGL-*)Skill Pack under
skills/(router + specialized playbooks)Error fixtures + evals for regression of agent workflows
Related MCP server: Kaboom Browser AI Devtools MCP
Quick start
1. Chrome remote debugging
# macOS example
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome \
--remote-debugging-port=9222 \
--user-data-dir=/tmp/chrome-webgl-debug2. Run the published package
npx -y spector-agent-mcp --browser-url http://127.0.0.1:92223. MCP config
Generic MCP client configuration:
{
"mcpServers": {
"spector-agent": {
"command": "npx",
"args": ["-y", "spector-agent-mcp", "--browser-url", "http://127.0.0.1:9222"]
}
}
}Adapter templates under adapters/ also use the published npx -y spector-agent-mcp entry. For repository development, run pnpm install && pnpm build and point the MCP command at node packages/cli/dist/cli.js instead.
Also configure chrome-devtools MCP in your host. Templates:
Cursor:
adapters/cursor/mcp.jsonCodex:
adapters/codex/config.tomlClaude plugin:
adapters/claude-plugin/
4. Agent workflow (short)
webgl_debug_playbook({ goal, url })— deterministic tool sequenceReproduce with chrome-devtools tools / open URL
webgl_bind_target→webgl_runtime_installStage observe:
webgl_set_marker/webgl_screenshot_canvas/webgl_read_consolewebgl_capture_frame({ includeThumbnails: true })→webgl_run_diagnostics→ FBO viawebgl_list_visual_attachmentsFix workspace code → re-capture →
webgl_diff_captures
Playbooks: skills/webgl-goal-driven-debug/SKILL.md, skills/webgl-debugging/SKILL.md
Gap analysis vs Spector.js: docs/ai-debug-toolchain-gap.md
Tool list (summary)
Group | Tools |
Session |
|
Capture |
|
Live / stage |
|
Inspect |
|
Diagnostics |
|
Store |
|
Security defaults: CDP is limited to explicitly allowlisted loopback hosts, runtime injection is limited to local or --allowed-origins targets, captures are size/retention bounded, and the generic webgl_page_evaluate tool is not registered unless --allow-page-evaluate is explicitly enabled. Prefer Chrome DevTools MCP for page evaluation and interaction.
Streamable HTTP is also available with secure defaults:
export SPECTOR_AGENT_MCP_HTTP_TOKEN="replace-with-at-least-24-random-characters"
npx -y spector-agent-mcp --transport httpIt listens on 127.0.0.1:9230/mcp, requires Bearer authentication, and isolates MCP sessions. Non-loopback listening requires both --allow-remote-http and an explicit --http-allowed-hosts allowlist. See docs/usage.md for all usage modes.
Skill Pack
skills/
webgl-debugging/ # main router
webgl-goal-driven-debug/ # URL+goal → capture → fix → verify
webgl-black-screen/
webgl-shader-debugging/
webgl-texture-framebuffer/
webgl-state-corruption/
webgl-geometry-draw/
webgl-performance-regression/
webgl-verify-fix/
webgl-framework-adapters/Fixtures & evals
Fixtures:
packages/test-fixtures/errors/*Eval scenarios:
evals/evals.jsonReport grader:
evals/graders/grade-report.mjs
Docs
docs/protocol.md—debugSessionIdcollaborationdocs/diagnostics.md— rule listdocs/usage.md— generated install and transport guidedocs/tools.md— generated tool schemas and annotations
License
MIT — see LICENSE / NOTICE (Spector.js heritage noted where applicable).
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityBmaintenanceA Chrome DevTools Protocol-based MCP server that enables AI coding assistants to control browsers for JavaScript debugging, reverse engineering, web scraping, and API debugging.9461Apache 2.0
- Alicense-qualityCmaintenanceMCP server for browser debugging, inspection, and verification that streams console logs, network errors, and user actions into AI coding assistants.65AGPL 3.0
- AlicenseAqualityAmaintenanceAn MCP server that connects AI agents to a running Chrome tab via the Chrome DevTools Protocol (CDP), enabling runtime debugging and page inspection.213801ISC
- FlicenseBqualityCmaintenanceMCP server for RenderDoc that enables AI assistants to analyze GPU frame captures (.rdc files) for graphics debugging and performance analysis, with 42 tools covering the full RenderDoc workflow.6
Related MCP Connectors
Live browser debugging for AI assistants — DOM, console, network via MCP.
Agent Replay Debugger MCP — record every agent step + deterministic replay. Step-debugger for
A paid remote MCP for AI agent browser DevTools MCP, built to return verdicts, receipts, usage logs,
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/sakitam-fdd/spector-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server