dependabot[bot] opened a new pull request, #10647:
URL: https://github.com/apache/gravitino/pull/10647

   Bumps [fastmcp](https://github.com/PrefectHQ/fastmcp) from 2.14.5 to 3.2.0.
   <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>v3.2.0: Show Don't Tool</h2>
   <p>FastMCP 3.2 is the Apps release. The 3.0 architecture gave you providers 
and transforms; 3.1 shipped Code Mode for tool discovery. 3.2 puts a face on 
it: your tools can now return interactive UIs — charts, dashboards, forms, maps 
— rendered right inside the conversation.</p>
   <h2>FastMCPApp</h2>
   <p><code>FastMCPApp</code> is a new provider class for building interactive 
applications inside MCP. It separates the tools the LLM sees 
(<code>@app.ui()</code>) from the backend tools the UI calls 
(<code>@app.tool()</code>), manages visibility automatically, and gives tool 
references stable identifiers that survive namespace transforms and server 
composition — without requiring host cooperation.</p>
   <pre lang="python"><code>from fastmcp import FastMCP, FastMCPApp
   from prefab_ui.actions.mcp import CallTool
   from prefab_ui.components import Column, Form, Input, Button, ForEach, Text
   <p>app = FastMCPApp(&quot;Contacts&quot;)</p>
   <p><a href="https://github.com/app";><code>@​app</code></a>.tool()
   def save_contact(name: str, email: str) -&gt; list[dict]:
   db.append({&quot;name&quot;: name, &quot;email&quot;: email})
   return list(db)</p>
   <p><a href="https://github.com/app";><code>@​app</code></a>.ui()
   def contact_manager() -&gt; PrefabApp:
   with PrefabApp(state={&quot;contacts&quot;: list(db)}) as view:
   with Column(gap=4):
   ForEach(&quot;contacts&quot;, lambda c: Text(c.name))
   with Form(on_submit=CallTool(&quot;save_contact&quot;)):
   Input(name=&quot;name&quot;, required=True)
   Input(name=&quot;email&quot;, required=True)
   Button(&quot;Save&quot;)
   return view</p>
   <p>mcp = FastMCP(&quot;Server&quot;, providers=[app])
   </code></pre></p>
   <p>The UI is built with <a href="https://prefab.prefect.io";>Prefab</a>, a 
Python component library that compiles to interactive UIs. You write Python; 
the user sees charts, tables, forms, and dashboards. FastMCP handles the MCP 
Apps protocol machinery — renderer resources, CSP configuration, structured 
content serialization — so you don't have to.</p>
   <p>For simpler cases where you just want to visualize data without server 
interaction, set <code>app=True</code> on any tool and return Prefab components 
directly:</p>
   <pre lang="python"><code>@mcp.tool(app=True)
   def revenue_chart(year: int) -&gt; PrefabApp:
       with PrefabApp() as app:
           BarChart(data=revenue_data, 
series=[ChartSeries(data_key=&quot;revenue&quot;)])
       return app
   </code></pre>
   <h2>Built-in Providers</h2>
   <p>Five ready-made providers you add with a single 
<code>add_provider()</code> call:</p>
   <ul>
   <li><strong>FileUpload</strong> — drag-and-drop file upload with 
session-scoped storage</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.1.1";>v3.1.1: 'Tis 
But a Patch</a></strong></p>
   <p>Pins <code>pydantic-monty</code> below 0.0.8 to fix a breaking change in 
Monty that affects code mode. Monty 0.0.8 removed the 
<code>external_functions</code> constructor parameter, causing 
<code>MontySandboxProvider</code> to fail. This patch caps the version so 
existing installs work correctly.</p>
   <h3>Fixes 🐞</h3>
   <ul>
   <li>Pin pydantic-monty below 0.0.8 to fix code mode by <a 
href="https://github.com/jlowin";><code>@​jlowin</code></a> in <a 
href="https://redirect.github.com/PrefectHQ/fastmcp/pull/3497";>#3497</a></li>
   </ul>
   <p><strong>Full Changelog</strong>: <a 
href="https://github.com/PrefectHQ/fastmcp/compare/v3.1.0...v3.1.1";>v3.1.0...v3.1.1</a></p>
   <!-- raw HTML omitted -->
   <!-- raw HTML omitted -->
   <p><strong><a 
href="https://github.com/PrefectHQ/fastmcp/releases/tag/v3.1.0";>v3.1.0: Code to 
Joy</a></strong></p>
   <p>FastMCP 3.1 is the Code Mode release. The 3.0 architecture introduced 
providers and transforms as the extensibility layer — 3.1 puts that 
architecture to work, shipping the most requested capability since launch: 
servers that can find and execute code on behalf of agents, without requiring 
clients to know what tools exist.</p>
   <h3>New Features 🎉</h3>
   <ul>
   <li>feat: Search transforms for tool discovery by <a 
href="https://github.com/jlowin";><code>@​jlowin</code></a> in <a 
href="https://redirect.github.com/PrefectHQ/fastmcp/pull/3154";>#3154</a></li>
   <li>Add experimental CodeMode transform by <a 
href="https://github.com/aaazzam";><code>@​aaazzam</code></a> in <a 
href="https://redirect.github.com/PrefectHQ/fastmcp/pull/3297";>#3297</a></li>
   <li>Add Prefab Apps integration for MCP tool UIs by <a 
href="https://github.com/jlowin";><code>@​jlowin</code></a> in <a 
href="https://redirect.github.com/PrefectHQ/fastmcp/pull/3316";>#3316</a></li>
   </ul>
   <h3>Enhancements 🔧</h3>
   <ul>
   <li>Lazy-load heavy imports to reduce import time by <a 
href="https://github.com/jlowin";><code>@​jlowin</code></a> in <a 
href="https://redirect.github.com/PrefectHQ/fastmcp/pull/3295";>#3295</a></li>
   <li>Add http_client parameter to all token verifiers for connection pooling 
by <a href="https://github.com/jlowin";><code>@​jlowin</code></a> in <a 
href="https://redirect.github.com/PrefectHQ/fastmcp/pull/3300";>#3300</a></li>
   <li>Add in-memory caching for token introspection results by <a 
href="https://github.com/jlowin";><code>@​jlowin</code></a> in <a 
href="https://redirect.github.com/PrefectHQ/fastmcp/pull/3298";>#3298</a></li>
   <li>Add SessionStart hook to install gh CLI in cloud sessions by <a 
href="https://github.com/jlowin";><code>@​jlowin</code></a> in <a 
href="https://redirect.github.com/PrefectHQ/fastmcp/pull/3308";>#3308</a></li>
   <li>Fix ty 0.0.19 type errors by <a 
href="https://github.com/jlowin";><code>@​jlowin</code></a> in <a 
href="https://redirect.github.com/PrefectHQ/fastmcp/pull/3310";>#3310</a></li>
   <li>Code Mode: Add resource limits to MontySandboxProvider by <a 
href="https://github.com/jlowin";><code>@​jlowin</code></a> in <a 
href="https://redirect.github.com/PrefectHQ/fastmcp/pull/3326";>#3326</a></li>
   <li>Accept transforms as FastMCP init kwarg by <a 
href="https://github.com/jlowin";><code>@​jlowin</code></a> in <a 
href="https://redirect.github.com/PrefectHQ/fastmcp/pull/3324";>#3324</a></li>
   <li>Split large test files to comply with loq line limit by <a 
href="https://github.com/jlowin";><code>@​jlowin</code></a> in <a 
href="https://redirect.github.com/PrefectHQ/fastmcp/pull/3328";>#3328</a></li>
   <li>Add -m/--module flag to <code>fastmcp run</code> and <code>dev 
inspector</code> by <a 
href="https://github.com/dgenio";><code>@​dgenio</code></a> in <a 
href="https://redirect.github.com/PrefectHQ/fastmcp/pull/3331";>#3331</a></li>
   <li>Add search_result_serializer hook and 
serialize_tools_for_output_markdown by <a 
href="https://github.com/MagnusS0";><code>@​MagnusS0</code></a> in <a 
href="https://redirect.github.com/PrefectHQ/fastmcp/pull/3337";>#3337</a></li>
   <li>Add MultiAuth for composing multiple token verification sources by <a 
href="https://github.com/jlowin";><code>@​jlowin</code></a> in <a 
href="https://redirect.github.com/PrefectHQ/fastmcp/pull/3335";>#3335</a></li>
   <li>Adds PropelAuth as an AuthProvider by <a 
href="https://github.com/andrew-propelauth";><code>@​andrew-propelauth</code></a>
 in <a 
href="https://redirect.github.com/PrefectHQ/fastmcp/pull/3358";>#3358</a></li>
   <li>Replace vendored DI with uncalled-for by <a 
href="https://github.com/chrisguidry";><code>@​chrisguidry</code></a> in <a 
href="https://redirect.github.com/PrefectHQ/fastmcp/pull/3301";>#3301</a></li>
   <li>Decompose CodeMode into composable discovery tools by <a 
href="https://github.com/jlowin";><code>@​jlowin</code></a> in <a 
href="https://redirect.github.com/PrefectHQ/fastmcp/pull/3354";>#3354</a></li>
   <li>feat(contrib): auto-sync MCPMixin decorators with from_function 
signatures by <a 
href="https://github.com/AnkeshThakur";><code>@​AnkeshThakur</code></a> in <a 
href="https://redirect.github.com/PrefectHQ/fastmcp/pull/3323";>#3323</a></li>
   <li>Add Google GenAI Sampling Handler by <a 
href="https://github.com/strawgate";><code>@​strawgate</code></a> in <a 
href="https://redirect.github.com/PrefectHQ/fastmcp/pull/2977";>#2977</a></li>
   <li>Add ListTools, search limit, and catalog size annotation to CodeMode by 
<a href="https://github.com/jlowin";><code>@​jlowin</code></a> in <a 
href="https://redirect.github.com/PrefectHQ/fastmcp/pull/3359";>#3359</a></li>
   <li>Allow configuring FastMCP transport setting in the same way as other 
configuration by <a href="https://github.com/jvdmr";><code>@​jvdmr</code></a> in 
<a href="https://redirect.github.com/PrefectHQ/fastmcp/pull/1796";>#1796</a></li>
   <li>Add include_unversioned option to VersionFilter by <a 
href="https://github.com/yangbaechu";><code>@​yangbaechu</code></a> in <a 
href="https://redirect.github.com/PrefectHQ/fastmcp/pull/3349";>#3349</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/665514e19a78543709be85b4261153bbe98e882f";><code>665514e</code></a>
 Add forward_resource flag to OAuthProxy (<a 
href="https://redirect.github.com/PrefectHQ/fastmcp/issues/3711";>#3711</a>)</li>
   <li><a 
href="https://github.com/PrefectHQ/fastmcp/commit/f189d1f7fbfd55c9f68c750a3a293e31c7586e8b";><code>f189d1f</code></a>
 Bump pydantic-monty to 0.0.9 (<a 
href="https://redirect.github.com/PrefectHQ/fastmcp/issues/3707";>#3707</a>)</li>
   <li><a 
href="https://github.com/PrefectHQ/fastmcp/commit/6faa2d61f82eab670694965606fd7b14bedddc7f";><code>6faa2d6</code></a>
 Remove hardcoded prefab-ui version from pinning warnings (<a 
href="https://redirect.github.com/PrefectHQ/fastmcp/issues/3708";>#3708</a>)</li>
   <li><a 
href="https://github.com/PrefectHQ/fastmcp/commit/dd8816c6ccc733048fe6208bfc8f80ded505f993";><code>dd8816c</code></a>
 chore: Update SDK documentation (<a 
href="https://redirect.github.com/PrefectHQ/fastmcp/issues/3701";>#3701</a>)</li>
   <li><a 
href="https://github.com/PrefectHQ/fastmcp/commit/d27495960af23969f11d6e1e44e2018529c1c37e";><code>d274959</code></a>
 docs: note that custom routes are unauthenticated (<a 
href="https://redirect.github.com/PrefectHQ/fastmcp/issues/3706";>#3706</a>)</li>
   <li><a 
href="https://github.com/PrefectHQ/fastmcp/commit/4a54be2d5f1ac8925a461e67cf993e0278729d4d";><code>4a54be2</code></a>
 Add examples gallery page (<a 
href="https://redirect.github.com/PrefectHQ/fastmcp/issues/3705";>#3705</a>)</li>
   <li><a 
href="https://github.com/PrefectHQ/fastmcp/commit/961dd5045611e9c1bd6b7c4f5ac3aa14f0a30ce7";><code>961dd50</code></a>
 Add interactive map example with geocoding (<a 
href="https://redirect.github.com/PrefectHQ/fastmcp/issues/3702";>#3702</a>)</li>
   <li><a 
href="https://github.com/PrefectHQ/fastmcp/commit/f01d0c581c7a821a9701d6dde4d9beb95e32d479";><code>f01d0c5</code></a>
 Add quiz example app, fix dev server empty string args (<a 
href="https://redirect.github.com/PrefectHQ/fastmcp/issues/3700";>#3700</a>)</li>
   <li><a 
href="https://github.com/PrefectHQ/fastmcp/commit/85b7efd74601a72c74ac68e23599de6c032bb9c4";><code>85b7efd</code></a>
 chore: Update SDK documentation (<a 
href="https://redirect.github.com/PrefectHQ/fastmcp/issues/3694";>#3694</a>)</li>
   <li><a 
href="https://github.com/PrefectHQ/fastmcp/commit/27abe3c3f0cc2ce1925cc3cbc7968d5637ebc82b";><code>27abe3c</code></a>
 Add sales dashboard and live system monitor examples, bump prefab-ui to 0.17 
...</li>
   <li>Additional commits viewable in <a 
href="https://github.com/PrefectHQ/fastmcp/compare/v2.14.5...v3.2.0";>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.5&new-version=3.2.0)](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)
   
   
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to