Commit Graph

278 Commits

Author SHA1 Message Date
Max Isbey 89e9c43acf Get baseline 100% clean coverage (#1553) 2025-11-11 14:09:32 +01:00
Camila Rondinini 9eae96a05e Add get_server_capabilities() to ClientSession (#1588)
Main branch checks / checks (push) Failing after 0s
2025-11-06 20:44:40 +00:00
Max Isbey b7b0f8eebb Add --frozen flag to uv run commands in Claude config (#1583) 2025-11-06 16:07:15 +00:00
Chris Coutinho 3390e49c01 Implement SEP-985: OAuth Protected Resource Metadata discovery fallback (#1548)
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Paul Carleton <paulc@anthropic.com>
2025-11-05 15:51:02 +00:00
inaku de2289dc93 Fix typo in ClientSessionGroup doc string (#1572) 2025-11-04 13:33:26 +00:00
Koichi ITO 202af49857 docs: use article "an" before "MCP" instead of "a" (#1558) 2025-10-31 09:55:12 +01:00
Max Isbey 8cdac3d2f8 Fix pyright error and replace wildcard import with explicit imports (#1532) 2025-10-29 18:32:26 +00:00
Luca Chang f161149680 Implement RFC 7523 JWT flows (#1247)
Co-authored-by: Yann Jouanin <yann.jouanin@valueandco.com>
2025-10-29 16:48:08 +00:00
adam jones 31ae5f4dc4 Relax Accept header requirement for JSON-only responses (#1500) 2025-10-27 17:46:04 +00:00
Brandon Shar 1200ba0082 Allow CallToolResult to be returned directly to support _meta field for OpenAI Apps (#1459)
Co-authored-by: Max Isbey <224885523+maxisbey@users.noreply.github.com>
2025-10-21 18:52:08 +00:00
Samuel Felipe Chenatti 40acbc596c Expose RequestParams._meta in ClientSession.call_tool (#1231)
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2025-10-17 17:57:56 +01:00
Mat Leonard 98f82485bd feat: add tool metadata in FastMCP.tool decorator (#1463)
Co-authored-by: Max Isbey <224885523+maxisbey@users.noreply.github.com>
2025-10-17 11:18:34 +00:00
daamitt dcc68ce56b fix: Set the Server session initialization state immediately after respond… (#1478)
Main branch checks / checks (push) Failing after 0s
Co-authored-by: Max Isbey <224885523+maxisbey@users.noreply.github.com>
2025-10-15 13:56:43 +01:00
Felix Weinberger de89457683 fix: send params as empty object for list methods without cursor (#1453) 2025-10-14 11:11:38 +01:00
Fenn Bailey cd7253c593 feat: add resource annotations support to FastMCP (#1468) 2025-10-14 11:07:37 +01:00
AishwaryaKalloli b4e50aa9f9 Handles message type Exception in lowlevel/server.py _handle_message function. Mentioned as TODO on line 528. (#786)
Co-authored-by: Felix Weinberger <fweinberger@anthropic.com>
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2025-10-13 14:29:03 +01:00
Dogacan Colak 0e29cc4130 [client] Implement MCP OAuth scope selection and step-up authorization (#1324) 2025-10-13 14:18:00 +01:00
Brandon Wu b8e758b02b feat: add ability to remove tools (#1322)
Co-authored-by: David Soria Parra <167242713+dsp-ant@users.noreply.github.com>
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
Co-authored-by: Max Isbey <224885523+maxisbey@users.noreply.github.com>
Co-authored-by: Claude <noreply@anthropic.com>
2025-10-06 14:16:50 +01:00
Marcus Shu df3e428ee8 Improve OAuth protected resource metadata URL construction per RFC 9728 (#1407) 2025-10-06 13:52:44 +01:00
Marcelo Trylesinski 814c9c024a Add documentation about testing (#1426) 2025-10-03 14:17:31 +00:00
Peter Alexander 3e798bfc01 Add icons support for ResourceTemplate (#1412)
Main branch checks / checks (push) Failing after 0s
2025-10-01 13:23:46 +01:00
ZhangChuanhui f676f6c0f0 fix: catch and rethrow SSEError during SSE connection establishment (#975)
Co-authored-by: zhangchuanhui <zhangchal@digitalchina.com>
Co-authored-by: Felix Weinberger <fweinberger@anthropic.com>
2025-09-30 15:52:32 +01:00
Lorenzo d648a31359 fix: improve misleading warning for progress callback exceptions (#775) 2025-09-30 14:39:52 +01:00
Peter Alexander 80c0d23d48 Update Icon.sizes to use string array format (#1411) 2025-09-29 14:27:32 +01:00
automaton82 9323efad99 Issue 1379 patch - Fix MCP server OAuth not working with Visual Studio Code and others with extra grant_types (#1380) 2025-09-29 11:13:16 +01:00
Jon Shea 1940040ac3 Accept additional response_types values from OAuth servers (#1323) 2025-09-26 20:29:06 +01:00
pengwa 146d7efb0f Add error log for client stdio (#924)
Co-authored-by: Your Name <youremail@yourdomain.com>
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2025-09-26 15:42:23 +01:00
Peter Alexander 71889d7387 Implementation of SEP 973 - Additional metadata + icons support (#1357)
Main branch checks / checks (push) Failing after 1s
2025-09-24 20:29:04 +01:00
Mike Salvatore 7629fe6b97 Remove "unconditionally" from conditional description (#1289) 2025-09-23 17:13:26 +01:00
Max Isbey 4fb975c6dc feat: add paginated list decorators for prompts, resources, and tools (#1286)
Co-authored-by: Claude <noreply@anthropic.com>
2025-09-23 14:58:06 +01:00
Peter Alexander 7e93a9fc19 Return HTTP 403 for invalid Origin headers (#1353) 2025-09-22 16:44:51 +01:00
owengo b41b9175e8 fix: allow elicitations accepted without content (#1285)
Co-authored-by: Olivier Schiavo <olivier.schiavo@wengo.com>
2025-09-17 15:34:15 +01:00
pchoudhury22 ca5cb4cb67 fix(fastmcp): propagate mimeType in resource template list (#1186)
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2025-09-17 14:50:41 +01:00
David Soria Parra c3717e7ad3 Fix context injection for resources and prompts (#1336)
Main branch checks / checks (push) Failing after 0s
2025-09-11 14:30:06 +01:00
Christian Clauss c47c767ff4 Python lint: Ruff rules for pylint and code complexity (#525) 2025-09-05 15:20:14 +01:00
Eleftheria Stein-Kousathana 47d35f0b3c Allow ping requests before initialization (#1312) 2025-09-01 22:37:36 +01:00
Sreenath Somarajapuram 07ae8c0d4e types: Setting default value for method: Literal (#1292) 2025-08-26 16:22:56 +01:00
Justin Wang 9c6fd15a88 SDK Parity: Avoid Parsing Server Response for non-JsonRPCMessage Requests (#1290) 2025-08-26 16:14:47 +01:00
San Nguyen eaf7cf41d5 fix: error too many values to unpack (expected 2) (#1279)
Signed-off-by: San Nguyen <vinhsannguyen91@gmail.com>
Co-authored-by: Felix Weinberger <fweinberger@anthropic.com>
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2025-08-23 21:36:39 +01:00
Tim Esler 9a8592e7d4 Add PATHEXT to default STDIO env vars in windows (#1256) 2025-08-22 13:47:19 +01:00
keurcien e750a06a99 fix: avoid uncessary retries in OAuth authenticated requests (#1206)
Co-authored-by: Felix Weinberger <fweinberger@anthropic.com>
2025-08-22 11:45:54 +01:00
xavier f4b2957a20 Added Audio to FastMCP (#1130) 2025-08-22 11:45:38 +01:00
Moustapha Ebnou d1ac8d68eb fix: prevent async generator cleanup errors in StreamableHTTP transport (#1271)
Main branch checks / checks (push) Failing after 0s
Co-authored-by: David Soria Parra <167242713+dsp-ant@users.noreply.github.com>
2025-08-14 13:51:59 +01:00
Gregory L a82c69bfd9 Consistent casing for default headers Accept and Content-Type (#1263) 2025-08-12 11:53:26 +02:00
joesavage-silabs ef4e167c1a Remove strict validation on response_modes_supported member of OAuthMetadata (#1243)
Main branch checks / checks (push) Failing after 1s
2025-08-07 18:39:35 +01:00
Yann Jouanin e68e513b42 fix: allow to pass list[str] to token_endpoint_auth_signing_alg_values_supported (#1226) 2025-08-06 10:21:24 +02:00
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)
Main branch checks / checks (push) Failing after 0s
2025-07-26 10:37:48 +02:00