chore(deps): Bump mcp from 1.28.1 to 1.30.0 #1306
All Vouch review confidence checks passed
Residual risk 0.21 = Change Risk (0.52) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.52 · 650 lines diff across 8 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.388
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #1306"
general
weight: 0.35
sicoyle
Bumps mcp from 1.28.1 to 1.30.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/modelcontextprotocol/python-sdk/releases">mcp's releases</a>.</em></p>
<blockquote>
<h2>v1.30.0</h2>
<p>Maintenance release of the 1.x line. 2.x is the current line; 1.x docs are at <a href="https://py.sdk.modelcontextprotocol.io/v1/">https://py.sdk.modelcontextprotocol.io/v1/</a>.</p>
<p>A few defaults changed in this release. If you run a server or client on 1.x, skim these first:</p>
<h2>Behaviour changes</h2>
<p><strong>HTTP client redirects are only followed within the endpoint's origin</strong> (<a href="https://redirect.github.com/modelcontextprotocol/python-sdk/issues/3448">#3448</a>)</p>
<ul>
<li><code>streamable_http_client</code> and <code>sse_client</code> follow a redirect only if it stays on the same scheme, host and port (or upgrades <code>http</code> to <code>https</code> on the same host).</li>
<li>A redirect anywhere else now fails the request with <code>httpx.HTTPStatusError</code>. If that other URL is the server you meant, use it as the endpoint URL.</li>
<li>The <code>follow_redirects</code> setting on an <code>httpx.AsyncClient</code> you pass in is no longer used for MCP requests, so you don't need it for the trailing-slash redirect any more.</li>
<li><code>OAuthClientProvider</code> applies the same rule to its own requests.</li>
</ul>
<p><strong>Idle Streamable HTTP sessions now expire</strong> (<a href="https://redirect.github.com/modelcontextprotocol/python-sdk/issues/3426">#3426</a>)</p>
<ul>
<li>A stateful session with nothing in flight for 30 minutes is closed. The client's next request gets a 404 and it has to initialize again.</li>
<li>Clients that keep the GET stream open (the SDK's client does) are not affected.</li>
<li>A server also holds at most 10 000 sessions at once; beyond that, new sessions get a 503.</li>
<li>To turn either off: <code>FastMCP(..., session_idle_timeout=None, max_sessions=None)</code>.</li>
</ul>
<p><strong>The OAuth client checks the authorization server's <code>issuer</code></strong> (<a href="https://redirect.github.com/modelcontextprotocol/python-sdk/issues/3431">#3431</a>)</p>
<ul>
<li>Authorization server metadata whose <code>issuer</code> doesn't match the server it was fetched for is now rejected with <code>OAuthFlowError: Authorization server metadata issuer mismatch</code>.</li>
<li>Client registrations are now remembered per issuer; if the server later points at a different authorization server, the client registers again.</li>
<li>If protected resource metadata can't be fetched because of a 5xx/429, the flow now stops instead of falling back to the legacy endpoints.</li>
</ul>
<p><strong>Two new <code>DeprecationWarning</code>s</strong> (<a href="https://redirect.github.com/modelcontextprotocol/python-sdk/issues/3431">#3431</a>, <a href="https://redirect.github.com/modelcontextprotocol/python-sdk/issues/3451">#3451</a>)</p>
<ul>
<li><code>ClientCredentialsOAuthProvider</code> / <code>PrivateKeyJWTOAuthProvider</code> without <code>issuer=</code>. Pass your authorization server's issuer URL.</li>
<li><code>AuthSettings</code> with <code>resource_server_url</code> set but <code>validate_token_resource</code> unset. Set it to <code>True</code> or <code>False</code>.</li>
<li>Both keep working as before in 1.x; this mostly matters if your tests turn warnings into errors.</li>
</ul>
<h2>New</h2>
<ul>
<li><code>AuthSettings.validate_token_resource</code>: only accept tokens your <code>TokenVerifier</code> reports as issued for this server (<a href="https://redirect.github.com/modelcontextprotocol/python-sdk/issues/3451">#3451</a>).</li>
<li><code>issuer=</code> on <code>ClientCredentialsOAuthProvider</code> and <code>PrivateKeyJWTOAuthProvider</code> (<a href="https://redirect.github.com/modelcontextprotocol/python-sdk/issues/3431">#3431</a>).</li>
<li><code>session_idle_timeout=</code> and <code>max_sessions=</code> on <code>FastMCP</code> (<a href="https://redirect.github.com/modelcontextprotocol/python-sdk/issues/3426">#3426</a>).</li>
</ul>
<h2>What's Changed</h2>
<ul>
<li>[v1.x] Resolve tool output-schema references within the schema document only by <a href="https://github.com/maxisbey"><code>@maxisbey</code></a> in <a href="https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3396">modelcontextprotocol/python-sdk#3396</a></li>
<li>[v1.x] Expire idle Streamable HTTP sessions by default and cap concurrent sessions by <a href="https://github.com/maxisbey"><code>@maxisbey</code></a> in <a href="https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3426">modelcontextprotocol/python-sdk#3426</a></li>
<li>[v1.x] Validate the authorization server metadata issuer on every discovery path by <a href="https://github.com/maxisbey"><code>@maxisbey</code></a> in <a href="https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3431">modelcontextprotocol/python-sdk#3431</a></li>
<li>[v1.x] Follow redirects only within the MCP endpoint's origin by <a href="https://github.com/maxisbey"><code>@maxisbey</code></a> in <a href="https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3448">modelcontextprotocol/python-sdk#3448</a></li>
<li>[v1.x] Add AuthSettings.validate_token_resource to check a bearer token's resource by <a href="https://github.com/maxisbey"><code>@maxisbey</code></a> in <a href="https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3451">modelcontextprotocol/python-sdk#3451</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/modelcontextprotocol/python-sdk/compare/v1.29.1...v1.30.0">https://github.com/modelcontextprotocol/python-sdk/compare/v1.29.1...v1.30.0</a></p>
<h2>v1.29.1</h2>
<h2>What's Changed</h2>
<ul>
<li>[v1.x] Complete the FastMCP Settings model at import time by <a href="https://github.com/maxisbey"><code>@maxisbey</code></a> in <a href="https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3352">modelcontextprotocol/python-sdk#3352</a></li>
<li>[v1.x] Apply the request body limit to the SSE and OAuth endpoints by <a href="https://github.com/maxisbey"><code>@maxisbey</code></a> in <a href="https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3344">modelcontextprotocol/python-sdk#3344</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/modelcontextprotocol/python-sdk/commit/8c2fa6eabacde869d75568e33b9d466b58c2f512"><code>8c2fa6e</code></a> [v1.x] Add AuthSettings.validate_token_resource to check a bearer token's res...</li>
<li><a href="https://github.com/modelcontextprotocol/python-sdk/commit/2106335745563b2321b8c73fef2c12903d00aa6e"><code>2106335</code></a> [v1.x] Follow redirects only within the MCP endpoint's origin (<a href="https://redirect.github.com/modelcontextprotocol/python-sdk/issues/3448">#3448</a>)</li>
<li><a href="https://github.com/modelcontextprotocol/python-sdk/commit/3eed7ce0a6aba76e8d94c4cfb9b266f41935392c"><code>3eed7ce</code></a> [v1.x] Validate the authorization server metadata issuer on every discovery p...</li>
<li><a href="https://github.com/modelcontextprotocol/python-sdk/commit/92120b4b0f50385af096592d7cee932fc1d994e7"><code>92120b4</code></a> [v1.x] Expire idle Streamable HTTP sessions by default and cap concurrent ses...</li>
<li><a href="https://github.com/modelcontextprotocol/python-sdk/commit/5ebdfed4060d8e5b11b8e2348f86bad4d1fb8836"><code>5ebdfed</code></a> [v1.x] Resolve tool output-schema references within the schema document only ...</li>
<li><a href="https://github.com/modelcontextprotocol/python-sdk/commit/b22271305c59dfc7910f1493faea78cb1d396e48"><code>b222713</code></a> [v1.x] Give recursive tool return types an object-rooted output schema (<a href="https://redirect.github.com/modelcontextprotocol/python-sdk/issues/3377">#3377</a>)</li>
<li><a href="https://github.com/modelcontextprotocol/python-sdk/commit/4dc224fab201bdef2fd5a065976b7ca31420187c"><code>4dc224f</code></a> [v1.x] Apply the request body limit to the SSE and OAuth endpoints (<a href="https://redirect.github.com/modelcontextprotocol/python-sdk/issues/3344">#3344</a>)</li>
<li><a href="https://github.com/modelcontextprotocol/python-sdk/commit/ae3338f6b396378217921aeadeca10a68e273c2d"><code>ae3338f</code></a> [v1.x] Complete the FastMCP Settings model at import time (<a href="https://redirect.github.com/modelcontextprotocol/python-sdk/issues/3352">#3352</a>)</li>
<li><a href="https://github.com/modelcontextprotocol/python-sdk/commit/98b7159cb89274964055d2c016e3360a551280d0"><code>98b7159</code></a> [v1.x] Move the v1.x docs to /v1/ and mark v1.x as the maintenance line (<a href="https://redirect.github.com/modelcontextprotocol/python-sdk/issues/3177">#3177</a>)</li>
<li><a href="https://github.com/modelcontextprotocol/python-sdk/commit/c0c5a9d64253ebf89a67955b2979dfa198707d67"><code>c0c5a9d</code></a> [v1.x] ci: pick the docs toolchain per worktree in build-docs.sh (<a href="https://redirect.github.com/modelcontextprotocol/python-sdk/issues/3082">#3082</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/modelcontextprotocol/python-sdk/compare/v1.28.1...v1.30.0">compare view</a></li>
</ul>
</details>
<br />

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)You can disable automated security fix PRs for this repo from the Security Alerts page.
</details>