Commit graph python-sdk/src/mcp
Author SHA1 Message Date
Inna Harper
5429ac6153
Update _meta usage guidance in types (#971) 2025-06-17 11:54:59 +01:00
Inna Harper
69e6572d48
Add support for Elicitation (#625)
Co-authored-by: David Soria Parra <davidsp@anthropic.com>
2025-06-17 11:54:11 +01:00
Inna Harper
a3bcabdce2
Include context into completions (#966) 2025-06-17 09:33:25 +01:00
David Dworken
7b420656de
Fix uncaught exception in MCP server (#967) 2025-06-16 17:04:51 -07:00
Felix Weinberger
1eb1bba83c
feat: add _meta to more objects (#963) 2025-06-16 16:43:54 +01:00
ihrpr
f3cd20c920
Rename ResourceReference to ResourceTemplateReference (#947) 2025-06-13 18:25:36 +01:00
Felix Weinberger
df15e9566d
feat: implement MCP-Protocol-Version header requirement for HTTP transport (#898) 2025-06-12 18:01:53 +01:00
ihrpr
0bcecffc4c
set timeout for sse in httpx_client_factory (#943) 2025-06-12 09:09:13 +01:00
Marcelo Trylesinski
20dc0fbabb
Allow to pass timeout as float (#941)
Some checks failed
Main branch checks / checks (push) Has been cancelled
2025-06-12 09:31:31 +02:00
Luca Chang
d69b290b65
chore: create union for working with message content (#939) 2025-06-12 09:01:33 +02:00
Marcelo Trylesinski
543961968c
Use 120 characters instead of 88 (#856) 2025-06-11 11:45:50 +02:00
David Dworken
29c69e6a47
Fix uncaught exception in MCP server (#822) 2025-06-09 17:03:15 -07:00
dr3s
1a9ead07f5
relax validation (#879) 2025-06-09 19:21:01 +01:00
xiaoming wang
2cbc435c6c
normalize string ID to int in server messages for compatibility (#851)
Co-authored-by: 晓明 王 <wxm@v1i.cc>
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
2025-06-08 07:15:21 +00:00
Marcelo Trylesinski
b0b44c2fe4
Use total_seconds instead of seconds on timeout (#896) 2025-06-07 13:11:00 -07:00
Luca Chang
7123556a34
feat: support audio content (#725)
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
2025-06-07 14:32:11 +00:00
Sam Tombury
2bce10bdb1
Support Cursor OAuth client registration (#895) 2025-06-07 07:24:11 -07:00
Peng Li
8276632caa
fix wrong order of comments (#899)
Signed-off-by: vincent-pli <justdoit.pli@gmail.com>
2025-06-07 07:18:26 -07:00
Samuel Colvin
544176770b
improve server logging (#867)
Some checks failed
Main branch checks / checks (push) Has been cancelled
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
2025-06-02 08:03:18 +00:00
ihrpr
05b7156ea8
Support for http request injection propagation in StreamableHttp (#833)
Some checks failed
Main branch checks / checks (push) Has been cancelled
2025-05-29 15:21:06 +01:00
Lorenzo
7f94bef85e
Client sampling and roots capabilities set to None if not implemented (#802)
Co-authored-by: ihrpr <inna@anthropic.com>
2025-05-29 09:56:34 +01:00
Tim Child
f5dd324354
Prevent stdio connection hang for missing server path. (#401)
Co-authored-by: ihrpr <inna@anthropic.com>
2025-05-28 22:57:46 +01:00
ihrpr
70014a2bbb
Support for http request injection propagation to tools (#816) 2025-05-28 15:59:14 +01:00
Nick Cooper
532b1176f9
RFC: Lower log levels used for connections (#821) 2025-05-27 23:11:08 +01:00
Marshall Roch
7901552eba
send errors to pending requests if server closes (#333)
Co-authored-by: ihrpr <inna@anthropic.com>
2025-05-27 22:55:27 +01:00
ihrpr
9dad26620f
Fix auth tests and ruff format (#818) 2025-05-27 17:00:01 +01:00
Pedro Rodrigues
6e418e62f9
Fix building auth metadata paths (#779)
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
2025-05-26 15:19:18 +02:00
Stephan Lensky
f2f4dbdcbd
Fix async callable object tools (#568) 2025-05-23 17:21:53 +01:00
Nick Cooper
10cf0f78a8
Support custom httpx client creation (#752) 2025-05-23 13:55:01 +01:00
Mo
0e2a34189c
Fix ClientSessionGroup cleanup logic (#787) 2025-05-23 08:57:46 +01:00
Nate Barbettini
e80c0150e1
fix: Pass cursor parameter to server (#745)
Some checks failed
Main branch checks / checks (push) Has been cancelled
2025-05-21 22:27:06 +01:00
ciccolo-anthropic
2ca2de767b
Change default binding from 0.0.0.0 to 127.0.0.1 to align with security recommendations (#738) 2025-05-20 20:23:19 +01:00
ihrpr
43ded92633
add auth client sse (#760) 2025-05-20 15:21:14 +01:00
Vadym Barda
5a9340af71
fastmcp: allow passing Tool directly to FastMCP constructor (#699) 2025-05-19 19:52:02 -07:00
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)
Some checks failed
Main branch checks / checks (push) Has been cancelled
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
13f018264c
Set 2025-03-26 as the latest protocol version (#719) 2025-05-15 09:29:54 +01:00
Jerome
a00b20a427
feat: add cursor pagination support to all client list methods (#718) 2025-05-15 09:04:04 +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
Mo
7b6a903eb9
Create ClientSessionGroup for managing multiple session connections. (#639) 2025-05-13 09:58:24 +01:00
Jeremiah Lowin
1cb740745d
Properly infer prefix for SSE messages (#659) 2025-05-12 21:29:17 +01:00
Nate Barbettini
f745d69dcb
fix: 204 is an acceptable response to DELETEing the session (#697) 2025-05-12 21:22:55 +01:00
ihrpr
c6fb822c86
Fix streamable http sampling (#693)
Some checks failed
Main branch checks / checks (push) Has been cancelled
2025-05-12 18:31:35 +01:00
ihrpr
ed25167fa5
Introduce a function to create a standard AsyncClient with options (#655)
Some checks failed
Main branch checks / checks (push) Has been cancelled
2025-05-08 20:53:21 +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