Commit Graph

443 Commits

Author SHA1 Message Date
ihrpr
e33cd41c7a Add OAuth authentication client for HTTPX (#751)
Co-authored-by: Paul Carleton <paulc@anthropic.com>
2025-05-19 20:38:04 +01:00
ihrpr
6353dd192c Servers to accept older versions of client (#722) 2025-05-15 18:33:31 +01:00
ihrpr
5d33861cad Add progress notification callback for client (#721) 2025-05-15 17:45:58 +01:00
gaojingyu
1bdeed33c2 fix: Update @mcp.resource to use function documentation as default descrip… (#489) 2025-05-15 11:14:50 +01:00
ihrpr
c2f8730d6d Fix example for multiple stateless servers (#720) 2025-05-15 09:57:12 +01:00
ihrpr
13f018264c Set 2025-03-26 as the latest protocol version (#719) 2025-05-15 09:29:54 +01:00
ihrpr
b3fbee9c48 Include server examples folder in pyright check (#667) 2025-05-15 09:29:36 +01:00
5enxia
0a388b642f Add example for stateless server with JSON response (#704) 2025-05-15 09:24:13 +01:00
Jerome
a00b20a427 feat: add cursor pagination support to all client list methods (#718) 2025-05-15 09:04:04 +01:00
Daniel Avdar
b8f7b027c3 Update CI configuration to support multiple OS environments (#708)
Signed-off-by: DanielAvdar <66269169+DanielAvdar@users.noreply.github.com>
2025-05-14 13:43:59 +01:00
Akshey D
9e66f7ce89 feat: add message to ProgressNotification (#435)
Co-authored-by: ihrpr <inna.hrpr@gmail.com>
2025-05-13 18:40:15 +01:00
Lion Yang
c5782129bc Fix hanging on streams when stdio_client exiting (#559) 2025-05-13 18:36:33 +01:00
john0312
37b54b4c03 fix: Add checks and better error messages on server object for mcp run (#297) 2025-05-13 18:27:10 +01:00
Daniel
8b5838675c docs: clarify LLM API configuration in mcp_simple_chatbot README (#487)
Co-authored-by: Danny <88821366+ddaltn@users.noreply.github.com>
2025-05-13 14:00:01 +01:00
Takayuki SHIMIZUKAWA
173e0ee3b8 fix typo: server has get_context attribute instead of request_context. (#446) 2025-05-13 12:12:26 +01:00
Mo
7b6a903eb9 Create ClientSessionGroup for managing multiple session connections. (#639) 2025-05-13 09:58:24 +01:00
ihrpr
fdb538bc28 Simple Auth Example to use shttp in addition to sse (#695) 2025-05-12 22:08:23 +01:00
Jeremiah Lowin
1cb740745d Properly infer prefix for SSE messages (#659) 2025-05-12 21:29:17 +01:00
shaun smith
5289d0686a Minor tweaks to README for Streamable HTTP (#690) 2025-05-12 21:24:16 +01:00
Nate Barbettini
f745d69dcb fix: 204 is an acceptable response to DELETEing the session (#697) 2025-05-12 21:22:55 +01:00
mopg
76919cfaa4 Fix typo in authentication section of README (#676) 2025-05-12 18:44:02 +01:00
ihrpr
c6fb822c86 Fix streamable http sampling (#693) 2025-05-12 18:31:35 +01:00
ihrpr
ed25167fa5 Introduce a function to create a standard AsyncClient with options (#655) 2025-05-08 20:53:21 +01:00
ihrpr
72003d9cc0 StreamableHttp - update docs (#664) 2025-05-08 20:49:55 +01:00
ihrpr
e4e119b324 Streamable HTTP - improve usability, fast mcp and auth (#641) 2025-05-08 20:43:25 +01:00
inceptmyth
280bab36f4 Fix: Use absolute path to uv executable in Claude Desktop config (#440) 2025-05-08 15:57:41 +01:00
ihrpr
a027d75f60 Auth SSE simple server example (#610)
Co-authored-by: Peter Raboud <praboud@anthropic.com>
Co-authored-by: David Soria Parra <davidsp@anthropic.com>
Co-authored-by: Basil Hosmer <basil@anthropic.com>
Co-authored-by: Paul Carleton <paulc@anthropic.com>
Co-authored-by: Paul Carleton <paulcarletonjr@gmail.com>
2025-05-07 17:52:29 +01:00
yabea
a1307abded Fix the issue of get Authorization header fails during bearer auth (#637)
Co-authored-by: yangben <yangben@zhihu.com>
2025-05-07 17:42:02 +01:00
ihrpr
9d99aee014 Revert "Add message queue for SSE messages POST endpoint (#459)" (#649) 2025-05-07 16:35:20 +01:00
Samad Yar Khan
c8a14c9dba docs: fix broken link to OAuthServerProvider in Authentication section of README (#651) 2025-05-07 17:17:11 +02:00
tim-watcha
e0d443c95e Add mount_path support for proper SSE endpoint routing with multiple FastMCP servers (#540)
Co-authored-by: ihrpr <inna.hrpr@gmail.com>
2025-05-07 11:14:25 +01:00
Akash D
3b1b213a96 Add message queue for SSE messages POST endpoint (#459) 2025-05-06 17:10:43 -07:00
ihrpr
58c5e7223c SSE FastMCP - do not go though auth when it's not needed (#619) 2025-05-02 17:56:02 +01:00
Akash D
83968b5b2f Handle SSE Disconnects Properly (#612) 2025-05-02 09:32:46 -07:00
ihrpr
5d8eaf77be Streamable Http - clean up server memory streams (#604) 2025-05-02 14:59:17 +01:00
ihrpr
74f5fcfa0d StreamableHttp - client refactoring and resumability support (#595) 2025-05-02 14:49:50 +01:00
ihrpr
cf8b66b82f use metadata from SessionMessage to propagate related_request_id (#591) 2025-05-02 14:35:17 +01:00
ihrpr
da0cf22355 Wrap JSONRPC messages with SessionMessage for metadata support (#590) 2025-05-02 14:29:00 +01:00
ihrpr
3978c6e1b9 StreamableHttp -- resumability support for servers (#587) 2025-05-02 14:10:40 +01:00
ihrpr
9dfc925090 StreamableHttp client transport (#573) 2025-05-02 13:59:02 +01:00
ihrpr
46523afe30 StreamableHttp - GET request standalone SSE (#561) 2025-05-02 13:52:27 +01:00
ihrpr
72b66a58b1 StreamableHttp - stateless server support (#554) 2025-05-02 13:40:21 +01:00
ihrpr
78f0b11a09 StreamableHttp - Server transport with state management (#553) 2025-05-02 11:58:54 +01:00
Peter Raboud
2210c1be18 Add support for serverside oauth (#255)
Co-authored-by: David Soria Parra <davidsp@anthropic.com>
Co-authored-by: Basil Hosmer <basil@anthropic.com>
Co-authored-by: ihrpr <inna@anthropic.com>
2025-05-01 19:42:59 +01:00
bhosmer-ant
82bd8bc1d9 Properly clean up response streams in BaseSession (#515) 2025-05-01 14:45:47 +01:00
bhosmer-ant
1a330ac672 Add ToolAnnotations support in FastMCP and lowlevel servers (#482) 2025-04-30 14:52:56 +01:00
Samuel Colvin
017135434e add pytest-pretty dev dependency (#546) 2025-04-29 21:02:09 +01:00
Guillaume Raille
96e5327110 add a timeout arguments on per-request basis (as per MCP specifications) (#601) 2025-04-29 13:58:48 +01:00
Samuel Colvin
697b6e8e05 replace inefficient use of to_jsonable_python (#545) 2025-04-26 20:41:19 +02:00
ihrpr
b4c7db6a50 Format files with ruff (#562) 2025-04-23 05:06:51 +01:00