Commit graph

3,597 commits

Author SHA1 Message Date
Jeremiah Lowin
01a05f29ff
Update proxy_server tests to client API and v2 error-message shapes 2026-07-05 22:53:47 -04:00
Jeremiah Lowin
e56bec7a0a
Re-key stateful proxy cache by Connection, not per-request ServerSession (SDK v2) 2026-07-05 22:51:28 -04:00
Jeremiah Lowin
93e35cbe2f
Fix AnyUrl content-type test idioms; xfail wire-unexpressible prompt/resource tasks and background sampling (sdk-feedback #3/#9) 2026-07-05 22:46:11 -04:00
Jeremiah Lowin
f12ecc7e24
Deliver task status notifications: persist subscription task, nest params _meta (SDK v2) 2026-07-05 22:36:54 -04:00
Jeremiah Lowin
c2447a6cb9
Route notifications/tasks/status via SDK v2 notification binding (custom notifs bypass message_handler) 2026-07-05 22:30:04 -04:00
Jeremiah Lowin
3fc6848cea
Drive AuthMiddleware list tests through in-memory client (SDK v2 dispatch chain) 2026-07-05 22:21:32 -04:00
Jeremiah Lowin
ee6ddcc4e8
Migrate _meta to plain dict (v2), normalize resource task URIs, xfail wire-unexpressible resource tasks 2026-07-05 22:17:02 -04:00
Jeremiah Lowin
0b7bcdcf85
Preserve tasks/result payload via permissive result type; fix AnyUrl test import 2026-07-05 22:06:50 -04:00
Jeremiah Lowin
06ebf7c598
Fix task follow-up handlers: serialize Task timestamps as ISO strings for SDK v2 2026-07-05 22:02:34 -04:00
Jeremiah Lowin
7389e294af
Fix client meta forwarding, ClientNotification construction, and v1 test idioms for SDK v2 2026-07-05 21:52:35 -04:00
Jeremiah Lowin
59234364dd
Add MCP SDK v2 camelCase compat bridge, fastmcp.types re-exports, McpError alias 2026-07-05 21:46:33 -04:00
Jeremiah Lowin
e1f3f1ca3b
Select FastMCP client span by component key in session-id telemetry tests (SDK v2) 2026-07-05 21:36:59 -04:00
Jeremiah Lowin
47e8eec026
Update in-memory timeout-message assertion for SDK v2 2026-07-05 21:33:42 -04:00
Jeremiah Lowin
ca9c18fb9d
Float timeout in composite config transport; retitle client context shim (SDK v2) 2026-07-05 21:27:10 -04:00
Jeremiah Lowin
fe0de0df56
Add temporary SDK shim widening SERVER_RESULTS for SEP-1686 tasks 2026-07-05 21:20:12 -04:00
Jeremiah Lowin
6df5f25344
Return AuthorizationCodeResult from HeadlessOAuth callback_handler (SDK v2) 2026-07-05 21:17:51 -04:00
Jeremiah Lowin
57d1936f29
Return AuthorizationCodeResult from OAuth callback_handler (SDK v2) 2026-07-05 21:16:13 -04:00
Jeremiah Lowin
bcb36ac096
Update notification test helper for SDK v2 unwrapped notifications 2026-07-05 21:15:10 -04:00
Jeremiah Lowin
9151bfefd5
Port client notification dispatch to SDK v2 unwrapped notifications 2026-07-05 21:14:19 -04:00
Jeremiah Lowin
1577cd25a7
Resolve lowlevel Server per type for in-memory transport (SDK v2) 2026-07-05 21:10:10 -04:00
Jeremiah Lowin
8dc7653cb2
Pass float session timeout to sse_client; update timeout-message assertions (SDK v2) 2026-07-05 21:08:46 -04:00
Jeremiah Lowin
c9f30e3633
Restore HTTP get_session_id via httpx event hook; float timeout (SDK v2) 2026-07-05 21:06:44 -04:00
Jeremiah Lowin
0ac73bcacf
Route call_tool timeout through float seconds (SDK v2) 2026-07-05 21:05:23 -04:00
Jeremiah Lowin
7dc524371e
Route client request timeout through float seconds (SDK v2) 2026-07-05 21:03:55 -04:00
Jeremiah Lowin
f9b5ec3c95
Re-home task notification cleanup to Connection exit_stack (SDK v2) 2026-07-05 20:56:09 -04:00
Jeremiah Lowin
e231d51d5e
Fix task result serialization for SDK v2 (ISO createdAt, drop ServerNotification wrapper) 2026-07-05 20:51:40 -04:00
Jeremiah Lowin
92b0022c2d
Bridge initialize InitializeResult through middleware; re-home session state to Connection 2026-07-05 20:42:28 -04:00
Jeremiah Lowin
dd21fb57b5
Unblock: unpack v2 streamable_http_client 2-tuple (Phase C interim) 2026-07-05 20:36:29 -04:00
Jeremiah Lowin
5a77eab277
Adapt proxy meta-forwarding and tests to SDK v2 request-context shim 2026-07-05 20:34:26 -04:00
Jeremiah Lowin
1a9b1c435f
Port HTTP session manager, event store, and transport run paths to SDK v2 2026-07-05 19:15:03 -04:00
Jeremiah Lowin
250900350a
Port server-core handlers to MCP SDK v2 (Phase B) 2026-07-05 19:09:57 -04:00
Jeremiah Lowin
42e72d71e9
Add sdkv2 import shims pending server/client port 2026-07-05 18:26:15 -04:00
Jeremiah Lowin
1f319df0c3
Add by_alias to wire-crossing model_dump calls 2026-07-05 18:14:32 -04:00
Jeremiah Lowin
2ea012ead4
Adopt snake_case SDK type constructor kwargs 2026-07-05 18:11:04 -04:00
Jeremiah Lowin
ed85d477f5
Adopt snake_case SDK type attribute access 2026-07-05 18:09:03 -04:00
Jeremiah Lowin
fdac9f9f2e
Rename McpError to MCPError and convert construction sites 2026-07-05 18:07:02 -04:00
Jeremiah Lowin
2f49f9f7c0
Migrate mcp.types imports to mcp_types 2026-07-05 18:03:43 -04:00
Jeremiah Lowin
e6433cb7bb
Pin mcp 2.0.0b1 2026-07-05 18:02:14 -04:00
陈家名
522ed5bb30
fix: correct replace_type docstring parameter descriptions (#4375) 2026-07-05 17:44:28 -04:00
Jeremiah Lowin
67527c1f69
Block unsafe OAuth redirect schemes (#4419) 2026-07-05 17:16:10 -04:00
Jeremiah Lowin
57a279928d
Protect streamable HTTP from DNS rebinding (#4405) 2026-07-05 17:11:08 -04:00
Jeremiah Lowin
cccb529f50
Fix DCR redirect URI validation (#4408) 2026-07-05 17:05:13 -04:00
fengguodong
0d8844d5a7
Reject empty env var keys (#4410) 2026-06-29 09:42:06 -04:00
Jeremiah Lowin
de521e651d
Fix versioned auth middleware checks (#4401) 2026-06-28 10:43:34 -04:00
Jeremiah Lowin
feaae683a4
[codex] Fix event store replay isolation (#4402) 2026-06-27 12:49:24 -04:00
Jeremiah Lowin
5de15e0c21
Block NAT64 SSRF bypass (#4400) 2026-06-27 12:21:37 -04:00
Jeremiah Lowin
a1dd8b12e1
Fix dev apps launch escaping (#4399) 2026-06-27 12:18:36 -04:00
Jeremiah Lowin
6b2a2d507a
Clarify resource path parameter safety (#4398) 2026-06-27 12:10:37 -04:00
Jeremiah Lowin
a8bb1b08c2
Raise fastmcp.ValidationError for invalid tool arguments (#4392)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-authored-by: Claude <noreply@anthropic.com>
2026-06-27 11:14:20 -04:00
Jacky Su
0668eb7b80
Fix/cimd flow issue (#4206) 2026-06-27 10:57:58 -04:00