Releases: modelcontextprotocol/python-sdk
Releases · modelcontextprotocol/python-sdk
v1.16.0
What's Changed
- Add error log for client stdio by @pengwa in #924
- Accept additional response_types values from OAuth servers by @jonshea in #1323
- Issue 1379 patch - Fix MCP server OAuth not working with Visual Studio Code and others with extra grant_types by @automaton82 in #1380
- Add comprehensive Unicode tests for streamable HTTP transport by @pja-ant in #1381
- Update Icon.sizes to use string array format by @pja-ant in #1411
- Delete CODEOWNERS to eliminate notification overload by @felixweinberger in #1413
- fix: fix the system message in simple-chatbot example by @yukuanj in #1394
- fix: improve misleading warning for progress callback exceptions by @lorenzocesconetto in #775
- fix: catch and rethrow SSEError during SSE connection establishment by @zhangch-ss in #975
- Add icons support for ResourceTemplate by @pja-ant in #1412
New Contributors 🙏
- @pengwa made their first contribution in #924
- @jonshea made their first contribution in #1323
- @automaton82 made their first contribution in #1380
- @yukuanj made their first contribution in #1394
- @zhangch-ss made their first contribution in #975
Full Changelog: 1.15.0...v1.16.0
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