Skip to main content

Add your description here

Project description

ZeroPath MCP Server

Interact with your product security findings using natural language.

This open-source MCP server allows developers to query SAST issues, secrets, patches, and more from ZeroPath directly inside AI-assisted tools like Claude Desktop, Cursor, Windsurf, and other MCP-compatible environments.

No dashboards. No manual ticket triage. Just security context where you're already working.


Blog Post

Learn more about why we built this and how it fits into the evolving AI development ecosystem:

📄 Chat With Your AppSec Scans: Introducing the ZeroPath MCP Server


Installation

1. Generate API Key

Generate an API key from your ZeroPath organization settings at https://zeropath.com/app/settings/api

2. Configure Environment Variables

Set up your environment variables with the API key:

export ZEROPATH_TOKEN_ID=your_token_id
export ZEROPATH_TOKEN_SECRET=your_token_secret

3. Retrieve Your Organization ID

Run the following command to get your organization ID:

curl -X POST https://zeropath.com/api/v1/orgs/list \
    -H "X-ZeroPath-API-Token-Id: $ZEROPATH_TOKEN_ID" \
    -H "X-ZeroPath-API-Token-Secret: $ZEROPATH_TOKEN_SECRET" \
    -H "Content-Type: application/json" \
    -d '{}'

4. Install uv

We use uv for dependency management:

curl -LsSf https://astral.sh/uv/install.sh | sh

5. Clone and Setup

git clone https://github.com/ZeroPathAI/zeropath-mcp-server.git
cd zeropath-mcp-server
uv sync
export ZEROPATH_ORG_ID=your_org_id

Configuration

Add this entry to your MCP config (Claude Desktop, Cursor, etc.):

{
  "mcpServers": {
    "zeropath-mcp-server": {
      "command": "uv",
      "args": [
        "run",
        "--project",
        "<absolute cloned directory path>/zeropath-mcp-server",
        "<absolute cloned directory path>/zeropath-mcp-server/main.py"
      ]
    }
  }
}

Replace <absolute cloned directory path> with the absolute path to the repo.


Environment Variables

Before running the server, export the following:

export ZEROPATH_TOKEN_ID=your_token_id
export ZEROPATH_TOKEN_SECRET=your_token_secret
export ZEROPATH_ORG_ID=your_org_id

These can be generated from your ZeroPath dashboard.


Available Tools

Once connected, the following tools are exposed to your AI assistant:

search_vulnerabilities(search_query: str)

Query SAST issues by keyword.

Prompt example:

"Show me all SSRF vulnerabilities in the user service."


get_issue(issue_id: str)

Fetch full metadata, patch suggestions, and code context for a specific issue.

Prompt example:

"Give me the details for issue abc123."


approve_patch(issue_id: str)

Approve a patch (write action). Optional depending on your setup.

Prompt example:

"Approve the patch for xyz456."


Development Mode

Use ./dev_mode.bash to test the tools locally without a client connection.


Contributing

We welcome contributions from the security, AI, and developer tools communities.

  • Found a bug? Open an issue
  • Want to improve a tool or add a new one? Submit a pull request
  • Have feedback or questions? Join us on Discord

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mseep_zeropath_mcp_server-0.1.1.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mseep_zeropath_mcp_server-0.1.1-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file mseep_zeropath_mcp_server-0.1.1.tar.gz.

File metadata

File hashes

Hashes for mseep_zeropath_mcp_server-0.1.1.tar.gz
Algorithm Hash digest
SHA256 c945c7ee9d26b457b248f8b5cf4f5d942832e432e5d719ae39cfd0892857547e
MD5 8dedc3585455a38cdfb1ceaf86130df5
BLAKE2b-256 ced898cef7eab1d0d7f89f27ff9a24a8162b50e21606c79efe850c571eca5558

See more details on using hashes here.

File details

Details for the file mseep_zeropath_mcp_server-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for mseep_zeropath_mcp_server-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 60185b9d530f347ef4f37cbf7f42fdf44aef0dc56bfd89f9a6475dc8799cb4f7
MD5 6324a8a26ac8bc1dc5d0d5a21f4f3afe
BLAKE2b-256 e6df1ce15f2423d98188a44a63cbbec5c7076298e7a4305f837cb9f9901cfb85

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page