Commit graph python-sdk/src/mcp
Author SHA1 Message Date
Sreenath Somarajapuram
34e3664e69
chore: Remove unused variable notification_options (#1238) 2025-08-05 10:44:51 +01:00
Yann Jouanin
68e25d478b
Improved supported for ProtectedResourceMetadata (#1235)
Co-authored-by: Paul Carleton <paulcarletonjr@gmail.com>
2025-08-04 18:29:01 +00:00
Tapan Chugh
6c61058190
chore: Remove unused prompt_manager.py file (#1229)
Co-authored-by: Tapan Chugh <tapanc@cs.washington.edu>
2025-08-04 14:19:07 +01:00
Marcelo Trylesinski
959d4e39ae
Unpack settings in FastMCP (#1198)
Some checks failed
Main branch checks / checks (push) Has been cancelled
2025-07-26 10:37:48 +02:00
lukacf
b34e7207ad
server: skip duplicate response on CancelledError (#1153)
Co-authored-by: ihrpr <inna@anthropic.com>
2025-07-25 10:16:13 +01:00
Luca Chang
35777b9811
fix: perform auth server metadata discovery fallbacks on any 4xx (#1193)
Some checks failed
Main branch checks / checks (push) Has been cancelled
2025-07-24 11:32:35 +01:00
Clare Liguori
6a84a2f79f
fix: fix OAuth flow request object handling (#1174)
Some checks failed
Main branch checks / checks (push) Has been cancelled
2025-07-21 13:36:21 +01:00
leweng
c260e29a92
Fix: Replace threading.Lock with anyio.Lock for Ray deployment compatibility (#1151) 2025-07-21 11:22:49 +01:00
Marcelo Trylesinski
7570ba30cf
Make sure RequestId is not coerced as int (#1178) 2025-07-21 10:57:47 +01:00
Luca Chang
99c4f3c906
Support falling back to OIDC metadata for auth (#1061)
Some checks failed
Main branch checks / checks (push) Has been cancelled
2025-07-17 20:06:38 +01:00
Inna Harper
813da6a579
fix flaky fix-test_streamablehttp_client_resumption test (#1166) 2025-07-17 18:35:40 +01:00
yurikunash
eb5146dc8b
Implement RFC9728 - Support WWW-Authenticate header by MCP client (#1071) 2025-07-15 10:23:39 +01:00
hopeful0
b8cb3675dc
Close server session after handle stateless request (#1116) 2025-07-14 17:26:06 +01:00
bhosmer-ant
49991fd2c7
Fix BaseModel method name conflicts in func_metadata (#1123) 2025-07-14 08:29:52 +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
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
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
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
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
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
Marcelo Trylesinski
9301924f44
chore: bump ruff (#1085) 2025-07-04 09:01:17 +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)
Some checks failed
Main branch checks / checks (push) Has been cancelled
2025-06-27 12:48:45 +02: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
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
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
Inna Harper
17f9c00c53
MCP server separation into Authorization Server (AS) and Resource Server (RS) roles per spec PR #338 (#982)
Co-authored-by: Paul Carleton <paulc@anthropic.com>
2025-06-23 14:19:03 +01:00
Inna Harper
d0443a1832
Add resource Link (#974) 2025-06-17 20:23:07 +01:00
David Dworken
86bb54cb28
Add support for DNS rebinding protections (#861) 2025-06-17 20:13:00 +01:00
Felix Weinberger
a2f8766a8a
Add title to tools, resources, prompts (#972)
Co-authored-by: Claude <noreply@anthropic.com>
2025-06-17 15:53:14 +01:00
Inna Harper
5429ac6153
Update _meta usage guidance in types (#971) 2025-06-17 11:54:59 +01:00
Inna Harper
69e6572d48
Add support for Elicitation (#625)
Co-authored-by: David Soria Parra <davidsp@anthropic.com>
2025-06-17 11:54:11 +01:00
Inna Harper
a3bcabdce2
Include context into completions (#966) 2025-06-17 09:33:25 +01:00
David Dworken
7b420656de
Fix uncaught exception in MCP server (#967) 2025-06-16 17:04:51 -07:00
Felix Weinberger
1eb1bba83c
feat: add _meta to more objects (#963) 2025-06-16 16:43:54 +01:00
ihrpr
f3cd20c920
Rename ResourceReference to ResourceTemplateReference (#947) 2025-06-13 18:25:36 +01:00