Commit Graph

995 Commits

Author SHA1 Message Date
Pamela Fox 0130f5b12b Add streamable HTTP starlette example to Python SDK docs (#1111) 2025-07-15 11:39:59 +01:00
yurikunash eb5146dc8b Implement RFC9728 - Support WWW-Authenticate header by MCP client (#1071) 2025-07-15 10:23:39 +01:00
Felix Weinberger bd9885feda Add regression test for stateless request memory cleanup (#1140) 2025-07-15 09:29:29 +01:00
Marcelo Trylesinski 95b44fb0d7 tests: use inline_snapshot.Is on parametrized test (#945)
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2025-07-14 21:59:37 +01:00
hopeful0 b8cb3675dc Close server session after handle stateless request (#1116) 2025-07-14 17:26:06 +01:00
Inna Harper a10fec7fa6 README - replace code snippets with examples - direct execution and display utilities (#1137) 2025-07-14 15:54:36 +01:00
Inna Harper 9bf5160eea README - replace code snippets with examples (#1136) 2025-07-14 13:57:47 +01:00
bhosmer-ant 49991fd2c7 Fix BaseModel method name conflicts in func_metadata (#1123) 2025-07-14 08:29:52 +01:00
bhosmer-ant d28a1a69ee add regression tests for #1113 (#1122) 2025-07-11 11:53:45 +01:00
yurikunash fd11eca766 Update routing for streamable HTTP to avoid 307 redirect (#1115)
Co-authored-by: ihrpr <inna@anthropic.com>
2025-07-11 11:49:24 +01:00
Giuseppe Coviello 0a4e8d4e17 Avoiding to parse string arguments containing valid JSON if the argument annotation is str (#1113) 2025-07-10 17:36:45 -04:00
Jeremiah Lowin 81fe63a81d Ensure failed oauth registration response is read before accessing response.text (#1118)
Co-authored-by: ihrpr <inna@anthropic.com>
2025-07-10 22:01:17 +01:00
John T ee54acbfa3 The lifespan_context object here is not a dictionary like the other e… (#1002)
Main branch checks / checks (push) Failing after 1s
Co-authored-by: ihrpr <inna@anthropic.com>
v1.11.0
2025-07-10 11:55:34 +01:00
Inna Harper b2d4322ca0 Fix missing line in generated snippets (#1117) 2025-07-10 10:17:05 +01:00
Stanley Law 6d092af6fd chore: add markdownlint on pre-commit hook and lint md files (#996)
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
2025-07-10 09:43:49 +01:00
Megan Dsouza f55831ee79 Adding description field to the FastMCP get_prompt method (#614)
Co-authored-by: ihrpr <inna@anthropic.com>
2025-07-09 20:50:38 +01:00
Brian Soby 7b1078b515 Fix: Prevent session manager shutdown on individual session crash (#841)
Co-authored-by: Felix Weinberger <fweinberger@anthropic.com>
Co-authored-by: Inna Harper <inna.hrpr@gmail.com>
2025-07-09 15:43:21 +01:00
Felix Weinberger 3abefeeeaf fweinberger/align shutdown with spec (#1091)
Co-authored-by: davenpi <davenport.ianc@gmail.com>
2025-07-09 10:14:30 -04:00
Inna Harper 9b4c2ddf93 fix pyright check in CI (#1108) 2025-07-09 11:31:54 +01:00
Inna Harper c067ef291e Fix completions (#1107) 2025-07-09 11:15:49 +01:00
Inna Harper 4fee123e72 clean up log.error (#1109) 2025-07-09 11:15:14 +01:00
AishwaryaKalloli bd84329a08 Doc update + validation in SseServerTransport + existing test fixes: addresses Issue: #827 (#900) 2025-07-09 08:19:06 +01:00
Daniel Avdar b16c2a8518 #552 (#707)
Signed-off-by: DanielAvdar <66269169+DanielAvdar@users.noreply.github.com>
Co-authored-by: Felix Weinberger <fweinberger@anthropic.com>
2025-07-08 17:24:36 +01:00
Inna Harper beacd6e009 remove max message size (#1105) 2025-07-08 15:56:18 +01:00
Felix Weinberger e0336213e8 Improve child process termination on POSIX & Windows (#1078)
Co-authored-by: jingx8885 <jingxu8885@qq.com>
Co-authored-by: Surya Prakash Susarla <susarla.surya.prakash.1998@gmail.com>
2025-07-08 15:04:06 +01:00
Felix Weinberger cf72565d9a Unify process termination on POSIX & Windows (+ tests) (#1044)
Co-authored-by: Cristian Pufu <cristian.pufu@uipath.com>
2025-07-08 14:57:39 +01:00
shaun smith 08d364d005 Update text to make clear Elicitation is not directly associated with… (#1062) 2025-07-07 22:10:21 +01:00
Seongjun Kim 5c9cf290d8 Fix Pydantic field alias consistency in structured output (#1099) 2025-07-07 15:16:23 +01:00
Frédéric Barthelet 906ceea388 fix: Expose completions capability (#865) 2025-07-07 09:26:22 +01:00
Inna Harper 3d67e723e5 Fix async resource functions not being awaited (#1092)
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
2025-07-06 10:22:52 +01:00
Marcelo Trylesinski 3fa7bc7b61 tests: add lowest dependency tests (#1067)
Co-authored-by: ihrpr <inna@anthropic.com>
2025-07-06 09:38:56 +02:00
Inna Harper adf327164a Embed code snippets for README from executable examples (#1055) 2025-07-04 17:25:54 +01:00
Ke Yu 7bc190bae8 fix: support "form_post" to be one of response modes in authorization server metadata validation (#1046) 2025-07-04 11:13:13 +01:00
Vividh Mahajan 31076ab2d4 docs: fix dev server command in README (#848) (#859) 2025-07-04 09:05:40 +00:00
Marcelo Trylesinski 9301924f44 chore: bump ruff (#1085) 2025-07-04 09:01:17 +01:00
AishwaryaKalloli 6f43d1f170 Flaky test fix (#1050) 2025-06-29 21:53:32 +01:00
Mohamed Amine Zghal 7942184336 Bump Pydantic in the lockfile (#1041) 2025-06-27 17:41:17 +02:00
Nathan Brake 3f0964dd14 Remove setting global logging config (#1048)
Main branch checks / checks (push) Failing after 0s
v1.10.1
2025-06-27 12:48:45 +02:00
Inna Harper dced22344d Remove frozen from build (#1040)
Main branch checks / checks (push) Failing after 1s
v1.10.0
2025-06-26 14:41:23 +01:00
Inna Harper 0323831b01 unpin jsonschema version (#1037) 2025-06-26 13:28:15 +01:00
Inna Harper 4b659639f7 Update latest protocol version to 2025-06-18 (#1036) 2025-06-26 10:02:57 +01:00
bhosmer-ant 43bb24f62b feat: Add structured output support for tool functions (#993) 2025-06-26 09:36:17 +01:00
bhosmer-ant c8bbfc034d Add schema validation to lowlevel server (#1005) 2025-06-25 09:23:49 -04:00
David Soria Parra 0b11bdb629 ci: add --frozen flag to all uv commands in workflows (#970)
Co-authored-by: Claude <noreply@anthropic.com>
2025-06-25 14:00:14 +01:00
dr3s 41f3bc35ce Make "resource" optional on earlier protocols (#1017)
Co-authored-by: Andres March <>
2025-06-25 10:18:24 +01:00
Felix Weinberger 4d45bb85a8 refactor: rename DummyProcess to FallbackProcess in Windows stdio (#1015) 2025-06-24 15:44:42 +01:00
Inna Harper 674768802a Fix /.well-known/oauth-authorization-server dropping path (#1014) 2025-06-24 15:43:26 +01:00
Inna Harper ce007de66d Remove github from auth examples (#1011) 2025-06-24 15:43:08 +01:00
The AI Language ecc916516d Fix Windows subprocess NotImplementedError (STDIO clients) (#596)
Merging, rename for `DummyProcess` -> `FallbackProcess` coming in https://github.com/modelcontextprotocol/python-sdk/pull/1015
2025-06-24 15:05:23 +01:00
Inna Harper 679b22970e RFC 8707 Resource Indicators Implementation (#991) 2025-06-23 17:10:20 +01:00