Skip to content

Apply transforms, enabled state, and auth to hashed tool lookups - #5415

Merged
jlowin merged 10 commits into
mainfrom
security/ignore-tools-dispatch
Oct 4, 2026
Merged

jlowin merged 10 commits into
mainfrom
security/ignore-tools-dispatch

Conversation

@jlowin

@jlowin jlowin commented Oct 4, 2026

Copy link
Copy Markdown
Member

FastMCPApp UIs call backend tools by a hashed name (<hash>_<local_name>) that survives renames, namespaces and proxies. This change makes those calls resolve through the same public get_tool lookup as a call by name, at every layer of composition. Transforms, get_tool overrides, session transforms, enabled filtering (including the fallback past a disabled highest version), version filters and auth now behave identically for both kinds of call. A hashed name resolves to the tool it identifies.

Renames from namespaces, ToolTransform and mount(tool_names=...) still resolve. Tool search and code mode, which replace the tool listing but pass name lookups through, still reach app tools by hash. The apps architecture docs describe the lookup.

github-report-21597

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 4, 2026 •

Copy link
Copy Markdown
Contributor

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-04T14:11:53.324890Z 9000c3d Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@marvin-context-protocol marvin-context-protocol Bot added bug Something isn't working. Reports of errors, unexpected behavior, or broken functionality. high-priority security Security fixes: input validation, SSRF/LFI prevention, auth hardening, injection defenses. server Related to FastMCP server implementation or server-side functionality. labels Oct 4, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0f4e7cb653

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread fastmcp_slim/fastmcp/server/server.py Outdated

skip_auth, token = _get_auth_context()
if not skip_auth and tool.auth is not None:
ctx = AuthContext(token=token, component=tool)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Authorize hashes against the same component as names

When component authorization depends on fields changed by a server transform, this check evaluates the transformed tool, while display-name lookup evaluates authorization in _get_tool() before server transforms. For example, an app tool tagged admin with auth=restrict_tag("admin", scopes=["admin"]) can be transformed with ToolTransformConfig(tags={"public"}): the display-name call remains denied without the scope, but the hashed call reaches this check with the admin tag removed and is allowed. Evaluate authorization at the same stage and against the same underlying component as the normal lookup path.

AGENTS.md reference: AGENTS.md:L180-L182

Useful? React with 👍 / 👎.

Co-authored-by: Claude <noreply@anthropic.com>
@jlowin jlowin added security Security fixes: input validation, SSRF/LFI prevention, auth hardening, injection defenses. and removed security Security fixes: input validation, SSRF/LFI prevention, auth hardening, injection defenses. high-priority labels Oct 4, 2026
@marvin-context-protocol

Copy link
Copy Markdown
Contributor

What failed

Job: Integration tests — 1 failed, 18 passed, 4 skipped.

tests/integration_tests/test_github_mcp_remote.py::TestGithubMCPRemote::test_call_tool_ko failed with:

mcp.shared.exceptions.MCPError: Server returned an error response

Evidenced cause

The failure is not in the test body (client.call_tool("foo"), test_github_mcp_remote.py:126). The traceback shows it raised inside async with streamable_http_client: — i.e. during the connection handshake, specifically session.initialize() → mcp/client/session.py:616 → JSONRPCDispatcher.send_raw_request → mcp/shared/jsonrpc_dispatcher.py:650-651. The real api.githubcopilot.com MCP endpoint returned a JSON-RPC error response to the initialize request itself, before the test ever got to call a tool.

This is a live network test against GitHub's hosted Copilot MCP server (GITHUB_REMOTE_MCP_URL = "https://api.githubcopilot.com/mcp/", test_github_mcp_remote.py:12), gated only by FASTMCP_GITHUB_TOKEN (present in this run per the job env). The code path that failed — fastmcp.client.client.Client._negotiate → mcp.client._probe.negotiate_auto → session.initialize() → the vendored mcp SDK's dispatcher — is entirely client-side/vendor code. None of it is touched by this PR's diff, which only changes server-side provider/hashed-tool-lookup plumbing (fastmcp_slim/fastmcp/server/providers/{base,aggregate,addressing,proxy,fastmcp_provider,wrapped_provider}.py, server/server.py) and the fastmcp_remote CLI's proxy construction — none of which execute as a client talking to an unrelated third-party server.

Supporting that this is unrelated to the PR:

  • Four other tests in the same class (test_connect_disconnect, test_list_tools, test_ping, test_list_resources, test_list_prompts, test_call_tool_list_commits) each do async with streamable_http_client:/legacy_client: against the same endpoint with the same token and all passed in this run.
  • Only test_call_tool_ko's own initialize call got an error response back from GitHub's real server.
  • Tests ran under 2 xdist workers (created: 2/2 workers), so multiple real network sessions to GitHub's live endpoint were opened concurrently in a ~14s window — consistent with (but not proof of) a transient/rate-limited response from the external service rather than a bug in this repo.
  • There is no retry/rerun wrapper on integration-marked tests (pyproject.toml:135 only registers the marker; pytest-retry is installed but not applied here), so a single transient error response fails the job outright.

What remains unknown

I could not execute anything, so I cannot confirm GitHub's actual error code/message (the installed mcp SDK's MCPError.__str__ doesn't surface code/data in this log, and that SDK's source isn't in pr-source to inspect further) or whether this reproduces on a clean re-run. I have not verified this is flaky — only that the failing code path is outside the PR's changed files and the other tests hitting the same live service in the same run succeeded.

Next action

Re-run the Integration tests job for PR #5415. If test_call_tool_ko passes on retry while the diff is unchanged, that confirms a transient error from GitHub's live MCP endpoint (likely a rate-limit style error on initialize under concurrent xdist workers) and clears this PR. If it fails again consistently with the same initialize-stage MCPError, capture the raw JSON-RPC error body (e.g. temporarily log outcome.code/outcome.message in jsonrpc_dispatcher.py locally) to determine whether GitHub's endpoint is rejecting this specific client/session shape — but that investigation path is independent of this PR's hashed-tool-lookup changes.

CI evidence

Revision: 6e1c0a0

Integration tests

@jlowin

jlowin commented Oct 4, 2026

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9000c3dd11

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

