# PerspectiveGraph [Health: Active]

**Category:** 🔒 Security  
**Repository:** https://github.com/luiacuaniello/perspectivegraph  
**GitHub Stars:** 10  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/perspectivegraph

## Description
Read-only attack-path tools: reachable routes to sensitive assets, and what a fix would cut.

## Claude Desktop Quick Installation
Remote MCP endpoint (confidence: high). Install path detected from listing signals. Add as a URL/SSE server in your client:

```json
"mcpServers": {
  "perspectivegraph": {
    "url": "https://api.scorecard.dev/projects/github.com/luiacuaniello/perspectivegraph/badge"
  }
}
```

## Documentation

## What PerspectiveGraph does

PerspectiveGraph analyzes how an attacker could move from an internet-facing entry point to sensitive data. It combines scanner findings from Trivy, Semgrep, Cloud Custodian, and Falco with information from AWS accounts and Kubernetes clusters. The resulting graph shows each route, the permissions or infrastructure relationships that connect its hops, and the change that would close the route.

The MCP interface lets an AI agent ask the engine for these findings rather than reasoning from scan output alone. Its tools are read-only, so querying the analysis does not modify the connected environment.

## How it works

Run the `perspectivegraph mcp` command and point it at a PerspectiveGraph API endpoint with `--api`. The MCP process then provides the engine's analysis to a compatible client. For example:

```bash
perspectivegraph mcp --api https://demo.a3thinker.it
```

The public demo uses sample data and does not require credentials. A self-hosted deployment can analyze connected AWS accounts and Kubernetes clusters using the project's other ingestion and deployment options.

PerspectiveGraph builds routes from existing security evidence and cloud configuration. Its analysis can prioritize findings by their practical position in a route: for example, a vulnerable container matters more when it is publicly reachable and has permissions to read a production database.

## Tools and capabilities

- Query reachable attack paths leading to sensitive assets.
- Inspect the individual hops and relationships in a route.
- Use `simulate_fix` to remove proposed edges and see what paths change.
- Ask read-only questions against the PerspectiveGraph analysis engine through MCP.

## Setup and configuration

Install or build the `perspectivegraph` command, then start its MCP mode with the API URL. The repository also provides a public read-only demo for trying the interface without deploying the system. For local experimentation, the project’s demo can be started with Docker, `jq`, and `curl` using `make demo`; its dashboard is served at `http://localhost:3000`.

Self-hosted deployments are available through the published Kubernetes Helm chart or a Docker-based single-VM setup. Production installations require authentication by default. Keep the unauthenticated demo on a local machine.

## Limitations and notes

The MCP tools expose analysis results; they do not validate an attack by changing resources. PerspectiveGraph’s scores are not calibrated, so they should be interpreted as conclusions from the available evidence rather than measured probabilities. The project tests engine behavior against CloudGoat-style scenarios and AWS labs, but those results do not establish accuracy for every estate.

The public demo uses seeded sample data, not a connected production environment. When using a self-hosted instance, the usefulness of the returned paths depends on the scanner results and cloud or cluster data supplied to the engine.

_Full upstream README: https://allmcps.com/mcp/perspectivegraph/readme_

