Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,5 @@ WORKDIR /app
COPY . .
RUN pip install --no-cache-dir -r requirements.txt \
&& pip install fastapi uvicorn
EXPOSE 8080
# Default: run HTTP server
ENTRYPOINT ["uvicorn", "stackhawk_mcp.http_server:app", "--host", "0.0.0.0", "--port", "8080"]
# To run stdio: override entrypoint with
# docker run --entrypoint python ... -m stackhawk_mcp.server

ENTRYPOINT ["python", "-m", "stackhawk_mcp.server"]
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -347,3 +347,5 @@ Workflows are designed to skip jobs if the latest commit is an automated version
2. Select the "Prepare Release" workflow.
3. Click "Run workflow" and choose the desired bump type (minor or major).
4. The workflow will handle the rest!

[//]: # (mcp-name: stackhawk.com/stackhawk-mcp)
31 changes: 31 additions & 0 deletions server.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-07-09/server.schema.json",
"name": "stackhawk.com/stackhawk-mcp",
"description": "An MCP server that provides interaction with StackHawk's security scanning platform.",
"status": "active",
"repository": {
"url": "https://github.com/stackhawk/stackhawk-mcp",
"source": "github"
},
"version": "1.0.0",
"packages": [
{
"registry_type": "pypi",
"registry_base_url": "https://pypi.org",
"identifier": "stackhawk-mcp",
"version": "1.0.0",
"transport": {
"type": "stdio"
},
"environment_variables": [
{
"description": "StackHawk API key",
"is_required": true,
"format": "string",
"is_secret": true,
"name": "STACKHAWK_API_KEY"
}
]
}
]
}
2 changes: 1 addition & 1 deletion stackhawk_mcp/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -1852,7 +1852,7 @@ def _get_stackhawk_scan_instructions(self, config_path: str = "stackhawk.yml") -
```

## Viewing Results
1. When the scan finishes, you can triage and remediate findings directly from this LLM chat interface—just ask for open issues or help fixing vulnerabilities.
1. When the scan finishes, you can triage and remediate findings directly from this LLM chat interface. Just ask for open issues or help fixing vulnerabilities.
2. You can also check the StackHawk dashboard at https://app.stackhawk.com for a full view of your application and findings.

## Troubleshooting
Expand Down