Commit graph

3,615 commits

Author SHA1 Message Date
Jeremiah Lowin
960b7b36dd
Update scalekit token-inspection docs to v2 get_access_token() 2026-07-05 23:58:31 -04:00
Jeremiah Lowin
3ccf9c926b
Align auth integration tests with v2 SDK error codes (invalid_client, grant_types) 2026-07-05 23:57:19 -04:00
Jeremiah Lowin
39815466c1
Normalize resource URI in tool-injection middleware; update prompt snapshots for v2 fields 2026-07-05 23:55:47 -04:00
Jeremiah Lowin
0fb6464ce2
Fix v2 content shapes: str uri for BlobResourceContents, tolerant request_id assertion 2026-07-05 23:52:22 -04:00
Jeremiah Lowin
4bd7613009
Enforce strict_input_validation via pydantic strict mode in tool argument validation 2026-07-05 23:51:21 -04:00
Jeremiah Lowin
7c4667a1c9
Pass host/port as kwargs to v1 server transport runners (v2 Settings drops host/port) 2026-07-05 23:47:17 -04:00
Jeremiah Lowin
e38aa641d0
Serialize inspect icons with camelCase aliases (by_alias, exclude_none) 2026-07-05 23:46:33 -04:00
Jeremiah Lowin
2f9a63f092
Update OAuth callback tests to v2 AuthorizationCodeResult contract 2026-07-05 23:45:04 -04:00
Jeremiah Lowin
8c9b1b6131
Reorder imports in auth provider tests (ruff) 2026-07-05 23:37:12 -04:00
Jeremiah Lowin
ec9f00bb0c
Assert MCPError for v2 401 surface in auth provider unauthorized tests 2026-07-05 23:36:39 -04:00
Jeremiah Lowin
72c636dd4c
Spawn ping keepalive per Connection via asyncio task (SDK v2 has no per-connection task group) 2026-07-05 23:33:11 -04:00
Jeremiah Lowin
7f3cee8243
Restore proxy request context in all proxy forwarding handlers (fix v2 in-memory backend context leak) 2026-07-05 23:29:59 -04:00
Jeremiah Lowin
3f8e45b84b
Update v2 test idioms: MCPError 401 surface, unwrapped notifications, strict Annotations, request-id-agnostic, caching/storage snapshots 2026-07-05 23:23:48 -04:00
Jeremiah Lowin
cc8157ac11
xfail extension-stripping app tests (sdk-feedback #2); assert MCPError for v2 401 surface 2026-07-05 23:14:41 -04:00
Jeremiah Lowin
3a0944e288
Read FastMCP 1.x server metadata directly (SDK v2 drops _mcp_server wrapper) 2026-07-05 23:11:55 -04:00
Jeremiah Lowin
739de66e8e
Select FastMCP client spans by component.key; assert span descendant vs SDK v2 intermediate spans 2026-07-05 23:10:57 -04:00
Jeremiah Lowin
be02a4057c
Detect dead stdio session via v2 dispatcher state so keep_alive reconnects after crash 2026-07-05 23:07:33 -04:00
Jeremiah Lowin
b0adc8eb9c
Update middleware logging snapshots and rate-limit tests for SDK v2 (param shapes, MCPError surface) 2026-07-05 23:03:47 -04:00
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