
DevTool MCP
io.github.standardbeagle由 GitHub 账号 standardbeagle 发布v0.3.1更新于 Oct 27, 2026
Development tooling MCP server with process management, proxy, and frontend diagnostics
概览
本地 MCP 服务器,把 AI 编程助手连接到开发中的浏览器:反向代理、截图、DOM 检查、错误日志、审计与隧道。
- 可以做什么
- 检测项目类型,运行并管理开发脚本与后台进程
- 启动反向代理,执行注入的浏览器诊断:截图、元素检查、无障碍检查、点击上下文
- 查询代理日志中的 HTTP 流量、JavaScript 错误、截图、草图与面板消息
- 执行响应式布局、API 效率、加载体验、视觉回归快照及综合评分审计
- 管理隧道(Cloudflare、ngrok、Tailscale)、开发用 OIDC 测试身份与后台守护进程
- 适用场景
- 适合助手在修改 Web 前端后需要看到实际页面效果的场景:可视化调试、布局与无障碍检查、捕获前端错误、移动端或远程设备测试,以及 AI 辅助开发中的界面评审。
- 运行要求
- 以 stdio 本地进程运行,命令带 mcp 参数;需要 Node.js 18+ 或 Go 1.24+(技能安装器还需 npx)。需要一个可代理的开发服务器或静态站点,配置写在项目根目录的 .agnt.kdl 文件中。未声明认证方式或环境变量。
安装
在 SourceWeft 中
- 打开 控制台中的 DevTool MCP,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
agnt
Give your AI coding agent browser superpowers.
[Go Version] [MCP] [npm] [PyPI] [License]
What is agnt?
agnt is a new kind of tool designed for the age of AI-assisted development. It acts as a bridge between your AI coding agent and the browser, extending what's possible during vibe coding sessions.
When you're in the flow with Claude Code, Cursor, or other AI coding tools, agnt lets your agent:
- See what you see - Screenshots, DOM inspection, and visual debugging
- Hear from you directly - Send messages from the browser to your agent
- Sketch ideas together - Draw wireframes directly on your UI
- Debug in real-time - Capture errors, network traffic, and performance metrics
- Test on any device - Tunnel to phones and BrowserStack with full instrumentation
- Extend its thinking window - Structured data uses fewer tokens than your descriptions
Demo
Three rounds of blind terminal automation can't fix a button that's half off-screen. One pass with eyes on the live page can — full demo (1:40).
Draw wireframes directly on your running app, then send them to your AI agent
The Vision: Extending Your Agent's Capabilities
Traditional AI coding assistants are blind to what's happening in the browser. They can write code, but they can't:
- See the visual result of their changes
- Know when JavaScript errors occur
- Understand layout issues you're experiencing
- Receive feedback without you typing it out
agnt changes this. It creates a bidirectional channel between your browser and your AI agent:
Quick Start
Installation
npm (recommended):
pip/uv:
From source:
As MCP Server (Claude Code, Cursor, etc.)
Add to your MCP configuration:
Or install as a Claude Code plugin:
One-shot: agnt skills — install the agnt agent skills and register the
MCP server in a single command. It uses Vercel's open skills CLI
to fetch the skills, then wires up MCP:
Under the hood it runs npx -y skills add standardbeagle-tools/agnt --all -a claude-code, then claude mcp add agnt -s user -- agnt mcp (for other agents
it prints the MCP config to add). Requires Node.js (npx) on PATH.
As PTY Wrapper (Enhanced Terminal)
Wrap your AI tool for overlay features:
This adds a terminal overlay menu (Ctrl+P) and enables the browser-to-terminal message bridge.
First-Run Setup (auto-configures a new project)
The first time you run agnt run claude in a project that has no .agnt.kdl,
agnt drives a one-time setup run before your coding session:
Most projects never reach the setup phase: agnt first tries a deterministic
auto-config and writes .agnt.kdl itself when the project shape is
unambiguous. Recognised out of the box:
Detection accumulates: a .NET solution with a compose file gets dotnet
test/build plus the compose topology. Test, lint, and build commands for Go,
Node, Python, Ruby, PHP, Elixir, and .NET are registered as on-demand scripts.
Known ports are written as fallback-port so the proxy exists before the first
request. Edit the generated file freely; changes apply live.
Only when auto-config cannot decide does the setup phase run:
- Setup phase — Claude launches in setup mode and configures the project:
it detects the stack, registers your dev-server
script(s) and a reverse proxy, and writes a
.agnt.kdl. If theagnt:setup-projectskill isn't installed, Claude tells you the exact install step (/plugin marketplace add standardbeagle/agntthen/plugin install agnt). - Relaunch — when setup exits, agnt relaunches Claude into a normal coding session with autostart enabled, replaying your original arguments. Your dev servers and proxy come up automatically.
If you decline setup (no .agnt.kdl gets written), agnt records a timestamped
marker and won't nudge again until the re-nudge window elapses (default 7 days,
configurable via setup { renudge-ttl-days 7 } in .agnt.kdl). A successful
setup is remembered permanently.
Setup also works for other agents — each gets install instructions tailored to its own skill/command mechanism (see docs/agent-support-matrix.md).
agnt init — configure without launching a session
Prefer to set the project up on its own? agnt init runs only the setup phase
(no relaunch) and exits once .agnt.kdl is written:
A successful agnt init records the permanent marker too, so a later
agnt run skips straight to the coding session.
Channel Mode (Beta — Claude Code only)
Beta / Experimental: Channel mode requires a forked MCP SDK and a development flag in Claude Code. Behavior and schema may change.
Claude Code v2.1.80+ can receive real-time browser errors, diagnostics, and user interactions as push events in context -- without the PTY wrapper. Add channel { enabled true } to .agnt.kdl and launch with claude --dangerously-load-development-channels server:agnt. See the Channel Mode section in CLAUDE.md for full schema, event format, and the channel_reply tool for sending messages back to the browser overlay.
Core Features
1. Browser Superpowers
Start a proxy and your agent gains eyes into the browser:
Now your agent can:
2. The Floating Indicator
Every proxied page gets a small floating bug icon. Click it (or press Ctrl+Y) to open the developer panel: a drawer docked on the left that pushes your app aside. Drag its header to detach it into a floating window, drop it on either edge to dock it again, and drag its edge to resize. From the panel you can:
- Send messages directly to your AI agent
- Take screenshots of specific areas
- Select elements to log their details
- Open sketch mode for wireframing
No more alt-tabbing to describe what you see - just click and send.
3. Sketch Mode
Press the sketch button and draw directly on your UI:
- Rectangles, circles, arrows, and freehand drawing
- Wireframe elements: buttons, inputs, sticky notes
- Save and send to your agent with one click
Perfect for saying "I want a button here" or "this layout is wrong" without typing a word.
4. Real-Time Error Capture
JavaScript errors are automatically captured and available to your agent:
Your agent sees errors as they happen, not when you remember to mention them.
5. Extending the Thinking Window
Structured data consumes fewer tokens than natural language descriptions:
- Error summaries -
proxylog {types: ["error"]}vs. "I'm seeing a TypeError on line 42 that says..." - Click context -
interactions.getLastClickContext()vs. "I clicked the blue button in the header..." - DOM state -
inspect('#element')vs. "there's a div with some nested spans and..." - Consolidated stack traces - Pre-processed React error walls into actionable summaries
- Status at a glance - Structured JSON your agent can parse efficiently
Instead of dumping 100 lines of nested React errors into the context, agnt consolidates verbose output into concise, actionable data.
6. Sign In as Anyone
Declare test users in .agnt.kdl and agnt serves a dev OIDC issuer on your proxy. Switch between a standard user and an admin from the indicator's persona chip, :as admin in the terminal, or the devauth tool for your agent. No real IdP accounts involved.
Works over loopback, over your tailnet (bind "tailscale", identity from tailscale whois, served over HTTPS with the node's certificate when the tailnet issues one), and behind a named Cloudflare tunnel with Access verified at the origin. See Dev Sign-in & Protected Sharing.
MCP Tools
Browser API (50+ Functions)
The proxy injects window.__devtool with powerful diagnostics:
Element Inspection
Visual Debugging
Accessibility
Interactions
Sketch Mode
Responsive Mode
Scored Audits
Configuration
Create .agnt.kdl in your project root to auto-start scripts and proxies:
Browser-side error/diagnostic delivery to the agent is configured via alerts {}, not a toast/hook block — see docs/configuration.md.
Run /setup-project in Claude Code to interactively generate this configuration.
Framework-specific URL matchers:
Architecture
agnt uses a daemon architecture for persistent state:
Key design decisions:
- Lock-free concurrency with
sync.Mapand atomics - Bounded memory with ring buffers
- Processes and proxies survive client disconnections
- Zero-dependency frontend JavaScript
Documentation
Use Cases
- Vibe coding - Stay in flow while your agent sees everything
- Visual debugging - Show don't tell - sketch what's wrong
- Mobile testing - Tunnel your dev server for real device testing with Cloudflare/ngrok + BrowserStack integration
- Accessibility testing - Automated a11y audits during development
- Error tracking - Catch frontend errors before users do
- UI reviews - Annotate designs directly on the live app
- Remote collaboration - Share visual context with your agent
Requirements
- Node.js 18+ or Go 1.24+
- MCP-compatible AI assistant
Migrating from devtool-mcp
agnt is the new name for devtool-mcp. Existing users:
Update your MCP config to use agnt command with ["mcp"] args.
License
MIT
Contributing
Contributions welcome! See the documentation for architecture details.
来源:README.md,提交 30c7db3
工具
0版本历史
1- v0.3.1最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分