Attack-path engine for AWS and Kubernetes: lists routes from exposure to sensitive assets, explains hops and finds choke points.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add perspectivegraph --env API_TOKEN='<API_TOKEN>' -- docker run -i --rm -e API_TOKEN ghcr.io/luiacuaniello/perspectivegraph:v1.39.0 --api '{api_url}'~/.codex/config.toml
[mcp_servers.perspectivegraph]
command = "docker"
args = ["run", "-i", "--rm", "-e", "API_TOKEN", "ghcr.io/luiacuaniello/perspectivegraph:v1.39.0", "--api", "{api_url}"]
env = { API_TOKEN = "<API_TOKEN>" }
# codex mcp add perspectivegraph --env API_TOKEN='<API_TOKEN>' -- docker run -i --rm -e API_TOKEN ghcr.io/luiacuaniello/perspectivegraph:v1.39.0 --api '{api_url}'~/.cursor/mcp.json
{
"mcpServers": {
"perspectivegraph": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"API_TOKEN",
"ghcr.io/luiacuaniello/perspectivegraph:v1.39.0",
"--api",
"{api_url}"
],
"env": {
"API_TOKEN": "<API_TOKEN>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"perspectivegraph": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"API_TOKEN",
"ghcr.io/luiacuaniello/perspectivegraph:v1.39.0",
"--api",
"{api_url}"
],
"env": {
"API_TOKEN": "<API_TOKEN>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"perspectivegraph": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"API_TOKEN",
"ghcr.io/luiacuaniello/perspectivegraph:v1.39.0",
"--api",
"{api_url}"
],
"env": {
"API_TOKEN": "<API_TOKEN>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"perspectivegraph": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"API_TOKEN",
"ghcr.io/luiacuaniello/perspectivegraph:v1.39.0",
"--api",
"{api_url}"
],
"env": {
"API_TOKEN": "<API_TOKEN>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"perspectivegraph": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"API_TOKEN",
"ghcr.io/luiacuaniello/perspectivegraph:v1.39.0",
"--api",
"{api_url}"
],
"env": {
"API_TOKEN": "<API_TOKEN>"
}
}
}
}需要的环境变量
API_TOKEN
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。