Commit b53dce1
fix(mcp): update pagerduty-mcp to v1.0.0, add mock_env for scan (#735)
* chore(deps): update dependency pagerduty-mcp to v1
* fix(mcp): add mock_env for pagerduty-mcp security scan
pagerduty-mcp v1 creates the PagerDuty client eagerly at startup
(ApplicationContextStrategy.__init__ -> create_pd_client()), raising
RuntimeError without PAGERDUTY_USER_API_KEY set. This prevented
mcp-security-scan from connecting to the server at all. Add a mock
credential so the scanner can launch and enumerate tools, matching
the existing pattern used by pinecone-mcp/launchdarkly-mcp-server/etc.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>1 parent 89a27f3 commit b53dce1
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
21 | 29 | | |
22 | 30 | | |
23 | 31 | | |
| |||
0 commit comments