
Ai Context Inspector
io.github.cocaxcode由 GitHub 账号 cocaxcode 发布v0.4.9更新于 Oct 24, 2026
Scan, export, and import your AI ecosystem. Discover MCP servers, skills, and memories.
概览
一个本地 MCP 服务器,扫描项目中的 AI 工具配置、MCP 服务器、技能、代理与记忆,并可在七种 AI 工具之间导出和导入。
- 可以做什么
- 扫描项目目录(可选包含用户级配置),发现 19 种工具的 AI 上下文文件、MCP 服务器配置、技能、代理和持久记忆,并可选实时连接 MCP 服务器列出其工具、资源和提示。根据扫描结果生成独立的 HTML 仪表板或原始 JSON 报告。将整个生态导出为可移植的打包文件,可按类别筛选,并选择脱敏、包含或按变量选择密钥。将打包文件导入目标工具(Claude、Cursor、Windsurf、Copilot、Gemini、Codex、OpenCode),自动适配路径和配置格式,默认以试运行方式执行。
- 适用场景
- 适合需要让助手盘点项目已有的 AI 工具与配置、比较不同工具的设置,或在 AI 工具之间迁移 MCP 服务器、规则、技能和代理的场景。
- 运行要求
- 通过 npx 以 Node.js 本地进程运行(stdio 传输,使用 --mcp 参数启动)。未声明需要账户、API 密钥或环境变量。仅在下载软件包以及启用实时探测时访问 HTTP/SSE MCP 服务器时需要网络。
安装
在 SourceWeft 中
- 打开 控制台中的 Ai Context Inspector,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
@cocaxcode/ai-context-inspector
One command. Every AI config in your project. Instantly.
CLI + MCP server · 19 tools detected · Export/Import across 7 targets
[npm version] [npm downloads] [License] [Node] [19 AI tools]
Quick Start · MCP Server · What It Detects · Features · Tool Reference · Architecture
The most comprehensive AI ecosystem scanner available. AI Context Inspector discovers every AI configuration file, MCP server, custom skill, agent, and persistent memory in your project — across 19 tools — and gives you the full picture in seconds. Export your entire AI setup and import it into any of 7 supported tools (Claude, Cursor, Windsurf, Copilot, Gemini, Codex, OpenCode) with automatic secret redaction. Zero config. Zero runtime dependencies beyond MCP SDK and Zod. Everything runs locally — your configs and credentials never leave your machine.
Quick Start
That's it. An HTML dashboard opens with everything your AI tools know about your project.
All CLI flags
MCP Server Setup
Run as an MCP server so your AI tools can inspect their own ecosystem.
Claude Code
Claude Desktop
Add to claude_desktop_config.json:
Cursor / Windsurf / VS Code / Codex CLI
Cursor / Windsurf — add to .cursor/mcp.json or equivalent:
VS Code — add to .vscode/mcp.json:
Codex CLI:
Or add directly to any .mcp.json:
What It Detects
Tip: Pass
--userto also scan user-level configs:~/.claude/,~/.gemini/,~/.codex/,~/.continue/,~/.aider.conf.yml,~/.augment/,~/.github/agents/,~/.codeium/,~/.opencode/,~/.tabnine/.
Beyond context files, the scanner also detects:
- MCP servers from
.mcp.json,~/.claude.json,.vscode/mcp.json, Claude Desktop config — with optional live introspection - Custom skills in
.claude/skills/(including symlinks fromnpx skills add) - Custom agents in
.claude/agents/with memory detection - Persistent memories — Claude Memory, agent memory, engram, OpenSpec, ATL
Features
Scan
Generates a self-contained HTML dashboard with dark/light mode, search, collapsible sections, file previews, and color-coded tool badges. Pass --json for raw output.
Export
Export flags
Import
Import flags
Supported Import Targets
Note: Secrets handling has three modes: none (redact all — safe for sharing), all (include as-is), or interactive (prompt per variable, CLI default). Environment variables in MCP configs are detected automatically.
MCP Tool Reference
When running as an MCP server (--mcp), five tools are exposed:
scan
Discover the complete AI ecosystem in a project directory.
introspect_mcp
Connect to a specific MCP server and list its tools, resources, and prompts.
*Either command (stdio) or url (http) is required.
generate_report
Generate a standalone HTML dashboard from scan results.
export_ecosystem
Export the complete AI ecosystem to a portable .aci/bundle.json.
import_ecosystem
Import a bundle into a project, adapting configuration to the target tool.
Warning:
import_ecosystemdefaults to dry-run mode (confirm: false). Setconfirm: trueto actually write files.
Architecture
Stack: TypeScript 5 (strict, ESM) / MCP SDK / Zod / tsup / Vitest
来源:README.md,提交 2e12a55
工具
0版本历史
1- v0.4.9最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分