Skip to content

Commit 5ce36fe

Browse files
authored
Merge pull request #62 from stackhawk/feature/anthropic-registry
Anthropic & Docker MCP registries
2 parents 3ad255d + bb82d30 commit 5ce36fe

File tree

4 files changed

+36
-6
lines changed

4 files changed

+36
-6
lines changed

Dockerfile

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,5 @@ WORKDIR /app
33
COPY . .
44
RUN pip install --no-cache-dir -r requirements.txt \
55
&& pip install fastapi uvicorn
6-
EXPOSE 8080
7-
# Default: run HTTP server
8-
ENTRYPOINT ["uvicorn", "stackhawk_mcp.http_server:app", "--host", "0.0.0.0", "--port", "8080"]
9-
# To run stdio: override entrypoint with
10-
# docker run --entrypoint python ... -m stackhawk_mcp.server
6+
7+
ENTRYPOINT ["python", "-m", "stackhawk_mcp.server"]

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,3 +347,5 @@ Workflows are designed to skip jobs if the latest commit is an automated version
347347
2. Select the "Prepare Release" workflow.
348348
3. Click "Run workflow" and choose the desired bump type (minor or major).
349349
4. The workflow will handle the rest!
350+
351+
[//]: # (mcp-name: stackhawk.com/stackhawk-mcp)

server.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-07-09/server.schema.json",
3+
"name": "stackhawk.com/stackhawk-mcp",
4+
"description": "An MCP server that provides interaction with StackHawk's security scanning platform.",
5+
"status": "active",
6+
"repository": {
7+
"url": "https://github.com/stackhawk/stackhawk-mcp",
8+
"source": "github"
9+
},
10+
"version": "1.0.0",
11+
"packages": [
12+
{
13+
"registry_type": "pypi",
14+
"registry_base_url": "https://pypi.org",
15+
"identifier": "stackhawk-mcp",
16+
"version": "1.0.0",
17+
"transport": {
18+
"type": "stdio"
19+
},
20+
"environment_variables": [
21+
{
22+
"description": "StackHawk API key",
23+
"is_required": true,
24+
"format": "string",
25+
"is_secret": true,
26+
"name": "STACKHAWK_API_KEY"
27+
}
28+
]
29+
}
30+
]
31+
}

stackhawk_mcp/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1852,7 +1852,7 @@ def _get_stackhawk_scan_instructions(self, config_path: str = "stackhawk.yml") -
18521852
```
18531853
18541854
## Viewing Results
1855-
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.
1855+
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.
18561856
2. You can also check the StackHawk dashboard at https://app.stackhawk.com for a full view of your application and findings.
18571857
18581858
## Troubleshooting

0 commit comments

Comments
 (0)