Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 29, 2025

Bumps fastmcp from 2.14.0 to 2.14.1.

Release notes

Sourced from fastmcp's releases.

v2.14.1: 'Tis a Gift to Be Sample

FastMCP 2.14.1 adds support for sampling with tools (SEP-1577). This exciting new feature lets servers pass tools to ctx.sample(), 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, ctx.sample_step() makes a single LLM call and returns a SampleStep, letting you inspect tool calls, add custom logic, or build your own execution loop. Structured output via result_type returns validated Pydantic models instead of raw text. This release also adds AnthropicSamplingHandler alongside the existing OpenAI handler (newly promoted out of the experimental module), so clients and servers can provide sampling capability across major providers with ease.

What's Changed

New Features 🎉

Enhancements 🔧

Fixes 🐞

Docs 📚

Dependencies 📦

New Contributors

Full Changelog: jlowin/fastmcp@v2.14.0...v2.14.1

Changelog

Sourced from fastmcp's changelog.


title: "Changelog" icon: "list-check" rss: true

v2.14.1: 'Tis a Gift to Be Sample

FastMCP 2.14.1 introduces sampling with tools (SEP-1577), enabling servers to pass tools to ctx.sample() for agentic workflows where the LLM can automatically execute tool calls in a loop. The new ctx.sample_step() method provides single LLM calls that return SampleStep objects for custom control flow, while result_type enables structured outputs via validated Pydantic models.

🤖 AnthropicSamplingHandler joins the existing OpenAI handler, providing multi-provider sampling support out of the box.

OpenAISamplingHandler promoted from experimental status—sampling handlers are now production-ready with a unified API.

What's Changed

New Features 🎉

Enhancements 🔧

Fixes 🐞

Docs 📚

Other Changes 🦾

New Contributors

Full Changelog: v2.14.0...v2.14.1

v2.14.0: Task and You Shall Receive

FastMCP 2.14 begins adopting the MCP 2025-11-25 specification, introducing protocol-native background tasks (SEP-1686) that enable long-running operations to report progress without blocking clients. The experimental OpenAPI parser graduates to standard, the OpenAISamplingHandler is promoted from experimental, and deprecated APIs accumulated across the 2.x series are removed.

... (truncated)

Commits
  • 2f561ec Deprecate exclude_args in favor of Depends() (#2621)
  • 076ec0c Adopt streamable_http_client API from MCP SDK (#2620)
  • b8ae95a Add tool_names parameter to mount() for name overrides (#2619)
  • 577f4d1 Consolidate sampling examples and fix tool_choice bug (#2618)
  • c91c43e Add AnthropicSamplingHandler (#2617)
  • da77cfa Unify SamplingHandler and promote OpenAI handler (#2616)
  • 41ec7ee SEP-1577: Sampling with tools (#2551)
  • 0cd3690 Consolidate session state reset logic and improve cancellation cleanup (#2615)
  • d26b04f Clean up cancelled connection startup (#2614)
  • 08d092b Use WindowsSelectorEventLoopPolicy to fix Windows test warnings (#2607)
  • Additional commits viewable in compare view

Dependabot compatibility score

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 commands and options

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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)

Bumps [fastmcp](https://github.com/jlowin/fastmcp) from 2.14.0 to 2.14.1.
- [Release notes](https://github.com/jlowin/fastmcp/releases)
- [Changelog](https://github.com/jlowin/fastmcp/blob/main/docs/changelog.mdx)
- [Commits](jlowin/fastmcp@v2.14.0...v2.14.1)

---
updated-dependencies:
- dependency-name: fastmcp
  dependency-version: 2.14.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Dec 29, 2025
@vercel
Copy link

vercel bot commented Dec 29, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
nextra-docsgpt Ready Ready Preview, Comment Dec 29, 2025 8:10pm
oss-docsgpt Ready Ready Preview, Comment Dec 29, 2025 8:10pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

application Application dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant