A
arif-js/agentsensor
Zero-config dev server & browser runtime error sensor for AI coding agents (Claude Code, Codex, Cursor, Antigravity) via MCP.
无 SECURITY.md
在 GitHub 查看 ↗链接已于 2026-11-12 核查 · HTTP 200 · 打开的是厂商自己的官网
安装与配置
- 复制上面的命令
- 粘成
claude_desktop_config.json里mcpServers的一项(本地服务器用 command + args,示例见 客户端接法) - 重启客户端
客户端配置(取自该仓库的安装命令)
{
"mcpServers": {
"arif-js-agentsensor": {
"command": "npx",
"args": ["-y", "agentsensor-mcp"]
}
}
}解析自我们于 2026-10-26 抓取的该仓库 README;我们未执行过。
command/args 来自仓库写明的安装命令;不确定时请以该项目 README 为准。
VS Code(.vscode/mcp.json —— 键名是 servers)
{
"servers": {
"arif-js-agentsensor": {
"command": "npx",
"args": ["-y", "agentsensor-mcp"]
}
}
}VS Code 顶层键是 <code>servers</code>,其余与上面那份相同。
Claude Code(命令行)
claude mcp add --transport stdio arif-js-agentsensor -- npx -y agentsensor-mcp
Claude Code 不收 JSON 文件,用这条命令直接加。
配置项的键名以你的客户端为准:客户端与 CLI
- ★ 数取值
- 0 ★ · arif-js/agentsensor · 取自 GitHub 搜索 API · (2026-11-13 20:00:50 核对)
- 来源明细
- 收录自 punkpeye/awesome-mcp-servers 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
- 收录与活跃
- 收录于 2026-10-23 · 最近见到 2026-11-14 · 共见到 26 次 · 被 23 个来源列出
- 评分构成
- 综合分 2,300 · 23 个来源 · mcp
- 安装
npx -y agentsensor-mcp
常见问题(答案都来自我们的记录)
怎么安装?
该仓库给出的安装命令是
npx -y agentsensor-mcp。我们的记录里它是仓库自己提供的;不保证在你的客户端上直接可用。它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库
arif-js/agentsensor;我们收录于 2026-10-23;最近见到 2026-11-14。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。# AgentSensor
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
Zero-config runtime & browser error sensor for AI coding agents.
Wrap your dev server with one command, then let Claude Code, Codex, Cursor, Antigravity, or any MCP client see the real crashes from your terminal and browser — mapped to the exact file and line, with zero copy-paste.
What it does · Supported stack · Demo · Quick start · MCP tools · How it works · Contributing
> Status: pre-release (0.1). Expect rapid improvements before 1.0.
## What it does
⚡ Zero code changes: wrap your existing dev script (agentsensor run -- npm run dev). No SDK imports, no middleware, no config files.
🌐 Captures both server and browser crashes: intercepts backend runtime exceptions, bundler compilation errors, and in-browser exceptions (window.onerror, unhandledrejection, React component errors).
🎯 Source-mapped to your real code: automatically enables --enable-source-maps, strips monorepo runner prefixes, collapses nodemodules noise, and maps browser URLs back to exact workspace files.
📋 Live open vs resolved status board: maintains .agentsensor/status.json so fixed errors from earlier sessions never confuse the agent — while automatically reopening an error if it ever happens again.
🤖 Automatic agent triggering: sends MCP server instructions so connected agents check getruntimeerrors first whenever you report a bug or crash.
🔒 100% local: no accounts, no cloud, no telemetry, no background daemons.
AgentSensor doesn't guess fixes — it gives your coding agent the exact runtime reality (error type, message, source-mapped file:line:column, and the 30 log lines leading up to the crash) so the agent fixes the real bug on the first try.
## Supported stack
AgentSensor currently supports the Node.js, JavaScript, and TypeScript ecosystem:
| Layer | Supported | Details |
| Runtimes | Node.js (>=18.17) | JavaScript & TypeScript |
| Frontend & SSR | Next.js, Vite, Remix, Storybook | Dev server builds & browser crashes (window.onerror, unhandledrejection, React console.error) |
| Backend | Express, Fastify, NestJS, Koa, Node CLI scripts | V8 exceptions, unhandled promise rejections, source-mapped stack traces |
| Compilers & Bundlers | tsc, Turbopack, Webpack, esbuild, Babel | Build-time errors, type errors, syntax crashes |
| Monorepos | pnpm, Turborepo, Nx | Strips runner prefixes, maps local package paths |
> [!NOTE]
> Non-Node runtimes (Python, Go, Rust): Not supported yet. Dedicated runtime hooks and stack trace parsers for these languages are planned for upcoming releases.
## Demo
Run your dev server through agentsensor:
sh
npx -y agentsensor-mcp run -- npm run dev
When your app or browser throws an error, just talk to your assistant naturally:
> You: The checkout page just crashed — fix it.
> Claude: (calls getruntimeerrors → geterrordetail)
> Found OPEN error [9e84385bb1]: TypeError: Cannot read properties of undefined (reading 'code') at src/checkout/total.ts:17:38.
> I added a guard for optional coupon in calculateTotalCents and called checkfix — error [9e84385bb1] is now marked resolved in .agentsensor/status.json.
## Who it's for
Developers using AI coding agents: stop acting as the manual copy-paste bridge between terminal errors, Chrome DevTools, and chat windows (Claude Code, Codex, Antigravity, Cursor, Windsurf, Copilot).
Wrap your dev server with one command, then let Claude Code, Codex, Cursor, Antigravity, or any MCP client see the real crashes from your terminal and browser — mapped to the exact file and line, with zero copy-paste.
What it does · Supported stack · Demo · Quick start · MCP tools · How it works · Contributing
> Status: pre-release (0.1). Expect rapid improvements before 1.0.
## What it does
⚡ Zero code changes: wrap your existing dev script (agentsensor run -- npm run dev). No SDK imports, no middleware, no config files.
🌐 Captures both server and browser crashes: intercepts backend runtime exceptions, bundler compilation errors, and in-browser exceptions (window.onerror, unhandledrejection, React component errors).
🎯 Source-mapped to your real code: automatically enables --enable-source-maps, strips monorepo runner prefixes, collapses nodemodules noise, and maps browser URLs back to exact workspace files.
📋 Live open vs resolved status board: maintains .agentsensor/status.json so fixed errors from earlier sessions never confuse the agent — while automatically reopening an error if it ever happens again.
🤖 Automatic agent triggering: sends MCP server instructions so connected agents check getruntimeerrors first whenever you report a bug or crash.
🔒 100% local: no accounts, no cloud, no telemetry, no background daemons.
AgentSensor doesn't guess fixes — it gives your coding agent the exact runtime reality (error type, message, source-mapped file:line:column, and the 30 log lines leading up to the crash) so the agent fixes the real bug on the first try.
## Supported stack
AgentSensor currently supports the Node.js, JavaScript, and TypeScript ecosystem:
| Layer | Supported | Details |
| Runtimes | Node.js (>=18.17) | JavaScript & TypeScript |
| Frontend & SSR | Next.js, Vite, Remix, Storybook | Dev server builds & browser crashes (window.onerror, unhandledrejection, React console.error) |
| Backend | Express, Fastify, NestJS, Koa, Node CLI scripts | V8 exceptions, unhandled promise rejections, source-mapped stack traces |
| Compilers & Bundlers | tsc, Turbopack, Webpack, esbuild, Babel | Build-time errors, type errors, syntax crashes |
| Monorepos | pnpm, Turborepo, Nx | Strips runner prefixes, maps local package paths |
> [!NOTE]
> Non-Node runtimes (Python, Go, Rust): Not supported yet. Dedicated runtime hooks and stack trace parsers for these languages are planned for upcoming releases.
## Demo
Run your dev server through agentsensor:
sh
npx -y agentsensor-mcp run -- npm run dev
When your app or browser throws an error, just talk to your assistant naturally:
> You: The checkout page just crashed — fix it.
> Claude: (calls getruntimeerrors → geterrordetail)
> Found OPEN error [9e84385bb1]: TypeError: Cannot read properties of undefined (reading 'code') at src/checkout/total.ts:17:38.
> I added a guard for optional coupon in calculateTotalCents and called checkfix — error [9e84385bb1] is now marked resolved in .agentsensor/status.json.
## Who it's for
Developers using AI coding agents: stop acting as the manual copy-paste bridge between terminal errors, Chrome DevTools, and chat windows (Claude Code, Codex, Antigravity, Cursor, Windsurf, Copilot).
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[](https://anclum.com/zh/s/arif-js-agentsensor/)
- 来源
- awesome · https://github.com/arif-js/agentsensor
- 按领域浏览
- MCP 服务
- 收录来源
- 23 个独立来源
- 收录于
- 今天
- 安全策略
- 我们没在该仓库根目录找到
SECURITY.md(这不代表不安全)
同类推荐
所属领域与标签
每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。