SIGN IN SIGN UP

Bump fastmcp from 2.14.0 to 2.14.2 in /sample-servers/mcp-example (#55)

Bumps [fastmcp](https://github.com/PrefectHQ/fastmcp) from 2.14.0 to
2.14.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/PrefectHQ/fastmcp/releases">fastmcp's
releases</a>.</em></p>
<blockquote>
<h2>v2.14.2: Port Authority</h2>
<p>FastMCP 2.14.2 brings a wave of community contributions safely into
the 2.x line. A variety of important fixes backported from 3.0 work
improve OpenAPI 3.1 compatibility, MCP spec compliance for output
schemas and elicitation, and correct a subtle base_url fallback issue.
The CLI now gently reminds you that FastMCP 3.0 is on the horizon.</p>
<!-- raw HTML omitted -->
<h2>What's Changed</h2>
<h3>Enhancements 🔧</h3>
<ul>
<li>Pin MCP under 2.x by <a
href="https://github.com/jlowin"><code>@​jlowin</code></a> in <a
href="https://redirect.github.com/jlowin/fastmcp/pull/2709">jlowin/fastmcp#2709</a></li>
<li>Add auth_route parameter to SupabaseProvider by <a
href="https://github.com/EloiZalczer"><code>@​EloiZalczer</code></a> in
<a
href="https://redirect.github.com/jlowin/fastmcp/pull/2760">jlowin/fastmcp#2760</a></li>
<li>Update CLI banner with FastMCP 3.0 notice by <a
href="https://github.com/jlowin"><code>@​jlowin</code></a> in <a
href="https://redirect.github.com/jlowin/fastmcp/pull/2765">jlowin/fastmcp#2765</a></li>
</ul>
<h3>Fixes 🐞</h3>
<ul>
<li>Let FastMCPError propagate unchanged from managers by <a
href="https://github.com/jlowin"><code>@​jlowin</code></a> in <a
href="https://redirect.github.com/jlowin/fastmcp/pull/2697">jlowin/fastmcp#2697</a></li>
<li>Fix test cleanup for uvicorn 0.39+ context isolation by <a
href="https://github.com/jlowin"><code>@​jlowin</code></a> in <a
href="https://redirect.github.com/jlowin/fastmcp/pull/2696">jlowin/fastmcp#2696</a></li>
<li>Bump pydocket to 0.16.3 to fix worker cleanup race condition by <a
href="https://github.com/chrisguidry"><code>@​chrisguidry</code></a> in
<a
href="https://redirect.github.com/jlowin/fastmcp/pull/2700">jlowin/fastmcp#2700</a></li>
<li>Fix Prefect website URL in docs footer by <a
href="https://github.com/mgoldsborough"><code>@​mgoldsborough</code></a>
in <a
href="https://redirect.github.com/jlowin/fastmcp/pull/2705">jlowin/fastmcp#2705</a></li>
<li>Fix: resolve root-level $ref in outputSchema for MCP spec compliance
by <a href="https://github.com/majiayu000"><code>@​majiayu000</code></a>
in <a
href="https://redirect.github.com/jlowin/fastmcp/pull/2727">jlowin/fastmcp#2727</a></li>
<li>Fix OAuth Proxy resource parameter validation by <a
href="https://github.com/jlowin"><code>@​jlowin</code></a> in <a
href="https://redirect.github.com/jlowin/fastmcp/pull/2763">jlowin/fastmcp#2763</a></li>
<li>Fix openapi_version check to include 3.1 by <a
href="https://github.com/deeleeramone"><code>@​deeleeramone</code></a>
in <a
href="https://redirect.github.com/jlowin/fastmcp/pull/2769">jlowin/fastmcp#2769</a></li>
<li>Fix titled enum elicitation schema to comply with MCP spec by <a
href="https://github.com/jlowin"><code>@​jlowin</code></a> in <a
href="https://redirect.github.com/jlowin/fastmcp/pull/2774">jlowin/fastmcp#2774</a></li>
<li>Fix base_url fallback when url is not set by <a
href="https://github.com/bhbs"><code>@​bhbs</code></a> in <a
href="https://redirect.github.com/jlowin/fastmcp/pull/2782">jlowin/fastmcp#2782</a></li>
<li>Lazy import DiskStore to avoid sqlite3 dependency on import by <a
href="https://github.com/jlowin"><code>@​jlowin</code></a> in <a
href="https://redirect.github.com/jlowin/fastmcp/pull/2785">jlowin/fastmcp#2785</a></li>
</ul>
<h3>Docs 📚</h3>
<ul>
<li>Add v3 breaking changes notice to README and docs by <a
href="https://github.com/jlowin"><code>@​jlowin</code></a> in <a
href="https://redirect.github.com/jlowin/fastmcp/pull/2713">jlowin/fastmcp#2713</a></li>
<li>Add changelog entries for v2.13.1 through v2.14.1 by <a
href="https://github.com/jlowin"><code>@​jlowin</code></a> in <a
href="https://redirect.github.com/jlowin/fastmcp/pull/2724">jlowin/fastmcp#2724</a></li>
<li>conference to 2.x branch by <a
href="https://github.com/aaazzam"><code>@​aaazzam</code></a> in <a
href="https://redirect.github.com/jlowin/fastmcp/pull/2787">jlowin/fastmcp#2787</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/jlowin/fastmcp/compare/v2.14.1...v2.14.2">https://github.com/jlowin/fastmcp/compare/v2.14.1...v2.14.2</a></p>
<h2>v2.14.1: 'Tis a Gift to Be Sample</h2>
<p>FastMCP 2.14.1 adds support for sampling with tools (SEP-1577). This
exciting new feature lets servers pass tools to
<code>ctx.sample()</code>, enabling agentic workflows where the server
borrows the client's LLM and controls tool execution automatically. Pass
any callable as a tool and FastMCP handles the loop: calling the LLM,
executing tools, and feeding results back until a final response is
produced. For fine-grained control, <code>ctx.sample_step()</code> makes
a single LLM call and returns a <code>SampleStep</code>, letting you
inspect tool calls, add custom logic, or build your own execution loop.
Structured output via <code>result_type</code> returns validated
Pydantic models instead of raw text. This release also adds
<code>AnthropicSamplingHandler</code> alongside the existing
<code>OpenAI</code> handler (newly promoted out of the
<code>experimental</code> module), so clients <em>and</em> servers can
provide sampling capability across major providers with ease.</p>
<!-- raw HTML omitted -->
<h2>What's Changed</h2>
<h3>New Features 🎉</h3>
<ul>
<li>SEP-1577: Sampling with tools by <a
href="https://github.com/jlowin"><code>@​jlowin</code></a> in <a
href="https://redirect.github.com/jlowin/fastmcp/pull/2551">jlowin/fastmcp#2551</a></li>
<li>Add AnthropicSamplingHandler by <a
href="https://github.com/jlowin"><code>@​jlowin</code></a> in <a
href="https://redirect.github.com/jlowin/fastmcp/pull/2617">jlowin/fastmcp#2617</a></li>
</ul>
<h3>Enhancements 🔧</h3>
<ul>
<li>Add Python 3.13 to Ubuntu CI tests by <a
href="https://github.com/jlowin"><code>@​jlowin</code></a> in <a
href="https://redirect.github.com/jlowin/fastmcp/pull/2606">jlowin/fastmcp#2606</a></li>
<li>Remove legacy _task_capable_initialize() workaround by <a
href="https://github.com/jlowin"><code>@​jlowin</code></a> in <a
href="https://redirect.github.com/jlowin/fastmcp/pull/2612">jlowin/fastmcp#2612</a></li>
<li>Consolidate session state reset logic and improve cancellation
cleanup by <a href="https://github.com/jlowin"><code>@​jlowin</code></a>
in <a
href="https://redirect.github.com/jlowin/fastmcp/pull/2615">jlowin/fastmcp#2615</a></li>
<li>Unify SamplingHandler and promote OpenAI handler by <a
href="https://github.com/jlowin"><code>@​jlowin</code></a> in <a
href="https://redirect.github.com/jlowin/fastmcp/pull/2616">jlowin/fastmcp#2616</a></li>
<li>Add tool_names parameter to mount() for name overrides by <a
href="https://github.com/jlowin"><code>@​jlowin</code></a> in <a
href="https://redirect.github.com/jlowin/fastmcp/pull/2619">jlowin/fastmcp#2619</a></li>
<li>Adopt streamable_http_client API from MCP SDK by <a
href="https://github.com/jlowin"><code>@​jlowin</code></a> in <a
href="https://redirect.github.com/jlowin/fastmcp/pull/2620">jlowin/fastmcp#2620</a></li>
<li>Deprecate exclude_args in favor of Depends() by <a
href="https://github.com/jlowin"><code>@​jlowin</code></a> in <a
href="https://redirect.github.com/jlowin/fastmcp/pull/2621">jlowin/fastmcp#2621</a></li>
</ul>
<h3>Fixes 🐞</h3>
<ul>
<li>fix: prompt tasks returning mcp.types.PromptMessage now work by <a
href="https://github.com/chrisguidry"><code>@​chrisguidry</code></a> in
<a
href="https://redirect.github.com/jlowin/fastmcp/pull/2603">jlowin/fastmcp#2603</a></li>
<li>Use WindowsSelectorEventLoopPolicy to fix Windows test warnings by
<a href="https://github.com/jlowin"><code>@​jlowin</code></a> in <a
href="https://redirect.github.com/jlowin/fastmcp/pull/2607">jlowin/fastmcp#2607</a></li>
<li>Clean up cancelled connection startup by <a
href="https://github.com/shawnthapa"><code>@​shawnthapa</code></a> in <a
href="https://redirect.github.com/jlowin/fastmcp/pull/2614">jlowin/fastmcp#2614</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/PrefectHQ/fastmcp/blob/main/docs/changelog.mdx">fastmcp's
changelog</a>.</em></p>
<blockquote>
<hr />
<h2>title: &quot;Changelog&quot;
icon: &quot;list-check&quot;
rss: true
tag: NEW</h2>
<!-- raw HTML omitted -->
<p><strong><a
href="https://github.com/PrefectHQ/fastmcp/releases/tag/v3.0.2">v3.0.2:
Threecovery Mode II</a></strong></p>
<p>Two community-contributed fixes: auth headers from MCP transport no
longer leak through to downstream OpenAPI APIs, and background task
workers now correctly receive the originating request ID. Plus a new
docs example for context-aware tool factories.</p>
<h3>Fixes 🐞</h3>
<ul>
<li>fix: prevent MCP transport auth header from leaking to downstream
OpenAPI APIs by <a
href="https://github.com/stakeswky"><code>@​stakeswky</code></a> in <a
href="https://redirect.github.com/PrefectHQ/fastmcp/pull/3262">#3262</a></li>
<li>fix: propagate origin_request_id to background task workers by <a
href="https://github.com/gfortaine"><code>@​gfortaine</code></a> in <a
href="https://redirect.github.com/PrefectHQ/fastmcp/pull/3175">#3175</a></li>
</ul>
<h3>Docs 📚</h3>
<ul>
<li>Add v3.0.1 release notes by <a
href="https://github.com/jlowin"><code>@​jlowin</code></a> in <a
href="https://redirect.github.com/PrefectHQ/fastmcp/pull/3259">#3259</a></li>
<li>docs: add context-aware tool factory example by <a
href="https://github.com/machov"><code>@​machov</code></a> in <a
href="https://redirect.github.com/PrefectHQ/fastmcp/pull/3264">#3264</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/PrefectHQ/fastmcp/compare/v3.0.1...v3.0.2">v3.0.1...v3.0.2</a></p>
<!-- raw HTML omitted -->
<!-- raw HTML omitted -->
<p><strong><a
href="https://github.com/PrefectHQ/fastmcp/releases/tag/v3.0.1">v3.0.1:
Three-covery Mode</a></strong></p>
<p>First patch after 3.0 — mostly smoothing out rough edges discovered
in the wild. The big ones: middleware state that wasn't surviving the
trip to tool handlers now does, <code>Tool.from_tool()</code> accepts
callables again, OpenAPI schemas with circular references no longer
crash discovery, and decorator overloads now return the correct types in
function mode. Also adds <code>verify_id_token</code> to OIDCProxy for
providers (like some Azure AD configs) that issue opaque access tokens
but standard JWT id_tokens.</p>
<h3>Enhancements 🔧</h3>
<ul>
<li>Add verify_id_token option to OIDCProxy by <a
href="https://github.com/jlowin"><code>@​jlowin</code></a> in <a
href="https://redirect.github.com/PrefectHQ/fastmcp/pull/3248">#3248</a></li>
</ul>
<h3>Fixes 🐞</h3>
<ul>
<li>Fix v3.0.0 changelog compare link by <a
href="https://github.com/jlowin"><code>@​jlowin</code></a> in <a
href="https://redirect.github.com/PrefectHQ/fastmcp/pull/3223">#3223</a></li>
<li>Fix MDX parse error in upgrade guide prompts by <a
href="https://github.com/jlowin"><code>@​jlowin</code></a> in <a
href="https://redirect.github.com/PrefectHQ/fastmcp/pull/3227">#3227</a></li>
<li>Fix non-serializable state lost between middleware and tools by <a
href="https://github.com/jlowin"><code>@​jlowin</code></a> in <a
href="https://redirect.github.com/PrefectHQ/fastmcp/pull/3234">#3234</a></li>
<li>Accept callables in Tool.from_tool() by <a
href="https://github.com/jlowin"><code>@​jlowin</code></a> in <a
href="https://redirect.github.com/PrefectHQ/fastmcp/pull/3235">#3235</a></li>
<li>Preserve skill metadata through provider wrapping by <a
href="https://github.com/jlowin"><code>@​jlowin</code></a> in <a
href="https://redirect.github.com/PrefectHQ/fastmcp/pull/3237">#3237</a></li>
<li>Fix circular reference crash in OpenAPI schemas by <a
href="https://github.com/jlowin"><code>@​jlowin</code></a> in <a
href="https://redirect.github.com/PrefectHQ/fastmcp/pull/3245">#3245</a></li>
<li>Fix NameError with future annotations and Context/Depends parameters
by <a href="https://github.com/jlowin"><code>@​jlowin</code></a> in <a
href="https://redirect.github.com/PrefectHQ/fastmcp/pull/3243">#3243</a></li>
<li>Fix ty ignore syntax in OpenAPI provider by <a
href="https://github.com/jlowin"><code>@​jlowin</code></a> in <a
href="https://redirect.github.com/PrefectHQ/fastmcp/pull/3253">#3253</a></li>
<li>Use max_completion_tokens instead of deprecated max_tokens in OpenAI
handler by <a href="https://github.com/jlowin"><code>@​jlowin</code></a>
in <a
href="https://redirect.github.com/PrefectHQ/fastmcp/pull/3254">#3254</a></li>
<li>Fix ty compatibility with upgraded deps by <a
href="https://github.com/jlowin"><code>@​jlowin</code></a> in <a
href="https://redirect.github.com/PrefectHQ/fastmcp/pull/3257">#3257</a></li>
<li>Fix decorator overload return types for function mode by <a
href="https://github.com/jlowin"><code>@​jlowin</code></a> in <a
href="https://redirect.github.com/PrefectHQ/fastmcp/pull/3258">#3258</a></li>
</ul>
<h3>Docs 📚</h3>
<ul>
<li>Sync README with welcome.mdx, fix install count by <a
href="https://github.com/jlowin"><code>@​jlowin</code></a> in <a
href="https://redirect.github.com/PrefectHQ/fastmcp/pull/3224">#3224</a></li>
<li>Document dict-to-Message prompt migration in upgrade guides by <a
href="https://github.com/jlowin"><code>@​jlowin</code></a> in <a
href="https://redirect.github.com/PrefectHQ/fastmcp/pull/3225">#3225</a></li>
<li>Fix v2 upgrade guide: remove incorrect v1 import advice by <a
href="https://github.com/jlowin"><code>@​jlowin</code></a> in <a
href="https://redirect.github.com/PrefectHQ/fastmcp/pull/3226">#3226</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/PrefectHQ/fastmcp/commit/99832a9fafe742dcfa747bc6b829b386c25c243b"><code>99832a9</code></a>
Merge pull request <a
href="https://redirect.github.com/PrefectHQ/fastmcp/issues/2787">#2787</a>
from jlowin/confernece-to-2.x-branch</li>
<li><a
href="https://github.com/PrefectHQ/fastmcp/commit/7fd365c8680b2c747bd23360662eebfaa0c1fb27"><code>7fd365c</code></a>
Update docs.json</li>
<li><a
href="https://github.com/PrefectHQ/fastmcp/commit/9cf9aa9b37dcbbe917d43b7a3a06540fe6bfd65e"><code>9cf9aa9</code></a>
Lazy import DiskStore to avoid sqlite3 dependency on import (<a
href="https://redirect.github.com/PrefectHQ/fastmcp/issues/2785">#2785</a>)</li>
<li><a
href="https://github.com/PrefectHQ/fastmcp/commit/1b637522d166d40ad41346997d2fda74bc886934"><code>1b63752</code></a>
Fix base_url fallback when url is not set (<a
href="https://redirect.github.com/PrefectHQ/fastmcp/issues/2776">#2776</a>)
(<a
href="https://redirect.github.com/PrefectHQ/fastmcp/issues/2782">#2782</a>)</li>
<li><a
href="https://github.com/PrefectHQ/fastmcp/commit/33ff356c0f08bbbc22a369e0fc789f4b086e2767"><code>33ff356</code></a>
Fix titled enum elicitation schema to comply with MCP spec (<a
href="https://redirect.github.com/PrefectHQ/fastmcp/issues/2774">#2774</a>)</li>
<li><a
href="https://github.com/PrefectHQ/fastmcp/commit/820f74e8ed7c49fc5c53c02f8cb92f8b3121a265"><code>820f74e</code></a>
[BugFix] Fix <code>openapi_version</code> Check So 3.1 Is Included (<a
href="https://redirect.github.com/PrefectHQ/fastmcp/issues/2768">#2768</a>)
(<a
href="https://redirect.github.com/PrefectHQ/fastmcp/issues/2769">#2769</a>)</li>
<li><a
href="https://github.com/PrefectHQ/fastmcp/commit/bbf6c200eeda0a9a946dd8f650a5fa35864ab36f"><code>bbf6c20</code></a>
Update CLI banner with FastMCP 3.0 notice (<a
href="https://redirect.github.com/PrefectHQ/fastmcp/issues/2765">#2765</a>)</li>
<li><a
href="https://github.com/PrefectHQ/fastmcp/commit/97327893bba11bc837aa1883e39cf8ffea8af479"><code>9732789</code></a>
Fix OAuth Proxy resource parameter validation (<a
href="https://redirect.github.com/PrefectHQ/fastmcp/issues/2763">#2763</a>)</li>
<li><a
href="https://github.com/PrefectHQ/fastmcp/commit/6bade1cbd973cbbbca26a84ed7c4cc58ecfda5b3"><code>6bade1c</code></a>
Add auth_route parameter to SupabaseProvider (<a
href="https://redirect.github.com/PrefectHQ/fastmcp/issues/2760">#2760</a>)</li>
<li><a
href="https://github.com/PrefectHQ/fastmcp/commit/4963b516c285bcfe6440a44996dfe06d604af3bd"><code>4963b51</code></a>
Fix: resolve root-level $ref in outputSchema for MCP spec compliance (<a
href="https://redirect.github.com/PrefectHQ/fastmcp/issues/2720">#2720</a>)
...</li>
<li>Additional commits viewable in <a
href="https://github.com/PrefectHQ/fastmcp/compare/v2.14.0...v2.14.2">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=fastmcp&package-manager=pip&previous-version=2.14.0&new-version=2.14.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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 rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will 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 version` will 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 dependency` will 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](https://github.com/microsoft/mcp-gateway/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
D
dependabot[bot] committed
d1546d5ff2d13d021db1009712544b4503439633
Parent: 642eb7b
Committed by GitHub <noreply@github.com> on 3/16/2026, 6:32:23 PM