for transform in transforms:
listed = [
t
for t in await transform.list_tools([current])

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Resolve hashed names from the full transformed catalog

Transform.list_tools accepts the complete sequence and may legitimately rename a tool based on siblings, such as resolving name collisions. Passing only [current] computes a different listed name for such transforms; the subsequent get_tool(name) then returns None or another tool, so a backend that remains callable by its transformed display name becomes unreachable through its hashed app reference. Resolve the identity from the actual catalog as it passes through each transform rather than applying list transforms to an isolated tool.

AGENTS.md reference: AGENTS.md:L180-L182

Useful? React with 👍 / 👎.

@jlowin
jlowin merged commit 21dc2a0 into main Oct 4, 2026
23 checks passed
@jlowin
jlowin deleted the security/ignore-tools-dispatch branch October 4, 2026 14:26
christianclaudio added a commit to christianclaudio/mcp-server-snowflake that referenced this pull request Oct 5, 2026
<!-- CURSOR_AGENT_PR_BODY_BEGIN -->
## Summary

Raise the FastMCP floor to `fastmcp>=4.0.11` in `pyproject.toml` and
`fastmcp.json`, refresh `uv.lock` to FastMCP 4.0.11 (`fastmcp-slim`
4.0.11), and patch-bump the package **2.0.0 → 2.0.1** (`pyproject.toml`,
`src/snowflake_mcp/__init__.py`, `server.json`, `CHANGELOG.md`).
`mcp>=2.2.0` is unchanged. The skill file does not repeat a package
version. No server code changes.

FastMCP 4.0.11 security items for this server:

- **Applies — SSE Host/Origin
([#5427](PrefectHQ/fastmcp#5427 HTTP is
exposed. `--transport streamable-http` already runs with
`host_origin_protection=True` and an explicit host allowlist.
`--transport sse` is still a selectable transport, so the fix that
applies Host/Origin settings on the SSE transport applies here. The SSE
`mcp.run` call passes `transport`, `host`, and `port` only.
- **Applies — auth and hashed tool lookups
([#5425](PrefectHQ/fastmcp#5425),
[#5415](PrefectHQ/fastmcp#5415 This is a
FastMCP tool server (19 mounted domain servers). Hashed tool lookups
must honor transforms, enabled state, and auth, and component-manager
routes must use the server auth provider. This repo does not configure a
FastMCP auth provider; Snowflake credentials stay on `SnowflakeClient`.
- **Unused — OpenAPI
([#5423](PrefectHQ/fastmcp#5423 Tools are
Python handlers. There is no FastMCP OpenAPI component.
- **Unused — client schema nesting
([#5413](PrefectHQ/fastmcp#5413),
[#5434](PrefectHQ/fastmcp#5434),
[#5436](PrefectHQ/fastmcp#5436 Those fixes
are on the FastMCP client schema path. This package does not embed a
FastMCP client.

## Related

- [FastMCP
v4.0.11](https://github.com/PrefectHQ/fastmcp/releases/tag/v4.0.11)

## Tested

- `uv sync --locked --extra dev` — installed `fastmcp==4.0.11`,
`fastmcp-slim==4.0.11`, `mcp-server-snowflake==2.0.1`
- `uv run ruff check .` and `uv run ruff format --check .` — clean
- `uv run mypy src/` — clean
- `uv run python scripts/check_tool_contract.py` — 140 tools, 19 suites
- `uv run pytest` — 79 passed, 1 deselected (`e2e`), 100% coverage

<!-- CURSOR_AGENT_PR_BODY_END -->

<div><a
href="https://cursor.com/agents/bc-ebda30b7-8e45-5dda-a052-433f80309ffd?cursor_ref=pr_footer&cursor_cta=open_in_web"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cursor.com/assets/images/open-in-web-dark.png"><source
media="(prefers-color-scheme: light)"
srcset="https://cursor.com/assets/images/open-in-web-light.png"><img
alt="Open in Web" width="114" height="28"
src="https://cursor.com/assets/images/open-in-web-dark.png"></picture></a>&nbsp;<a
href="https://cursor.com/background-agent?bcId=bc-ebda30b7-8e45-5dda-a052-433f80309ffd&cursor_ref=pr_footer&cursor_cta=open_in_cursor"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cursor.com/assets/images/open-in-cursor-dark.png"><source
media="(prefers-color-scheme: light)"
srcset="https://cursor.com/assets/images/open-in-cursor-light.png"><img
alt="Open in Cursor" width="131" height="28"
src="https://cursor.com/assets/images/open-in-cursor-dark.png"></picture></a>&nbsp;</div>



<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Chores**
  * Updated the project to version 2.0.1.
* Raised the minimum FastMCP version to 4.0.11 to keep the project
compatible with the updated release.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Christian Claudio <christianclaudio@users.noreply.github.com>
christianclaudio added a commit to christianclaudio/mcp-server-smartsheet-rm that referenced this pull request Oct 5, 2026
<!-- CURSOR_AGENT_PR_BODY_BEGIN -->
## Summary
- Raise the FastMCP floor from `fastmcp>=4.0.10` to `fastmcp>=4.0.11` in
`pyproject.toml` and `fastmcp.json`.
- Refresh `uv.lock` so `fastmcp` and `fastmcp-slim` resolve to
**4.0.11**. `mcp>=2.2.0` stays locked at **2.2.0**.
- Patch SemVer **1.2.2 → 1.2.3** on `pyproject.toml`,
`src/smartsheet_rm_mcp/__init__.py`, `server.json` (root and package),
and `CHANGELOG.md`. No server code changes. README is unchanged.
`skills/smartsheet-rm/SKILL.md` does not repeat a version.

### FastMCP 4.0.11 security fixes that apply here
- **#5427 Host/Origin on SSE — applies.** The CLI exposes `--transport
sse` and `--transport streamable-http` and already passes
`host_origin_protection=True`, `allowed_hosts`, and `allowed_origins`.
4.0.11 applies those settings to the legacy SSE app (connection and
message endpoints), the same way Streamable HTTP already did. Default
registry and `fastmcp.json` transport remains `stdio`, so this matters
for HTTP/SSE deployments.
- **#5415 hashed tool lookups — applies.** This is a FastMCP tool
server. Hashed tool names now resolve through the same `get_tool` path
as named calls (transforms, enabled state, and auth), including mounted
namespaces. This server mounts `time`, `projects`, and `admin`, and can
add `RegexSearchTransform`. It does not configure a FastMCP auth
provider, so the auth check on that path stays the open-server default.
- **#5425 component-manager auth — included for every FastMCP tool
server.** Enable/disable routes on the component manager now use the
server auth provider. This repo does not call `set_up_component_manager`
and does not pass a FastMCP `auth` provider, so those routes are not
mounted here. The patched library is still what this server installs.

### Unused in this repo
- **#5423 OpenAPI argument and header filtering — unused.** Tools are
handwritten FastMCP functions. There is no FastMCP OpenAPI provider or
`RequestDirector`. `scripts/check_openapi_drift.py` only compares client
methods to the upstream Resource Management spec.
- **Schema nesting client fixes (#5434, plus #5413 and #5436) —
unused.** The published package does not embed a FastMCP client that
converts remote JSON schemas. `fastmcp.Client` is test-only
(`tests/test_protocol.py`).
- Also unused here: Windows client `.cmd` argument passing (#5419) and
the `fastmcp dev` apps-preview session (#5417).

## Related
- [FastMCP
v4.0.11](https://github.com/PrefectHQ/fastmcp/releases/tag/v4.0.11)
- [#5427](PrefectHQ/fastmcp#5427) SSE
Host/Origin, [#5415](PrefectHQ/fastmcp#5415)
hashed tool lookups,
[#5425](PrefectHQ/fastmcp#5425)
component-manager auth
- [#5423](PrefectHQ/fastmcp#5423) OpenAPI
(unused here), [#5434](PrefectHQ/fastmcp#5434)
client schema nesting (not embedded)

## Tested
- `uv sync --locked --extra dev` installed `fastmcp==4.0.11`,
`fastmcp-slim==4.0.11`, and `mcp==2.2.0`.
- `uv run ruff check .` and `uv run ruff format --check .` passed.
- `uv run mypy --strict src/` passed.
- `uv run pytest --cov=src/smartsheet_rm_mcp --cov-fail-under=100` — 79
passed, 1 deselected, 100% coverage.
- `uv run python scripts/check_tool_contract.py` passed (98 default
tools, 100 with bulk).
- `uv run python scripts/check_openapi_drift.py` passed (103 client
methods, no live spec fetch).

<!-- CURSOR_AGENT_PR_BODY_END -->

<div><a
href="https://cursor.com/agents/bc-c838a2c0-60b4-5756-9438-edd5b2ce2876?cursor_ref=pr_footer&cursor_cta=open_in_web"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cursor.com/assets/images/open-in-web-dark.png"><source
media="(prefers-color-scheme: light)"
srcset="https://cursor.com/assets/images/open-in-web-light.png"><img
alt="Open in Web" width="114" height="28"
src="https://cursor.com/assets/images/open-in-web-dark.png"></picture></a>&nbsp;<a
href="https://cursor.com/background-agent?bcId=bc-c838a2c0-60b4-5756-9438-edd5b2ce2876&cursor_ref=pr_footer&cursor_cta=open_in_cursor"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cursor.com/assets/images/open-in-cursor-dark.png"><source
media="(prefers-color-scheme: light)"
srcset="https://cursor.com/assets/images/open-in-cursor-light.png"><img
alt="Open in Cursor" width="131" height="28"
src="https://cursor.com/assets/images/open-in-cursor-dark.png"></picture></a>&nbsp;</div>



<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Chores**
  * Updated the minimum supported FastMCP version to 4.0.11.
* Updated the project release version to 1.2.3. These changes are
reflected consistently across the project’s package metadata and
reported version. No end-user features or behavior changes are included
in this release.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Christian Claudio <christianclaudio@users.noreply.github.com>
christianclaudio added a commit to christianclaudio/mcp-server-espn that referenced this pull request Oct 5, 2026
<!-- CURSOR_AGENT_PR_BODY_BEGIN -->
## Summary
- Raise the `fastmcp` floor from `>=4.0.10` to `>=4.0.11` in
`pyproject.toml` and `fastmcp.json`, and refresh `uv.lock` so `fastmcp`
and `fastmcp-slim` resolve to 4.0.11. `mcp>=2.2.0` is unchanged (still
locked at 2.2.0).
- Patch SemVer **1.2.9 → 1.2.10** on `pyproject.toml`,
`src/espn_mcp/__init__.py`, `server.json` (root and package),
`CHANGELOG.md`, and `skills/espn-mcp/SKILL.md`. The `AGENTS.md` layout
comment that records the floor is updated to match. README is unchanged.
No server code changes. No tag or publish.

FastMCP 4.0.11 security fixes, as they apply to this repo:

- **Applies — SSE Host/Origin
([#5427](PrefectHQ/fastmcp#5427 The CLI
exposes `--transport sse` and `--transport streamable-http`. `main()`
forwards `host_origin_protection`, `allowed_hosts`, and
`allowed_origins` into `FastMCP.run()`. #5427 applies that Host/Origin
policy to the legacy SSE connection and message endpoints, the same way
Streamable HTTP already honored it. Default transport, `fastmcp.json`,
`server.json`, and the Docker image stay on stdio; the fix matters when
SSE is selected.
- **Applies — auth and hashed tool lookups
([#5425](PrefectHQ/fastmcp#5425),
[#5415](PrefectHQ/fastmcp#5415 This is a
FastMCP tool server: a root gateway plus mounted games, teams, and news
servers, with optional `RegexSearchTransform`. #5415 makes hashed
tool-name lookups honor transforms, enabled state, and auth. #5425 sends
component-manager routes through the server's auth provider. No custom
`AuthProvider` is configured, so this PR does not add an application
auth policy; the dependency closes those framework bypasses.
- **Does not apply — OpenAPI
([#5423](PrefectHQ/fastmcp#5423 Nothing
here builds tools with FastMCP's OpenAPI provider.
`scripts/check_openapi_drift.py` compares ESPN REST client routes to an
OpenAPI document; that is not the FastMCP OpenAPI component path #5423
fixes.
- **Does not apply — schema nesting client fixes
([#5413](PrefectHQ/fastmcp#5413),
[#5434](PrefectHQ/fastmcp#5434),
[#5436](PrefectHQ/fastmcp#5436),
[#5421](PrefectHQ/fastmcp#5421 Those bound
FastMCP client schema conversion. This package does not embed a FastMCP
client. `fastmcp.Client` is used only in `tests/test_protocol.py`. The
ESPN client is httpx.

## Related
- FastMCP v4.0.11 (Fort Knocks):
https://github.com/PrefectHQ/fastmcp/releases/tag/v4.0.11
- Prior floor bump: #37 (`fastmcp>=4.0.10`, package 1.2.9)

## Tested
- `uv sync --locked --extra dev` — pass; installed `fastmcp==4.0.11`,
`fastmcp-slim==4.0.11`, `mcp==2.2.0`, `mcp-server-espn==1.2.10`
- `uv run ruff check .` — pass
- `uv run ruff format --check .` — pass (29 files already formatted)
- `uv run mypy --strict src/` — pass (10 source files)
- `uv run pytest --cov=src/espn_mcp --cov-fail-under=100` — pass (85
passed, 1 deselected, 100% coverage)
- `uv run python scripts/check_tool_contract.py` — pass (33 tools)
- `uv run python scripts/check_openapi_drift.py` — pass (no breaking
drift)
- `./scripts/check_conformance.sh` — pass (baseline check passed; server
banner FastMCP 4.0.11, espn-mcp 1.2.10)

<!-- CURSOR_AGENT_PR_BODY_END -->

<div><a
href="https://cursor.com/agents/bc-f1994fa7-5358-532a-930e-c7d30f707225?cursor_ref=pr_footer&cursor_cta=open_in_web"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cursor.com/assets/images/open-in-web-dark.png"><source
media="(prefers-color-scheme: light)"
srcset="https://cursor.com/assets/images/open-in-web-light.png"><img
alt="Open in Web" width="114" height="28"
src="https://cursor.com/assets/images/open-in-web-dark.png"></picture></a>&nbsp;<a
href="https://cursor.com/background-agent?bcId=bc-f1994fa7-5358-532a-930e-c7d30f707225&cursor_ref=pr_footer&cursor_cta=open_in_cursor"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cursor.com/assets/images/open-in-cursor-dark.png"><source
media="(prefers-color-scheme: light)"
srcset="https://cursor.com/assets/images/open-in-cursor-light.png"><img
alt="Open in Cursor" width="131" height="28"
src="https://cursor.com/assets/images/open-in-cursor-dark.png"></picture></a>&nbsp;</div>



<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Release**
  * Updated the package to version 1.2.10.
* The minimum supported FastMCP version is now 4.0.11. Ensure your
environment meets this requirement before upgrading.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Christian Claudio <christianclaudio@users.noreply.github.com>
pvliesdonk added a commit to pvliesdonk/markdown-vault-mcp that referenced this pull request Oct 6, 2026
## Summary

Staging release notes (`docs/releases/next.md`, mode `prepare-next`) for
the next release from `main`.

- **Range:**
[`v5.0.0...b2b4c9d`](v5.0.0...b2b4c9d),
37 commits, 31 PRs. The watermark is set to
`b2b4c9d94f715fa2cb8923d0093e2638a39b7007`.
- **Identity:** `next`. No target is tagged. The range carries one
`feat:` (#1727), so plain Release Prepare computes **5.1.0**, not the
patch the roadmap planned for 013. The page names no version; which
number ships is for the maintainer to decide.

Refs #1665, refs #1725.

## Evidence

Every claim on the page links its issue or PR inline. To review, follow
the links; there is nothing to reconstruct. Research went one pass per
theme, each walking commits → PRs (`commits/{sha}/pulls`) → closing
issues (GraphQL `closingIssuesReferences`) → parent epics, plus code at
both refs. Points worth checking specifically:

- **#1727 / #1725:** the quotes are verbatim from the body of #1725,
which @mikebronner (CONTRIBUTOR) wrote. The issue footer says it was
generated by Claude Code under that account. The maintainer's only words
on #1727 are a review request, so the page attributes no maintainer
judgement.
- **Upgrading step 1 (#1731):** verified in `_assembly.py`. An explicit
provider without `EMBEDDINGS_PATH` now resolves; auto-detection still
needs an explicit `EMBEDDINGS_PATH`.
- `.claude-plugin/plugin/.mcp.json` and
`packaging/mcpb/manifest.json.in` pass `EMBEDDING_PROVIDER` and no index
or embeddings path. Bundle and plugin users who filled in the provider
therefore embed again at every launch.
  - `compose.yml` sets both paths, unchanged since v5.0.0.
- The billed re-embed and the one background keyword rebuild come from
the research brief's reading of `domain.py` and
`indexing/coordinator.py`. I did not run them.
- **Upgrading step 2 (#1721):** the copy and logging behaviour comes
from `vault.py` at the range end. The research agent also ran the copy
locally.
- **Upgrading step 3 (#1707):** `compose.yml` changed from
`${…SOURCE_DIR:?…}` to `${…SOURCE_DIR:-./vault}`.
- **State, "the text index is not rebuilt":** `INDEX_SEMANTICS_VERSION`
is unchanged in the range (10).
- **Advisories:** urllib3 GHSA-8988-9cw3-xx77, GHSA-vxq7-64xx-v4gw and
GHSA-gh4c-6fx4-qh6g (#1687, #1688); pyjwt advisories fixed by #1674.
Nothing in `src/` imports urllib3 or requests. Bearer/OIDC verification
goes through fastmcp's `JWTVerifier` (joserfc), not pyjwt. The urllib3
path that remains is fastembed's model download.
- **`get_server_info` `protocol` block:** from [fastmcp-pvl-core
v10.2.0](https://github.com/pvliesdonk/fastmcp-pvl-core/releases/tag/v10.2.0)
and PR #420. It reaches this server through `wire_middleware_stack` and
`register_server_info_tool`.
- **Template v10.2.0 → v11.1.4:** the only part an operator sees is the
docs-site restructure, which the Documentation section covers.
Dockerfile and compose changes are comment paths only. SonarQube
replacing Codecov (#1657) is CI-only and left out.

## Breaking-change classification

No commit in the range carries `!`, and I agree.

- **Import surface:** `tests/public_import_surface.txt` is identical at
both refs.
- **Operator surface:**
- `.env.example` adds one variable, `REPORT_UNRESOLVED_LINKS`, off by
default.
- The `STATE_PATH` default moves, but the server migrates the file
itself and the format is unchanged.
  - The `EMBEDDINGS_PATH` default is new.
  - Compose `SOURCE_DIR` is now optional.
- None of these needs a step before an upgraded server starts, so none
earns `!`.
- #1731 changes cost and data flow for one configuration. It is the
first Upgrading step and is on the Security posture line.
- **Library:** `VaultSettings.effective_state_path` now returns `Path |
None` instead of `Path`, and it shipped in 4.2.0. `VaultSettings` is not
in the guarded root import surface, and #1721's PR body records the
change as non-breaking. Flagged here only so the maintainer can confirm.
- **MCP surface:** no tool, prompt or argument was renamed or removed.
The example `zettelkasten` prompt is now tagged `write`.

## Docs-staleness candidates (observations)

- `docs/upgrade/index.md`, "Where that state lives": says the state copy
means "nothing is indexed or embedded again". That is true for the state
file, but a deployment covered by Upgrading step 1 does embed on its
first start, and #1731 did not touch this page.
- `docs/use/para.md`, around line 178: lists "write, edit, append and
fetch" as carrying `conventions`, while #1723 names `write`, `edit`,
`fetch` and `get_context`. [unverified which list is current]
- `packaging/mcpb/manifest.json.in` and the plugin install-screen text
("Leave empty to disable embeddings") don't mention that, without an
index path, setting a provider now re-embeds at every launch. Tracked
under #1728 (blocked on template#781).
- No guide under `docs/use/` mentions `REPORT_UNRESOLVED_LINKS`.
`docs/use/zettelkasten.md` sends readers to `get_broken_links()`, and
`docs/index.md` lists link features without the new setting.
- `examples/bearer-auth.env`, `examples/oidc.env` and the commented
`SOURCE_DIR` line in `.env.example` still show the container path
`/data/vault` as a host path (template#767).
- Section anchors on moved pages may not resolve after the redirects.
[unverified]

## Left out, and why

- **fastmcp 4.0.11**
([release](https://github.com/PrefectHQ/fastmcp/releases/tag/v4.0.11),
via Renovate #1719):
-
[PrefectHQ/fastmcp#5415](PrefectHQ/fastmcp#5415)
makes app-tool calls by hashed name honour the visibility and auth
checks. This server hides tools with `mcp.disable` (`READ_ONLY`,
`TOOLS_ALLOW`/`TOOLS_DENY`) and uses hashed app-tool names.
- If a hidden tool was reachable by hash in 5.0.0, that is a Security
posture item. I could not confirm it was reachable here, and no local
issue tracks it, so the page leaves it out. The maintainer may want to
verify and add it.
- **Template and maintainer machinery:** roadmap PRs (#1670, #1686,
#1715), template adoptions (as machinery), Renovate and Dependabot bumps
other than those named above, and #1735 (an internal reference under
`docs/design/`, no manifest change).
- **Intermediate docs states:** the 15 PRs of the docs migration are
described as the site now stands, not PR by PR.
- **The 010 doc fixes:** they are listed as "wrong in 5.0, corrected",
without the order they landed in.

## Read in code, not run

These claims come from reading the code at the range end; nobody ran
them for this PR:
- The per-start billed re-embed when there is no index path.
- The one background keyword rebuild when embeddings first turn on.
- The bundle and plugin re-embedding at every launch.
- A read-only server hiding the `zettelkasten` example. This is read
from its `write` tag.

## Gates

- `vale docs/releases/`: 0 errors, 0 warnings.
- `uv run mkdocs build --strict`: exit 0.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Agent-authored: Claude Code

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
luketainton pushed a commit to luketainton/repos_labmcp that referenced this pull request Oct 10, 2026
This PR contains the following updates:

| Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [fastmcp](https://github.com/PrefectHQ/fastmcp) | `>=4.0.10,<4.1` → `>=4.1,<4.2` | ![age](https://developer.mend.io/api/mc/badges/age/pypi/fastmcp/4.1.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/fastmcp/4.0.10/4.1.0?slim=true) |

---

### Release Notes

<details>
<summary>PrefectHQ/fastmcp (fastmcp)</summary>

### [`v4.1.0`](https://github.com/PrefectHQ/fastmcp/releases/tag/v4.1.0): : Fourth and One

[Compare Source](PrefectHQ/fastmcp@v4.0.11...v4.1.0)

FastMCP 4.1.0 is a maintenance release at heart: a broad sweep of fixes across OpenAPI, proxies, auth, tasks, and the CLI, plus full Python 3.15 support. It doesn't change how most servers behave. A few security fixes do tighten inputs that FastMCP previously accepted, though, and our versioning policy keeps breaking changes out of patch releases, so this ships as a point-one release.

Check these before upgrading:

- **MultiAuth** now qualifies client IDs by source, so existing MultiAuth sessions and tasks start new ownership scopes. Finish pending tasks before upgrading.
- **Regex tool search** uses Pydantic's regex engine, which doesn't support lookarounds or backreferences.
- **Skill files** must resolve inside their configured directories.
- **OpenAPI path parameters** reject `.` and `..` segments.
- **HTTP sessions** now expire after the MCP SDK's 30-minute idle default instead of never.
- **CodeMode** requires Monty 1.1, which renames `max_duration_secs` to `max_feed_duration_secs`.

Thanks to our 48 contributors, including 21 first-time contributors!

<!-- Release notes generated using configuration in .github/release.yml at main -->

#### What's Changed

##### Breaking Changes ⚠️

- fix(http): preserve the SDK's default session idle timeout by [@&#8203;asts-top](https://github.com/asts-top) in [#&#8203;5229](PrefectHQ/fastmcp#5229)
- Restore full Python 3.15 support by [@&#8203;Kludex](https://github.com/Kludex) in [#&#8203;5558](PrefectHQ/fastmcp#5558)

##### Enhancements ✨

- enhancement: Configure token introspection audiences by [@&#8203;jlowin](https://github.com/jlowin) and [@&#8203;sajdakabir](https://github.com/sajdakabir) in [#&#8203;5461](PrefectHQ/fastmcp#5461)
- fix: Make proxy HTTP header forwarding configurable by [@&#8203;jlowin](https://github.com/jlowin) in [#&#8203;5462](PrefectHQ/fastmcp#5462)
- enhancement: Configure upload retention in memory by [@&#8203;jlowin](https://github.com/jlowin) and [@&#8203;warlocksmurf](https://github.com/warlocksmurf) in [#&#8203;5463](PrefectHQ/fastmcp#5463)
- Clarify maintainer review decisions by [@&#8203;jlowin](https://github.com/jlowin) in [#&#8203;5466](PrefectHQ/fastmcp#5466)
- feat: persist encrypted CLI OAuth tokens by [@&#8203;andreivince](https://github.com/andreivince) in [#&#8203;5405](PrefectHQ/fastmcp#5405)
- feat(auth): add TokenCache support to GoogleTokenVerifier and GoogleProvider by [@&#8203;jerive](https://github.com/jerive) in [#&#8203;5366](PrefectHQ/fastmcp#5366)
- Add gitleaks secret scanning to prek by [@&#8203;strawgate](https://github.com/strawgate) in [#&#8203;5355](PrefectHQ/fastmcp#5355)
- Keep review design decisions with maintainers by [@&#8203;jlowin](https://github.com/jlowin) in [#&#8203;5468](PrefectHQ/fastmcp#5468)

##### Security 🔒

- fix!: Qualify MultiAuth client identities by [@&#8203;jlowin](https://github.com/jlowin) in [#&#8203;5455](PrefectHQ/fastmcp#5455)
- fix!: Validate OpenAPI path parameter segments by [@&#8203;jlowin](https://github.com/jlowin) in [#&#8203;5457](PrefectHQ/fastmcp#5457)
- fix!: Resolve skill files within their configured directories by [@&#8203;jlowin](https://github.com/jlowin) and [@&#8203;GEONWOOHAN](https://github.com/GEONWOOHAN) in [#&#8203;5459](PrefectHQ/fastmcp#5459)
- fix!: Use Pydantic’s regex engine for tool search by [@&#8203;jlowin](https://github.com/jlowin) in [#&#8203;5467](PrefectHQ/fastmcp#5467)

##### Fixes 🐞

- fix: Share JWKS refreshes across key lookups by [@&#8203;jlowin](https://github.com/jlowin) in [#&#8203;5456](PrefectHQ/fastmcp#5456)
- fix: Reuse shared OpenAPI composition members by [@&#8203;jlowin](https://github.com/jlowin) in [#&#8203;5460](PrefectHQ/fastmcp#5460)
- Resolve app tool names against the transformed catalog by [@&#8203;jlowin](https://github.com/jlowin) in [#&#8203;5464](PrefectHQ/fastmcp#5464)
- fix: keep generator iteration inside dependency lifetime by [@&#8203;mikamikasuki](https://github.com/mikamikasuki) in [#&#8203;5438](PrefectHQ/fastmcp#5438)
- fix(tools): consume synchronous generators within dispatched invocation by [@&#8203;HootRock](https://github.com/HootRock) in [#&#8203;5376](PrefectHQ/fastmcp#5376)
- fix(tools): reject results returned after timeout deadlines by [@&#8203;HootRock](https://github.com/HootRock) in [#&#8203;5379](PrefectHQ/fastmcp#5379)
- Fix [#&#8203;5368](PrefectHQ/fastmcp#5368): Tool.from_tool: a transform_fn that declares ctx: Context fails on eve by [@&#8203;nandanadileep](https://github.com/nandanadileep) and [@&#8203;chrikrah](https://github.com/chrikrah) in [#&#8203;5371](PrefectHQ/fastmcp#5371)
- fix(auth): preserve AuthKit issuer identity by [@&#8203;mikamikasuki](https://github.com/mikamikasuki) and [@&#8203;paddynatte](https://github.com/paddynatte) in [#&#8203;5452](PrefectHQ/fastmcp#5452)
- fix(auth): advertise resource_metadata only when a route serves it by [@&#8203;alex-feel](https://github.com/alex-feel) in [#&#8203;5363](PrefectHQ/fastmcp#5363)
- fix: decode escaped JSON Pointer tokens during hydration by [@&#8203;HuaTNA](https://github.com/HuaTNA) in [#&#8203;5407](PrefectHQ/fastmcp#5407)
- fix: read MCP config files as UTF-8 in the install commands by [@&#8203;ch-z-hc](https://github.com/ch-z-hc) in [#&#8203;5359](PrefectHQ/fastmcp#5359)
- Add regression coverage for root-context schema caching by [@&#8203;hulkbig](https://github.com/hulkbig) in [#&#8203;5397](PrefectHQ/fastmcp#5397)
- Keep the original cause when ErrorHandlingMiddleware re-raises an error unchanged by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5344](PrefectHQ/fastmcp#5344)
- Resolve ASGIServer.http_client relative URLs against the server origin by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5341](PrefectHQ/fastmcp#5341)
- Raise startup failures from run_server_async instead of hanging by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5340](PrefectHQ/fastmcp#5340)
- Restrict Windows CLI state access without requiring SeSecurityPrivilege by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5312](PrefectHQ/fastmcp#5312)
- Advertise the same list_changed capabilities over stdio as other transports by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5311](PrefectHQ/fastmcp#5311)
- Validate responses to dict and nested-list elicitation choices by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5343](PrefectHQ/fastmcp#5343)
- Inline enums shared by several fields in elicitation schemas by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5342](PrefectHQ/fastmcp#5342)
- Honor the SDK ElicitResult returned by an elicitation handler by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5339](PrefectHQ/fastmcp#5339)
- Look up call_tool output schemas across all tools/list pages by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5338](PrefectHQ/fastmcp#5338)
- Deduplicate versions in PromptsAsTools and ResourcesAsTools list tools by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5331](PrefectHQ/fastmcp#5331)
- Map File text formats to canonical text MIME types by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5334](PrefectHQ/fastmcp#5334)
- Keep generated OpenAPI component names unique when a suffixed name is taken by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5337](PrefectHQ/fastmcp#5337)
- Keep is_error when ResponseLimitingMiddleware truncates a result by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5309](PrefectHQ/fastmcp#5309)
- Read +json OpenAPI resource responses as JSON text by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5310](PrefectHQ/fastmcp#5310)
- Preserve provider challenge defaults through MultiAuth by [@&#8203;taylorwilsdon](https://github.com/taylorwilsdon) in [#&#8203;5454](PrefectHQ/fastmcp#5454)
- Write generate-cli output as UTF-8 by [@&#8203;asasemahmed](https://github.com/asasemahmed) and [@&#8203;ch-z-hc](https://github.com/ch-z-hc) in [#&#8203;5335](PrefectHQ/fastmcp#5335)
- Strip internal visibility meta from prompt results and static resources by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5330](PrefectHQ/fastmcp#5330)
- Register browser OAuth clients as public clients by [@&#8203;goran-revops](https://github.com/goran-revops) in [#&#8203;5231](PrefectHQ/fastmcp#5231)
- fix(client): preserve unique JSON arrays by [@&#8203;lzyruc](https://github.com/lzyruc) in [#&#8203;5270](PrefectHQ/fastmcp#5270)
- Keep filesystem reloads serialized during cancellation by [@&#8203;sherxlg-gif](https://github.com/sherxlg-gif) in [#&#8203;5184](PrefectHQ/fastmcp#5184)
- Treat upstream HTTP errors from OpenAPI tools as HTTP status errors by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5308](PrefectHQ/fastmcp#5308)
- chore(ty): pin the checked platform to the one CI uses ([#&#8203;5302](PrefectHQ/fastmcp#5302)) by [@&#8203;sclfcz](https://github.com/sclfcz) in [#&#8203;5303](PrefectHQ/fastmcp#5303)
- fix(tools): take partial tool names and docstrings from the wrapped function by [@&#8203;BlueX888](https://github.com/BlueX888) and [@&#8203;Ares16x16](https://github.com/Ares16x16) in [#&#8203;5269](PrefectHQ/fastmcp#5269)
- fix(tools): keep structured content for object schemas without explicit type by [@&#8203;BlueX888](https://github.com/BlueX888) in [#&#8203;5271](PrefectHQ/fastmcp#5271)
- fix: return current tool schemas from cached BM25 searches by [@&#8203;baba9811](https://github.com/baba9811) in [#&#8203;5153](PrefectHQ/fastmcp#5153)
- fix(azure): send prompt=select_account to Entra instead of the consent URL by [@&#8203;mayankkumar-cmd](https://github.com/mayankkumar-cmd) in [#&#8203;5162](PrefectHQ/fastmcp#5162)
- fix(auth): preserve upstream refresh error semantics by [@&#8203;77cjj](https://github.com/77cjj) in [#&#8203;5011](PrefectHQ/fastmcp#5011)
- Clean up run_server_async when startup exits early by [@&#8203;syf2211](https://github.com/syf2211) and [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5469](PrefectHQ/fastmcp#5469)
- Pass resource security policy through FileSystemProvider discovery by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5498](PrefectHQ/fastmcp#5498)
- Forward annotations on proxied resources and resource templates by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5499](PrefectHQ/fastmcp#5499)
- Forward the resources/read result meta through proxies by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5500](PrefectHQ/fastmcp#5500)
- Fix proxy dropping log messages whose data is not a msg/extra dict by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5501](PrefectHQ/fastmcp#5501)
- Forward stop_sequences in the proxy's sampling relay by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5502](PrefectHQ/fastmcp#5502)
- Treat non-Bearer Authorization schemes as missing authentication by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5503](PrefectHQ/fastmcp#5503)
- Reject positional-only parameters in prompts and resource templates by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5505](PrefectHQ/fastmcp#5505)
- Carry domain and prefers_border onto the Prefab renderer resource by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5611](PrefectHQ/fastmcp#5611)
- Keep GenerativeUI CSP on the renderer resource only by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5612](PrefectHQ/fastmcp#5612)
- Keep OpenAPI path segments that contain a colon by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5613](PrefectHQ/fastmcp#5613)
- Print install mcp-json and inspect JSON without Rich wrapping by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5615](PrefectHQ/fastmcp#5615)
- Coerce optional parameters in fastmcp call by their non-null type by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5616](PrefectHQ/fastmcp#5616)
- Return the existing component when an ignored duplicate is added by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5617](PrefectHQ/fastmcp#5617)
- Keep a config client's servers connected when a new() clone connects by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5618](PrefectHQ/fastmcp#5618)
- Strip discriminator under properties named default, const, enum or examples by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5619](PrefectHQ/fastmcp#5619)
- Keep a finished task's status when it is cancelled by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5621](PrefectHQ/fastmcp#5621)
- Forward --skip-source to the uv run subprocess in fastmcp run by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5623](PrefectHQ/fastmcp#5623)
- Send numeric and boolean OpenAPI raw bodies as text by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5624](PrefectHQ/fastmcp#5624)
- Map Anthropic stop_sequence to the MCP stopSequence stop reason by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5625](PrefectHQ/fastmcp#5625)
- Escape the server spec and name in the generate-cli header docstring by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5626](PrefectHQ/fastmcp#5626)
- Fix context docs: request_context.meta is a dict, not an attribute object by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5631](PrefectHQ/fastmcp#5631)
- Validate strict tool input in JSON mode by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5504](PrefectHQ/fastmcp#5504)
- Raise when a required OpenAPI path parameter is missing by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5614](PrefectHQ/fastmcp#5614)
- Omit writeOnly properties from OpenAPI tool output schemas by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5336](PrefectHQ/fastmcp#5336)
- fix(tasks): keep stored arguments alive with the other per-task keys by [@&#8203;sclfcz](https://github.com/sclfcz) in [#&#8203;5144](PrefectHQ/fastmcp#5144)
- fix(auth): omit scopes from generic authorization code exchange by [@&#8203;liang0417](https://github.com/liang0417) and [@&#8203;kiranthakkar](https://github.com/kiranthakkar) in [#&#8203;5183](PrefectHQ/fastmcp#5183)
- Reject missing and unexpected arguments at task submission by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5622](PrefectHQ/fastmcp#5622)
- fix(auth): preserve verifier-defined challenge scopes through wrappers by [@&#8203;mikamikasuki](https://github.com/mikamikasuki) in [#&#8203;5478](PrefectHQ/fastmcp#5478)
- fix(server): VersionFilter get_tool/get_resource/get_prompt respect include_unversioned=False by [@&#8203;Ashfaqbs](https://github.com/Ashfaqbs) and [@&#8203;Purin1410](https://github.com/Purin1410) in [#&#8203;4949](PrefectHQ/fastmcp#4949)
- Stop asserting that the GitHub remote server lacks structured content by [@&#8203;jlowin](https://github.com/jlowin) in [#&#8203;5634](PrefectHQ/fastmcp#5634)
- Skip skills whose SKILL.md is not valid UTF-8 during directory discovery by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5497](PrefectHQ/fastmcp#5497)
- Fix tool body validation errors at the MCP boundary by [@&#8203;qingshungLI](https://github.com/qingshungLI) and [@&#8203;alastair](https://github.com/alastair) in [#&#8203;5485](PrefectHQ/fastmcp#5485)
- Detect client extensions without requiring clientInfo by [@&#8203;alex-feel](https://github.com/alex-feel) in [#&#8203;5196](PrefectHQ/fastmcp#5196)
- Propagate child cancellation from gather by [@&#8203;dennisimoo](https://github.com/dennisimoo) and [@&#8203;lokesh0186](https://github.com/lokesh0186) in [#&#8203;5161](PrefectHQ/fastmcp#5161)
- fix(resources): separate URI fragments from query values by [@&#8203;Harsh23Kashyap](https://github.com/Harsh23Kashyap) in [#&#8203;5132](PrefectHQ/fastmcp#5132)
- fix: preserve input requests in resource and prompt tools by [@&#8203;HootRock](https://github.com/HootRock) and [@&#8203;andreivince](https://github.com/andreivince) in [#&#8203;5476](PrefectHQ/fastmcp#5476)
- fix(docstrings): don't leak Returns/Raises into description for parameterless functions by [@&#8203;Ashfaqbs](https://github.com/Ashfaqbs) and [@&#8203;pvliesdonk](https://github.com/pvliesdonk) in [#&#8203;5067](PrefectHQ/fastmcp#5067)
- fix(client): hydrate formatted scalars and positional array items by [@&#8203;FanouZeng-TT](https://github.com/FanouZeng-TT), [@&#8203;MarcHuang168](https://github.com/MarcHuang168), [@&#8203;lzyruc](https://github.com/lzyruc), and [@&#8203;onk3sh](https://github.com/onk3sh) in [#&#8203;5203](PrefectHQ/fastmcp#5203)

##### Docs 📚

- docs: credit contributors in v4.0.11 changelog entries by [@&#8203;jlowin](https://github.com/jlowin) in [#&#8203;5449](PrefectHQ/fastmcp#5449)
- Clarify CodeMode execution context by [@&#8203;jlowin](https://github.com/jlowin) in [#&#8203;5458](PrefectHQ/fastmcp#5458)
- docs: explain Inspector entrypoint initialization by [@&#8203;andreivince](https://github.com/andreivince) and [@&#8203;nick-youngblut](https://github.com/nick-youngblut) in [#&#8203;5404](PrefectHQ/fastmcp#5404)
- Docs: show post-call inspection of tool text results by [@&#8203;Amazinghorseli](https://github.com/Amazinghorseli) and [@&#8203;roli-lpci](https://github.com/roli-lpci) in [#&#8203;5385](PrefectHQ/fastmcp#5385)
- Document FastMCP Client use cases by [@&#8203;andreivince](https://github.com/andreivince) in [#&#8203;5482](PrefectHQ/fastmcp#5482)
- docs: show tests for MCP mounted in FastAPI by [@&#8203;andreivince](https://github.com/andreivince) and [@&#8203;DeoLeung](https://github.com/DeoLeung) in [#&#8203;5471](PrefectHQ/fastmcp#5471)
- Document OpenTelemetry log export by [@&#8203;andreivince](https://github.com/andreivince) in [#&#8203;5483](PrefectHQ/fastmcp#5483)
- docs: explain OpenAPI client timeouts by [@&#8203;andreivince](https://github.com/andreivince) and [@&#8203;dimitribarbot](https://github.com/dimitribarbot) in [#&#8203;5470](PrefectHQ/fastmcp#5470)
- Clarify Python projects and Cursor workspaces in install docs by [@&#8203;andreivince](https://github.com/andreivince) and [@&#8203;nick-youngblut](https://github.com/nick-youngblut) in [#&#8203;5475](PrefectHQ/fastmcp#5475)
- Remove comments from fastmcp.json docs examples by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5627](PrefectHQ/fastmcp#5627)
- Fix mcp-json Advanced Configuration example output by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5628](PrefectHQ/fastmcp#5628)
- Remove FASTMCP_SERVER_DEPENDENCIES from the settings reference by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5629](PrefectHQ/fastmcp#5629)
- Fix versioning docs: get_tool takes a VersionSpec and returns None for a missing version by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5630](PrefectHQ/fastmcp#5630)
- Fix authorization docs: AccessToken field types and built-in check count by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5632](PrefectHQ/fastmcp#5632)

##### Examples & Contrib 💡

- Don't evaluate properties when registering MCPMixin methods by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5620](PrefectHQ/fastmcp#5620)

##### Dependencies 📦

- chore(deps): bump the uv group across 2 directories with 2 updates by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;5393](PrefectHQ/fastmcp#5393)

#### New Contributors

- [@&#8203;mikamikasuki](https://github.com/mikamikasuki) made their first contribution in [#&#8203;5438](PrefectHQ/fastmcp#5438)
- [@&#8203;HootRock](https://github.com/HootRock) made their first contribution in [#&#8203;5376](PrefectHQ/fastmcp#5376)
- [@&#8203;alex-feel](https://github.com/alex-feel) made their first contribution in [#&#8203;5363](PrefectHQ/fastmcp#5363)
- [@&#8203;HuaTNA](https://github.com/HuaTNA) made their first contribution in [#&#8203;5407](PrefectHQ/fastmcp#5407)
- [@&#8203;andreivince](https://github.com/andreivince) made their first contribution in [#&#8203;5404](PrefectHQ/fastmcp#5404)
- [@&#8203;ch-z-hc](https://github.com/ch-z-hc) made their first contribution in [#&#8203;5359](PrefectHQ/fastmcp#5359)
- [@&#8203;Amazinghorseli](https://github.com/Amazinghorseli) made their first contribution in [#&#8203;5385](PrefectHQ/fastmcp#5385)
- [@&#8203;hulkbig](https://github.com/hulkbig) made their first contribution in [#&#8203;5397](PrefectHQ/fastmcp#5397)
- [@&#8203;jerive](https://github.com/jerive) made their first contribution in [#&#8203;5366](PrefectHQ/fastmcp#5366)
- [@&#8203;goran-revops](https://github.com/goran-revops) made their first contribution in [#&#8203;5231](PrefectHQ/fastmcp#5231)
- [@&#8203;lzyruc](https://github.com/lzyruc) made their first contribution in [#&#8203;5270](PrefectHQ/fastmcp#5270)
- [@&#8203;sherxlg-gif](https://github.com/sherxlg-gif) made their first contribution in [#&#8203;5184](PrefectHQ/fastmcp#5184)
- [@&#8203;baba9811](https://github.com/baba9811) made their first contribution in [#&#8203;5153](PrefectHQ/fastmcp#5153)
- [@&#8203;mayankkumar-cmd](https://github.com/mayankkumar-cmd) made their first contribution in [#&#8203;5162](PrefectHQ/fastmcp#5162)
- [@&#8203;77cjj](https://github.com/77cjj) made their first contribution in [#&#8203;5011](PrefectHQ/fastmcp#5011)
- [@&#8203;liang0417](https://github.com/liang0417) made their first contribution in [#&#8203;5183](PrefectHQ/fastmcp#5183)
- [@&#8203;Ashfaqbs](https://github.com/Ashfaqbs) made their first contribution in [#&#8203;4949](PrefectHQ/fastmcp#4949)
- [@&#8203;qingshungLI](https://github.com/qingshungLI) made their first contribution in [#&#8203;5485](PrefectHQ/fastmcp#5485)
- [@&#8203;dennisimoo](https://github.com/dennisimoo) made their first contribution in [#&#8203;5161](PrefectHQ/fastmcp#5161)
- [@&#8203;FanouZeng-TT](https://github.com/FanouZeng-TT) made their first contribution in [#&#8203;5203](PrefectHQ/fastmcp#5203)
- [@&#8203;GEONWOOHAN](https://github.com/GEONWOOHAN) made their first contribution in [#&#8203;5459](PrefectHQ/fastmcp#5459)

**Full Changelog**: <PrefectHQ/fastmcp@v4.0.11...v4.1.0>

### [`v4.0.11`](https://github.com/PrefectHQ/fastmcp/releases/tag/v4.0.11): : Fort Knocks

[Compare Source](PrefectHQ/fastmcp@v4.0.10...v4.0.11)

This release contains important security and bug fixes. All users are encouraged to upgrade. Thanks to our 10 contributors, including 6 first-time contributors.

<!-- Release notes generated using configuration in .github/release.yml at main -->

#### What's Changed

##### Enhancements ✨

- agents: make AGENTS.md the entry point and tighten repo skills by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;5278](PrefectHQ/fastmcp#5278)
- ci: publish maintenance status and add MAINTAINING.md by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;5284](PrefectHQ/fastmcp#5284)
- rate_limiting: deprecate a burst_capacity below 1 by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) and [@&#8203;sclfcz](https://github.com/sclfcz) in [#&#8203;5296](PrefectHQ/fastmcp#5296)
- agents: consolidate PR review guidance by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;5297](PrefectHQ/fastmcp#5297)
- status: unify dashboard and terminal issue ranking by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;5300](PrefectHQ/fastmcp#5300)
- Enable ruff flake8-bandit (S) rules on the library by [@&#8203;strawgate](https://github.com/strawgate) in [#&#8203;5356](PrefectHQ/fastmcp#5356)
- Bundle extensions with providers by [@&#8203;jlowin](https://github.com/jlowin) in [#&#8203;5360](PrefectHQ/fastmcp#5360)
- Expand supported Python CI coverage by [@&#8203;jlowin](https://github.com/jlowin) in [#&#8203;5391](PrefectHQ/fastmcp#5391)
- docs: credit issue authors in maintainer implementations by [@&#8203;jlowin](https://github.com/jlowin) in [#&#8203;5410](PrefectHQ/fastmcp#5410)
- enhancement: scan release notes for shared contributor credit by [@&#8203;jlowin](https://github.com/jlowin) in [#&#8203;5433](PrefectHQ/fastmcp#5433)

##### Security 🔒

- Pass client CLI arguments literally to Windows .cmd wrappers by [@&#8203;jlowin](https://github.com/jlowin) and [@&#8203;strawgate](https://github.com/strawgate) in [#&#8203;5419](PrefectHQ/fastmcp#5419)
- Build client schema types with create_model and bounded caches by [@&#8203;jlowin](https://github.com/jlowin) and [@&#8203;strawgate](https://github.com/strawgate) in [#&#8203;5413](PrefectHQ/fastmcp#5413)
- Bound schema nesting before client type conversion by [@&#8203;jlowin](https://github.com/jlowin) and [@&#8203;strawgate](https://github.com/strawgate) in [#&#8203;5434](PrefectHQ/fastmcp#5434)
- OpenAPI components send only declared arguments and keep configured headers by [@&#8203;jlowin](https://github.com/jlowin) and [@&#8203;strawgate](https://github.com/strawgate) in [#&#8203;5423](PrefectHQ/fastmcp#5423)
- Use the server's auth provider for component manager routes by [@&#8203;jlowin](https://github.com/jlowin) and [@&#8203;strawgate](https://github.com/strawgate) in [#&#8203;5425](PrefectHQ/fastmcp#5425)
- Apply Host/Origin protection settings to the SSE transport by [@&#8203;jlowin](https://github.com/jlowin) in [#&#8203;5427](PrefectHQ/fastmcp#5427)
- Require a startup-URL session for the fastmcp dev apps preview by [@&#8203;jlowin](https://github.com/jlowin) and [@&#8203;strawgate](https://github.com/strawgate) in [#&#8203;5417](PrefectHQ/fastmcp#5417)
- Apply transforms, enabled state, and auth to hashed tool lookups by [@&#8203;jlowin](https://github.com/jlowin) and [@&#8203;strawgate](https://github.com/strawgate) in [#&#8203;5415](PrefectHQ/fastmcp#5415)
- Key cached schema adapters by the normalized schema by [@&#8203;jlowin](https://github.com/jlowin) in [#&#8203;5436](PrefectHQ/fastmcp#5436)
- Resolve injected tools through the server's tool lookup by [@&#8203;jlowin](https://github.com/jlowin) in [#&#8203;5431](PrefectHQ/fastmcp#5431)
- Keep $ref pointers when inlining would produce an oversized schema by [@&#8203;jlowin](https://github.com/jlowin) and [@&#8203;strawgate](https://github.com/strawgate) in [#&#8203;5421](PrefectHQ/fastmcp#5421)

##### Fixes 🐞

- rate_limiting: default burst capacity to at least 1 by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) and [@&#8203;Patrick-SCH03](https://github.com/Patrick-SCH03) in [#&#8203;5293](PrefectHQ/fastmcp#5293)
- types: map Image jpg/svg/tif formats to canonical MIME types by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) and [@&#8203;Patrick-SCH03](https://github.com/Patrick-SCH03) in [#&#8203;5294](PrefectHQ/fastmcp#5294)
- client: decode empty structured content into CallToolResult.data by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) and [@&#8203;Patrick-SCH03](https://github.com/Patrick-SCH03) in [#&#8203;5291](PrefectHQ/fastmcp#5291)
- fix: use portable issue ranking cache filenames by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;5314](PrefectHQ/fastmcp#5314)
- fix: validate cached version timestamp types by [@&#8203;Harsh23Kashyap](https://github.com/Harsh23Kashyap) in [#&#8203;5351](https://github.com/PrefectHQ/fastmcp/pull/5351)
- cli: read MCP and fastmcp.json config files as utf-8 by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) and [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5345](https://github.com/PrefectHQ/fastmcp/pull/5345)
- Support Python 3.15 by [@&#8203;Kludex](https://github.com/Kludex) in [#&#8203;5374](https://github.com/PrefectHQ/fastmcp/pull/5374)
- Revert "Support Python 3.15" by [@&#8203;jlowin](https://github.com/jlowin) in [#&#8203;5389](https://github.com/PrefectHQ/fastmcp/pull/5389)
- examples: handle malformed media links and concurrent Fire TV setup by [@&#8203;jlowin](https://github.com/jlowin) in [#&#8203;5390](https://github.com/PrefectHQ/fastmcp/pull/5390)
- Fix mounted extension runtime tracking by [@&#8203;jlowin](https://github.com/jlowin) in [#&#8203;5392](https://github.com/PrefectHQ/fastmcp/pull/5392)
- Fall back to pure Python YAML loader in schema tests by [@&#8203;jlowin](https://github.com/jlowin) in [#&#8203;5395](https://github.com/PrefectHQ/fastmcp/pull/5395)
- tools: keep explicit Field(title=...) on parameters in the input schema by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) and [@&#8203;TJReinert](https://github.com/TJReinert) in [#&#8203;5388](https://github.com/PrefectHQ/fastmcp/pull/5388)
- Run Windows tests on code pull requests by [@&#8203;jlowin](https://github.com/jlowin) in [#&#8203;5408](https://github.com/PrefectHQ/fastmcp/pull/5408)
- Avoid repeated traversal of shared tool schema definitions by [@&#8203;jlowin](https://github.com/jlowin) in [#&#8203;5412](https://github.com/PrefectHQ/fastmcp/pull/5412)
- Keep referenced body fields when a request body schema adds sibling properties by [@&#8203;jlowin](https://github.com/jlowin) in [#&#8203;5440](https://github.com/PrefectHQ/fastmcp/pull/5440)
- Require pydocket 0.26.0 so a cancelled task cannot stop the worker by [@&#8203;jlowin](https://github.com/jlowin) in [#&#8203;5444](https://github.com/PrefectHQ/fastmcp/pull/5444)

##### Docs 📚

- docs: consolidate developer and maintainer guidance by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;5298](https://github.com/PrefectHQ/fastmcp/pull/5298)
- examples: add interactive media picker MCP app by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;5281](https://github.com/PrefectHQ/fastmcp/pull/5281)
- docs: route SDK v1 users to the correct upgrade guide by [@&#8203;aritejhg](https://github.com/aritejhg) in [#&#8203;5372](https://github.com/PrefectHQ/fastmcp/pull/5372)
- Clarify app visibility and configurable security guarantees by [@&#8203;jlowin](https://github.com/jlowin) in [#&#8203;5409](https://github.com/PrefectHQ/fastmcp/pull/5409)
- Clarify declared header parameters in the OpenAPI docs by [@&#8203;jlowin](https://github.com/jlowin) and [@&#8203;strawgate](https://github.com/strawgate) in [#&#8203;5437](https://github.com/PrefectHQ/fastmcp/pull/5437)
- docs: add v4.0.11 changelog entries by [@&#8203;jlowin](https://github.com/jlowin) in [#&#8203;5446](https://github.com/PrefectHQ/fastmcp/pull/5446)

##### Dependencies 📦

- chore(deps): bump the uv group across 2 directories with 2 updates by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;5361](https://github.com/PrefectHQ/fastmcp/pull/5361)

##### Other Changes 🦾

- chore(deps): Update astral-sh/setup-uv action to v10.2.0 by [@&#8203;prefect-renovate](https://github.com/prefect-renovate)\[bot] in [#&#8203;5347](https://github.com/PrefectHQ/fastmcp/pull/5347)

#### New Contributors

- [@&#8203;Harsh23Kashyap](https://github.com/Harsh23Kashyap) made their first contribution in [#&#8203;5351](https://github.com/PrefectHQ/fastmcp/pull/5351)
- [@&#8203;aritejhg](https://github.com/aritejhg) made their first contribution in [#&#8203;5372](https://github.com/PrefectHQ/fastmcp/pull/5372)
- [@&#8203;Patrick-SCH03](https://github.com/Patrick-SCH03) made their first contribution in [#&#8203;5291](PrefectHQ/fastmcp#5291)
- [@&#8203;sclfcz](https://github.com/sclfcz) made their first contribution in [#&#8203;5296](PrefectHQ/fastmcp#5296)
- [@&#8203;asasemahmed](https://github.com/asasemahmed) made their first contribution in [#&#8203;5345](https://github.com/PrefectHQ/fastmcp/pull/5345)
- [@&#8203;TJReinert](https://github.com/TJReinert) made their first contribution in [#&#8203;5388](https://github.com/PrefectHQ/fastmcp/pull/5388)

**Full Changelog**: <PrefectHQ/fastmcp@v4.0.10...v4.0.11>

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xNDguMCIsInVwZGF0ZWRJblZlciI6IjQ0LjE0OC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJ0eXBlL2RlcGVuZGVuY2llcyJdfQ==-->

Reviewed-on: https://git.tainton.uk/repos/labmcp/pulls/74
Co-authored-by: renovate[bot] <renovate-bot@git.tainton.uk>
@S0urC10ud

Copy link
Copy Markdown

Could a maintainer (maybe @jlowin ?) please request a CVE ID for GHSA-c3q8-4mcq-p7vg, or confirm whether one is already pending? Thanks!

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

Labels

bug Something isn't working. Reports of errors, unexpected behavior, or broken functionality. security Security fixes: input validation, SSRF/LFI prevention, auth hardening, injection defenses. server Related to FastMCP server implementation or server-side functionality.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants