Commit Graph

655 Commits

Author SHA1 Message Date
Max Isbey e9afd5473a Replace environment variables with CLI arguments in simple-auth-client
The simple-auth-client example previously used environment variables
(MCP_SERVER_PORT and MCP_TRANSPORT_TYPE) to configure the server URL
and transport type. This approach was inflexible and couldn't handle
arbitrary server URLs.

This change replaces the environment variables with command-line
arguments using argparse:
- --url: Specifies the full URL of the MCP server
- --transport: Specifies the transport type (streamable-http or sse)

Benefits:
- Users can now specify any server URL, not just localhost ports
- More intuitive and discoverable interface with --help
- Better follows CLI conventions

All documentation (both client and server READMEs) has been updated
to reflect the new command-line interface.
2025-11-13 11:41:48 +00:00
Felix Weinberger be730674ad Add SEP-1034 conformance test support to everything-server (#1604)
Co-authored-by: Max Isbey <224885523+maxisbey@users.noreply.github.com>
2025-11-11 17:44:23 +00:00
Max Isbey 720d7130e2 Add coverage baseline commit to git-blame-ignore (#1613) 2025-11-11 14:03:51 +00:00
Max Isbey a864840825 Add end-of-file-fixer pre-commit hook (#1610) 2025-11-11 13:23:08 +00:00
Max Isbey 89e9c43acf Get baseline 100% clean coverage (#1553) 2025-11-11 14:09:32 +01:00
Felix Weinberger da4fce2195 Add everything-server for comprehensive MCP conformance testing (#1587) 2025-11-09 13:45:37 +00:00
Camila Rondinini 9eae96a05e Add get_server_capabilities() to ClientSession (#1588)
Main branch checks / checks (push) Failing after 0s
v1.21.0
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
Cole Murray 3a9f118e34 Update Starlette to 0.49.1 in uv.lock (#1559) 2025-11-03 08:15:08 +00:00
Koichi ITO 202af49857 docs: use article "an" before "MCP" instead of "a" (#1558) 2025-10-31 09:55:12 +01:00
Paul Carleton 6f2cd0cef0 Fix auth client example URL handling for oauth provider (#1549)
Main branch checks / checks (push) Failing after 0s
v1.20.0
2025-10-30 15:35:44 +00: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
Max Isbey db9e451551 fix: Replace remaining manual server polling with wait_for_server helper (#1529) 2025-10-29 11:27:57 +00:00
Max Isbey c44e68f766 Fix flaky timeout test in test_88_random_error (#1525) 2025-10-28 14:45:25 -07:00
Max Isbey 3e86edfb2f fix: Replace arbitrary sleeps with active server readiness checks in tests (#1527)
Co-authored-by: Claude <noreply@anthropic.com>
2025-10-28 21:42:33 +00:00
Max Isbey f97f7c4a7d fix: Replace fixed sleep with active server readiness check in SSE tests (#1526) 2025-10-28 19:49:13 +00:00
Max Isbey 7ac40af302 fix: Update spec links to new modelcontextprotocol.io location (#1491) 2025-10-28 18:13:40 +00:00
Yukuan Jia 673423da0d fix: replace deprecated dev-dependencies in examples/clients (#1518) 2025-10-28 14:09:14 +00:00
adam jones 31ae5f4dc4 Relax Accept header requirement for JSON-only responses (#1500) 2025-10-27 17:46:04 +00:00
Max Isbey 6c26d087df update uv to 0.9.5 (#1510)
Main branch checks / checks (push) Failing after 1s
v1.19.0
2025-10-24 01:04:09 +00:00
Yukuan Jia 340af403bd Replace deprecated dev-dependencies with dependency-groups (#1488)
Co-authored-by: Felix Weinberger <fweinberger@anthropic.com>
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2025-10-23 17:22:16 -07:00
mingo007 b7e4ae7542 test: use errno.ENOENT for command not found assertion (#1498) 2025-10-23 16:30:50 -07:00
Christian Clauss bbc8b4904e Upgrade GitHub Actions (#1473) 2025-10-23 11:33:45 -07:00
Felix Weinberger 9f9dbad416 fix: use proper dependency resolution in CI (#1507) 2025-10-23 10:25:48 -07:00
Christian Clauss 35a9ccdb42 fix: uv CVE-2025-62518 astral-tokio-tar issue GHSA-j5gw-2vrg-8fgx (#1505) 2025-10-22 15:52:56 +02: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
Luca Chang c733eec5d9 Make client examples workspaces to reflect package code (#1466) 2025-10-17 17:13:39 +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>
v1.18.0
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
Rocky Haotian Du eb34ab7c72 fix: Remove unnecessary constructor from ResourceServerSettings (#1424)
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2025-10-14 09:21:15 +02:00
Felix Weinberger 7a933fe5da Fix workspace configuration error with structured_output_lowlevel.py (#1471)
Co-authored-by: lorenss-m <saeclmusic@gmail.com>
2025-10-13 15:53:46 +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
Felix Weinberger 61399b386c fix: update CLAUDE.md to remove auto-addition of reviewers. (#1431)
Main branch checks / checks (push) Failing after 0s
v1.17.0
2025-10-06 14:54:13 +01:00
Felix Weinberger 7d335efd82 Update README to link to Python SDK documentation (#1430) 2025-10-06 14:50:17 +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
Marcelo Trylesinski 89619a8604 Add documentation structure (#1425) 2025-10-03 13:17:08 +00:00
Peter Alexander 3e798bfc01 Add icons support for ResourceTemplate (#1412)
Main branch checks / checks (push) Failing after 0s
v1.16.0
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
Yukuan Jia c81ff64e94 fix: fix the system message in simple-chatbot example (#1394) 2025-09-30 12:22:33 +01:00
Felix Weinberger 8dd15ac71c Delete CODEOWNERS to eliminate notification overload (#1413) 2025-09-30 11:15:07 +01:00