scan_mcp_server
Audit a local MCP server project for security risks and return a structured risk list before connecting it to your agent.
Instructions
审计一个 MCP server 项目(本地路径)的安全风险,返回结构化风险清单
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "scan_mcp_server"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | 要扫描的本地文件或目录的绝对路径 | |
| include_tests | No | 是否同时扫描测试/fixture 文件 |