Skip to content

Latest commit

 

History

History
83 lines (63 loc) · 2.68 KB

File metadata and controls

83 lines (63 loc) · 2.68 KB

ZeroPath Security Compass MCP Server

An MCP server that exposes ZeroPath's Security Compass (SD Elements) integration tools to AI assistants (Claude Desktop, Cursor, Windsurf, and any other MCP-compatible client).

This server is a thin proxy: each tool call forwards to the corresponding v1 tRPC procedure on the ZeroPath frontend, authenticated with your ZeroPath API token. The server runs on your machine and connects to ZeroPath via HTTPS.

If you're looking for the general-purpose ZeroPath MCP (issues, patches, scans), see zeropath-mcp-server. This package is dedicated to the SC integration only.

Tools

Tool Purpose
securityCompass.getIntegration Read the configured SDE integration and all project-to-repo mappings
securityCompass.upsertIntegration Create or update the SDE integration (base URL + API token)
securityCompass.testConnection Validate SDE credentials against a specific project
securityCompass.addProjectMapping Link an SDE project to a ZeroPath repository
securityCompass.removeProjectMapping Detach a project-to-repo mapping
securityCompass.syncRules Trigger a rule sync for one mapping
securityCompass.getMappingAudit Read the per-task coverage breakdown for a mapping
securityCompass.getSyncHistory Read recent SC audit-log events

Installation

The recommended way is via uvuvx will download the package on first use and cache it for subsequent invocations.

Claude Desktop / Cursor / Windsurf

Add this to your MCP client's configuration:

{
  "mcpServers": {
    "zeropath-securitycompass": {
      "command": "uvx",
      "args": ["securitycompass-mcp"],
      "env": {
        "ZEROPATH_TOKEN_ID": "<your-api-token-id>",
        "ZEROPATH_TOKEN_SECRET": "<your-api-token-secret>",
        "ZEROPATH_ORG_ID": "<your-organization-id>"
      }
    }
  }
}

Generate an API token at https://zeropath.com/app/settings/api-tokens.

Configuration

Variable Required Default Description
ZEROPATH_TOKEN_ID yes API token id
ZEROPATH_TOKEN_SECRET yes API token secret
ZEROPATH_ORG_ID recommended Default organization id (auto-injected when tools omit it)
ZEROPATH_BASE_URL no https://zeropath.com Override for self-hosted deployments

If ZEROPATH_ORG_ID is not set, every tool call must include organizationId in its arguments.

Development

uv venv
uv pip install -e ".[dev]"
python -m securitycompass_mcp

Run tests:

uv run pytest

License

MIT