An MCP server that provides interaction with StackHawk's security scanning platform.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Current Version: 1.2.5 Requires Python 3.10 or higher
A Model Context Protocol (MCP) server for integrating with StackHawk's security scanning platform. Helps developers set up StackHawk, run security scans, and triage findings to fix vulnerabilities β all from within an LLM-powered IDE or chat.
stackhawk.ymlUser-Agent headerOr Install via pip in a virtual env:
Or Install via pip using pyenv:
Or Install locally from this repo:
StackHawk MCP can be used as a tool provider for AI coding assistants and LLM-powered developer environments, enabling security scanning setup, YAML validation, and vulnerability triage directly in your workflow.
stackhawk-mcp in your python environment.Cursor Settings->Tools & Integrations->MCP Tools~/.virtualenvs/mcp:
Validate this StackHawk YAML config for errors.StackHawk can be added to the GitHub Coding Agent as an MCP server or as its own GitHub Custom Agent.
You can add StackHawk MCP to the GitHub Copilot Coding Agent. This gives the agent all the stackhawk/ tools.
StackHawk MCP installation into the Coding Agent
General instructions on GitHub
For StackHawk MCP, the MCP Configuration JSON should look something like this:
Then in the Repository's Settings->Environments->copilot->Environment Secrets, add COPILOT_MCP_STACKHAWK_API_KEY with your StackHawk API Key.
Installation verification instructions
You can the StackHawk Onboarding Agent as a custom agent at the enterprise, organization, or repository level in GitHub. When added, the StackHawk Onboarding Agent becomes a selectable option in the Copilot Agent Chat with context to help with onboarding, plus it installs stackhawk-mcp so the agent has access to all of those tools.
StackHawk Onboarding Agent installation
The general approach is to take the StackHawk Onboarding Agent defintion and apply it to either the desired repository, enterprise, or organization in GitHub.
Note that the mcp-servers block in the StackHawk Onboarding Agent definition references an environment variable called COPILOT_MCP_STACKHAWK_API_KEY. Go to the Repository's Settings->Environments->copilot->Environment Secrets, add COPILOT_MCP_STACKHAWK_API_KEY with your StackHawk API Key.
User-Agent header:
stackhawk_mcp/server.py as STACKHAWK_MCP_VERSION.STACKHAWK_API_KEY environment variable.The MCP server exposes 7 tools organized around the developer workflow:
| Phase | Tool | Description |
|---|---|---|
| Discover | get_organization_info | Get org details, teams, and applications |
| Discover | list_applications | List applications in an organization |
| Setup | setup_stackhawk_for_project | Detect language, find/create app, generate stackhawk.yml |
| Validate | validate_stackhawk_config | Validate YAML against the official StackHawk schema |
| Validate | validate_field_exists | Check if a field path is valid in the schema (anti-hallucination) |
| Scan | run_stackhawk_scan | Run a StackHawk scan via the CLI (returns install help if CLI is missing) |
| Triage | get_app_findings_for_triage | Get findings at/above the configured failure threshold |
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/stackhawk)<a href="https://allmcps.com/mcp/stackhawk"><img src="https://allmcps.com/api/badge/stackhawk?style=directory" alt="Stackhawk on AllMCPs" /></a>