fastmcp/tests
nate nowack 3ca425416e
ci: add langchain.mcp and a FastMCP proxy to the downstream smoke (#5222)
langchain 1.4.2 ships `langchain.mcp`, whose MCPAdapter wraps fastmcp.Client
and ClientGroup directly (resolve_tool, list_tools cache_mode, call_tool,
Client.new, elicitation callbacks, MCPConfig, legacy and auto modes). The
workflow now runs langchain's own MCP tests against the built wheels, and a
new smoke drives MCPAdapter in-process, over stdio, MCPConfig, HTTP, SSE, a
proxy, and a ClientGroup of a legacy HTTP server and a modern stdio server.

Every smoke also runs through a FastMCP proxy in front of a stdio server and
covers shapes this release cycle got wrong: `|` and non-ASCII template
literals, comma-joined and exploded list query params, a float schema count,
and a timed-out call followed by another on the same connection. Gaps the
proxy already had in 4.0.5 are reported as known gaps that fail the run once
they start passing. Server stderr goes to a log file, and the SDK's SSE
reader is quieted where a check cancels a call on purpose.

langchain-mcp-adapters' smoke is renamed smoke_langchain_mcp_adapters.py.


Claude-Session: https://claude.ai/code/session_01KfHgVhbYEhBCC5eSeqGiuG

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-22 16:48:28 -05:00
..
apps Late-bind app tool names so UIs survive composition (#4682) 2026-07-28 10:54:19 -04:00
cli fix(ci): satisfy latest ty control-flow checks (#4928) 2026-08-27 14:54:44 -05:00
client stdio: revert shared keep_alive=False sessions (#5180, #5215) (#5219) 2026-09-22 16:07:25 -05:00
conformance Move to the stable MCP Python SDK 2.0.0 (#4655) 2026-07-28 16:31:49 -04:00
contrib Speed up the unit test suite, and fix the task-notification race it surfaced (#4550) 2026-07-19 18:52:04 -04:00
deprecated Remove 3.x-era compatibility shims (#4661) 2026-07-27 14:59:43 -04:00
docs Give docs quality checks a corpus-wide timeout (#5109) 2026-09-14 14:38:07 -05:00
downstream ci: add langchain.mcp and a FastMCP proxy to the downstream smoke (#5222) 2026-09-22 16:48:28 -05:00
experimental search: render non-JSON schema defaults and enums in the markdown serializer (#5220) 2026-09-22 16:15:37 -05:00
fixtures test: vendor ext-tasks draft schema as fixture 2026-07-21 20:19:28 -04:00
fs Expose FileSystemProvider discovery failures (#5164) 2026-09-21 18:13:49 -05:00
integration_tests Merge remote-tracking branch 'origin/main' into feature/client-auto-default 2026-07-20 12:02:38 -04:00
prompts Preserve string-compatible prompt arguments (#4730) 2026-08-02 14:56:05 -04:00
resources resources: accept non-exploded list query params as comma-joined values (#5218) 2026-09-22 16:07:20 -05:00
scripts Exempt maintainers from MRE auto-close (#4220) 2026-05-23 09:02:44 -04:00
server fix(openapi): rewrite model references in prefixItems (#5131) 2026-09-22 13:48:34 -05:00
tasks Preserve field-level strict validation in lax mode (#5141) 2026-09-17 10:18:56 -07:00
telemetry feat: Add telemetry interop mode for FastMCP (#4046) 2026-07-27 16:05:29 -04:00
tools fix: don't infer an output schema for unconstrained sequences (#4999) 2026-09-04 13:02:02 -05:00
utilities json-schema: tolerate counts larger than any real length (#5221) 2026-09-22 16:28:13 -05:00
__init__.py Update type handling for resources 2024-11-29 19:42:46 -05:00
conftest.py Move to the stable MCP Python SDK 2.0.0 (#4655) 2026-07-28 16:31:49 -04:00
test_apps.py Audit mode="legacy" pins in server tests and top-level stragglers 2026-07-20 16:00:27 -04:00
test_apps_prefab.py Migrate to MCP Python SDK v2 (#4437) 2026-07-06 17:36:45 -04:00
test_compat.py Avoid loading MCP and CLI stacks during lightweight imports (#4763) 2026-08-05 10:56:13 -04:00
test_exceptions.py Pass the MCP conformance suite's draft and pending scenarios 2026-07-26 15:00:08 -04:00
test_fastmcp_app.py Late-bind app tool names so UIs survive composition (#4682) 2026-07-28 10:54:19 -04:00
test_json_schema_generation.py fix: resolve Pyright "Module is not callable" on @tool, @resource, @prompt decorators (#3540) 2026-03-17 18:11:42 -04:00
test_mcp_config.py perf: avoid duplicate startup for mixed-era backends (#4971) 2026-09-04 16:12:19 -05:00
test_no_legacy_httpx.py Preserve legacy httpx compatibility without importing it (#4766) 2026-08-05 18:09:16 -04:00
test_settings.py Move task subsystem to fastmcp-tasks package, disconnect SEP-1686 wire from core 2026-07-21 21:51:45 -04:00
test_upgrade_from_v3.py Move to the stable MCP Python SDK 2.0.0 (#4655) 2026-07-28 16:31:49 -04:00