MCP Config Access
- Category
- Agent Snooping
- Confidence
- 90% confidence
- Finding
Skill accesses MCP server configuration files (such as mcp.json or claude_desktop_config.json). MCP configs contain server URLs, authentication tokens, and tool definitions — reading them allows the skill to discover and potentially abuse other tool integrations.
- Content
md | 客户端 | 模板 | 如何填写鉴权 | | --- | --- | --- | | Cursor 等支持远程 HTTP 的客户端 | `mcp.json` | 在私有 MCP 设置中,将占位符替换为复制出的 `headers.Authorization` 原值。若通过表单添加,选择 HTTP,分别填写 URL 和请求头。 | | Claude Code | `mcp.claude-code.json` | 使用 HTTP 配置;让启动 Claude Code 的进程获得环境变量 `ZZB_MCP_DEVICE_TOKEN`。模板从该变量读取请求头。 | | Codex | `mcp.codex.toml` | 把服务段合并进用户的 `.codex/config.toml`,并向 Codex 进程提供同名环境变量。模板映射原始 `Authorization` 头,不使用 Bearer 模式。 | | DeepSeek 的 MCP 宿主 | `mcp.deepseek.json` | 按示例包的 JSON 结构提供;不同宿主格式可能不同。若支持自定义 Header,在私有设置中替换占位符;若不支持远程 HTTP 或请求头,此模板不能直接使用。 |
