Releases: modelcontextprotocol/python-sdk
Releases · modelcontextprotocol/python-sdk
v1.15.0
What's Changed
- Return HTTP 403 for invalid Origin headers by @pja-ant in #1353
- Add test for ProtectedResourceMetadataParsing by @yannj-fr in #1236
- Fastmcp logging progress example by @stevebillings in #1270
- feat: add paginated list decorators for prompts, resources, and tools by @maxisbey in #1286
- Remove "unconditionally" from conditional description by @mssalvatore in #1289
- Use streamable-http consistently in examples by @maxisbey in #1389
- feat: Add SDK support for SEP-1034 default values in elicitation schemas by @chughtapan in #1337
- Implementation of SEP 973 - Additional metadata + icons support by @pja-ant in #1357
New Contributors
- @stevebillings made their first contribution in #1270
- @mssalvatore made their first contribution in #1289
Full Changelog: v1.14.1...v1.15.0
v1.14.1
What's Changed
- fix(fastmcp): propagate mimeType in resource template list by @pchoudhury22 in #1186
- fix: allow elicitations accepted without content by @owengo in #1285
- Use --frozen in pre-commit config by @pja-ant in #1375
New Contributors
- @pchoudhury22 made their first contribution in #1186
- @owengo made their first contribution in #1285
Full Changelog: v1.14.0...v1.14.1
v1.14.0
What's Changed
- Added Audio to FastMCP by @dragonier23 in #1130
- Fix: avoid uncessary retries in OAuth authenticated requests by @keurcien in #1206
- Add PATHEXT to default STDIO env vars in windows by @timesler in #1256
- fix: error too many values to unpack (expected 2) by @sandangel in #1279
- SDK Parity: Avoid Parsing Server Response for non-JsonRPCMessage Requests by @justin-yi-wang in #1290
- types: Setting default value for method: Literal by @sreenaths in #1292
- changes structured temperature to not deadly by @monkeywithacupcake in #1328
- Update simple-resource example to use non-deprecated read_resource return type by @pja-ant in #1331
- docs: Update README to include link to API docs for #1329 by @reidg44 in #1330
- Allow ping requests before initialization by @eleftherias in #1312
- Python lint: Ruff rules for pylint and code complexity by @cclauss in #525
- Fix context injection for resources and prompts by @dsp-ant in #1336
New Contributors 🙏
- @dragonier23 made their first contribution in #1130
- @keurcien made their first contribution in #1206
- @timesler made their first contribution in #1256
- @sandangel made their first contribution in #1279
- @justin-yi-wang made their first contribution in #1290
- @monkeywithacupcake made their first contribution in #1328
- @pja-ant made their first contribution in #1331
- @reidg44 made their first contribution in #1330
- @eleftherias made their first contribution in #1312
Full Changelog: v1.13.1...v1.14.0
v1.13.1
What's Changed
- chore: uncomment .idea/ in .gitignore by @maxisbey in #1287
- docs: clarify streamable_http_path configuration when mounting servers by @felixweinberger in #1172
- feat: Add CORS configuration for browser-based MCP clients by @jerome3o-anthropic in #1059
New Contributors
Full Changelog: v1.13.0...v1.13.1
v1.13.0
What's Changed
- Add pyright strict mode on the whole project by @Kludex in #1254
- Consistent casing for default headers Accept and Content-Type by @glinf in #1263
- Update dependencies and fix type issues by @dsp-ant in #1268
- fix: prevent async generator cleanup errors in StreamableHTTP transport by @mous222 in #1271
New Contributors
Full Changelog: v1.12.4...v1.13.0
v1.12.4
What's Changed
- chore: Remove unused prompt_manager.py file by @chughtapan in #1229
- Improved supported for ProtectedResourceMetadata by @yannj-fr in #1235
- chore: Remove unused variable notification_options by @sreenaths in #1238
- Improve README around the Context object by @jbkkd in #1203
- Fix : token_endpoint_auth_signing_alg_values_supported is a json array by @yannj-fr in #1226
- Remove strict validation on
response_modes_supported
member ofOAuthMetadata
by @joesavage-silabs in #1243
New Contributors
- @chughtapan made their first contribution in #1229
- @yannj-fr made their first contribution in #1235
- @sreenaths made their first contribution in #1238
- @jbkkd made their first contribution in #1203
- @joesavage-silabs made their first contribution in #1243
Full Changelog: v1.12.3...v1.12.4
v1.12.3
v1.12.2
What's Changed
- update codeowners group by @ihrpr in #1191
- fix: perform auth server metadata discovery fallbacks on any 4xx by @LucaButBoring in #1193
Full Changelog: v1.12.1...v1.13.0
v1.12.1
What's Changed
- Add CODEOWNERS file for sdk by @ihrpr in #1169
- fix flaky test test_88_random_error by @ihrpr in #1171
- Make sure
RequestId
is not coerced asint
by @Kludex in #1178 - Fix: Replace threading.Lock with anyio.Lock for Ray deployment compatibility by @only-weng in #1151
- fix: fix OAuth flow request object handling by @clareliguori in #1174
New Contributors
- @only-weng made their first contribution in #1151
Full Changelog: v1.12.0...v1.12.1
v1.12.0
What's Changed
- Ensure failed oauth registration response is read before accessing response.text by @jlowin in #1118
- Avoiding to parse string arguments containing valid JSON if the argument annotation is str by @cjg in #1113
- Update routing for streamable HTTP to avoid 307 redirect by @yurikunash in #1115
- add regression tests for #1113 by @bhosmer-ant in #1122
- Fix BaseModel method name conflicts in func_metadata by @bhosmer-ant in #1123
- README - replace code snippets with examples by @ihrpr in #1136
- README - replace code snippets with examples - direct execution and display utilities by @ihrpr in #1137
- Close server session after handle stateless request by @hopeful0 in #1116
- tests: use
inline_snapshot.Is
on parametrized test by @Kludex in #945 - Add regression test for stateless request memory cleanup by @felixweinberger in #1140
- Implement RFC9728 - Support WWW-Authenticate header by MCP client by @yurikunash in #1071
- Add streamable HTTP starlette example to Python SDK docs by @pamelafox in #1111
- fix markdown error in README in main by @ihrpr in #1147
- README - replace code snippets with examples - add lowlevel to snippets by @ihrpr in #1150
- README - replace code snippets with examples - streamable http by @ihrpr in #1155
- chore: don't allow users to create issues outside the templates by @Kludex in #1163
- Tests(cli): Add coverage for helper functions by @davenpi in #635
- Docs: Update CallToolResult parsing in README by @functicons in #812
- docs: add pre-commit install guide on CONTRIBUTING.md by @dingo4dev in #995
- fix flaky fix-test_streamablehttp_client_resumption test by @ihrpr in #1166
- README - replace code snippets with examples -- auth examples by @ihrpr in #1164
- Support falling back to OIDC metadata for auth by @LucaButBoring in #1061
New Contributors 🙏
- @cjg made their first contribution in #1113
- @yurikunash made their first contribution in #1115
- @hopeful0 made their first contribution in #1116
- @pamelafox made their first contribution in #1111
- @davenpi made their first contribution in #635
- @functicons made their first contribution in #812
Full Changelog: v1.11.0...v1.12.0