VAAST
v0.1.2Read-only access to VAAST vulnerability scan findings, workspaces, and targets for AI agents
vaast-mcp is a Model Context Protocol server that forwards requests to a locally running VAAST application. It provides AI agents (Claude, Cursor, etc.) with read-only access to your scan findings, workspaces, and targets. All tools are read-only. No scanning, installation, or deletion capabilities. 1. VAAST installed and running — Download from xtrinel.com 2. MCP server started in VAAST — Navigate to Integrations → MCP Server → Start 3. Node.js 18+ — For running the shim
Summary extracted from the README.
vaast-mcp
Read-only MCP server shim for VAAST — gives AI agents secure, local-only access to your VAAST vulnerability data.
What is this?
vaast-mcp is a Model Context Protocol server that forwards requests to a locally running VAAST application. It provides AI agents (Claude, Cursor, etc.) with read-only access to your scan findings, workspaces, and targets.
Security Model
- Local only: Connects only to
127.0.0.1— never touches the network - Read-only: No scan launching, no deletion, no modification. The shim enforces this itself with an allowlist of the four tools below (
src/tools.ts); any other tool is hidden fromtools/listand rejected without being forwarded to VAAST - Your data stays local: All queries run against your local VAAST SQLite database
- Bearer token auth: Token regenerated per VAAST session, read from
~/.vaast/mcp.json - No data exfiltration: The shim itself only talks to
127.0.0.1; any account data (such aslist_targets) is fetched by the VAAST app, not the shim
Available Tools
| Tool | Description |
|---|---|
list_workspaces |
List all VAAST workspaces (local SQLite) |
get_findings |
Get scan findings for a workspace |
get_scan_status |
Get current scan status |
list_targets |
List registered scan targets (fetched by the VAAST app from your Xtrinel account) |
All tools are read-only. No scanning, installation, or deletion capabilities.
Prerequisites
- VAAST installed and running — Download from xtrinel.com
- MCP server started in VAAST — Navigate to Integrations → MCP Server → Start
- Node.js 18+ — For running the shim
Setup
Claude Code
claude mcp add vaast -- npx -y @xtrinel/vaast-mcp
For a local build, use claude mcp add vaast -- node /path/to/vaast-mcp/dist/index.js instead.
Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
From npm:
{
"mcpServers": {
"vaast": {
"command": "npx",
"args": ["-y", "@xtrinel/vaast-mcp"]
}
}
}
Local build:
{
"mcpServers": {
"vaast": {
"command": "node",
"args": ["/absolute/path/to/vaast-mcp/dist/index.js"]
}
}
}
Cursor
Add to Cursor's MCP settings:
{
"mcpServers": {
"vaast": {
"command": "npx",
"args": ["-y", "@xtrinel/vaast-mcp"]
}
}
}
VS Code (Continue extension)
Add to ~/.continue/config.json:
{
"mcpServers": [
{
"name": "vaast",
"command": "npx",
"args": ["-y", "@xtrinel/vaast-mcp"]
}
]
}
Testing
Manual Test with MCP Inspector
# Build the shim
cd vaast-mcp
npm install
npm run build
# Start VAAST and enable MCP server first!
# Test with inspector
npx @modelcontextprotocol/inspector node dist/index.js
Expected Behavior
When VAAST MCP server is running:
- Shim connects successfully
- Tools are listed (4 tools)
- Tool calls return data from local VAAST database
When VAAST MCP server is NOT running:
- Error:
Failed to read VAAST MCP session file at ~/.vaast/mcp.json - Clear instructions to start VAAST MCP server first
How It Works
- VAAST starts an MCP server on
127.0.0.1:<random-port>when you click Start - VAAST writes
~/.vaast/mcp.jsonwith the port and a session bearer token - Your AI agent launches
vaast-mcpas a subprocess vaast-mcpreads the session file and forwards MCP requests via HTTP to VAAST- VAAST validates the token and returns data from your local SQLite database
Troubleshooting
Error: Failed to read VAAST MCP session file
Cause: VAAST MCP server is not running.
Fix: Open VAAST → Integrations → MCP Server → Start
Connection refused / HTTP errors
Cause: VAAST MCP server stopped or crashed.
Fix: Restart the MCP server in VAAST.
Tools not appearing in AI agent
Cause: MCP config incorrect or agent needs restart.
Fix:
- Verify config points to correct command/path
- Restart your AI agent (Claude Desktop, Cursor, etc.)
- Check agent's MCP logs for errors
Development
# Clone and install
git clone https://github.com/Xtrinel-Group/vaast-mcp.git
cd vaast-mcp
npm install
# Build
npm run build
# Test locally (see Local development config above)
node dist/index.js
License
Apache-2.0 — See LICENSE
Security
See SECURITY.md for vulnerability disclosure policy.
Made by Xtrinel — Offensive security tools for AI applications.