Commit graph

222 commits

Author SHA1 Message Date
Jeremiah Lowin
c9c10a55d8 Try expanding timeout because test error 2025-06-14 10:46:20 -04:00
Jeremiah Lowin
1866c17400 Update tests 2025-06-10 17:08:23 -04:00
Jeremiah Lowin
bc59a4fbf5 Ensure client is only initialized once 2025-06-08 14:48:05 -04:00
Jeremiah Lowin
6d36171f38 Fix passing token string to client auth 2025-06-07 21:39:50 -04:00
Jeremiah Lowin
099d340208 Update tests for prompts 2025-06-04 16:37:41 -04:00
Jeremiah Lowin
18615bc48b Remove empty parens 2025-06-04 15:41:28 -04:00
Jeremiah Lowin
d1549c3d35 Remove empty parens 2025-06-04 15:37:55 -04:00
Jeremiah Lowin
d7824f1414 Move nested server 2025-06-01 09:35:42 -04:00
Jeremiah Lowin
8fb709c98c Simplify code for running servers in processes 2025-06-01 09:35:06 -04:00
Jeremiah Lowin
3e2fbb606b
Merge branch 'main' into fix-typing 2025-05-31 20:47:12 -04:00
Jeremiah Lowin
f1e3713fc6 Update test typing 2025-05-31 20:41:18 -04:00
Jeremiah Lowin
ad8182eed0 Create http utility 2025-05-31 19:33:50 -04:00
Jeremiah Lowin
2390fb4da6 clean up test inits 2025-05-31 19:32:08 -04:00
Jeremiah Lowin
814a6e4419 Add concurrency test 2025-05-31 18:08:43 -04:00
Jeremiah Lowin
1d131a8c96 Create test_oauth.py 2025-05-30 21:17:56 -04:00
Jeremiah Lowin
975f151a9b Reset session after closing 2025-05-28 22:02:03 -04:00
Jeremiah Lowin
9bbd417129 Add keep_alive param to reuse subprocess 2025-05-28 21:46:40 -04:00
Jeremiah Lowin
ee059b02b6 Update test_openapi.py 2025-05-28 18:38:16 -04:00
Jeremiah Lowin
d311a2b878 Ensure behavior-affecting headers are excluded 2025-05-28 18:30:33 -04:00
Jeremiah Lowin
307a3b908a Ensure content-length is always stripped from client headers 2025-05-24 07:38:34 -04:00
Jeremiah Lowin
ae960e2f5a Update tests for new names 2025-05-23 17:16:32 -04:00
Jeremiah Lowin
e0ae84c75f Use lowercase name for headers 2025-05-23 16:02:42 -04:00
Jeremiah Lowin
de666be70d Update test_openapi.py 2025-05-23 15:40:03 -04:00
Jeremiah Lowin
b8e918a862 Ensure headers are passed through proxy servers 2025-05-23 15:39:45 -04:00
Jeremiah Lowin
213abc4244 Pass client headers through to OpenAPI client 2025-05-23 12:38:24 -04:00
Jeremiah Lowin
4e6b1bf611
Merge branch 'main' into mask-errors 2025-05-23 08:36:10 -04:00
Jeremiah Lowin
451fc3bfc2 Merge branch 'main' into clientconfig 2025-05-22 11:23:52 -04:00
Jeremiah Lowin
06b9b98b6c Raise an error if a Client is created with no servers in config 2025-05-22 11:22:45 -04:00
Jeremiah Lowin
53b067b4e7 Make error masking configurable 2025-05-22 09:08:16 -04:00
Jeremiah Lowin
1afe73c136 feat: support FastMCP v1 server transport 2025-05-21 17:42:26 -04:00
Jeremiah Lowin
fa1c94ccdc Support creating clients from mcpconfig 2025-05-20 20:48:16 -04:00
Jeremiah Lowin
02cb6f8291 Add config inference test 2025-05-20 17:45:13 -04:00
Jeremiah Lowin
e16cb61bc1 Improve client documentation 2025-05-20 11:44:23 -04:00
Jeremiah Lowin
4eb5c3245b
Merge branch 'main' into initialize-result 2025-05-20 10:45:50 -04:00
Jeremiah Lowin
7cad7373dd Merge branch 'main' into initialize-result 2025-05-20 10:41:21 -04:00
Jeremiah Lowin
79a3264908
Merge branch 'main' into progress 2025-05-20 10:40:52 -04:00
Jeremiah Lowin
3beabdbd1b
Merge branch 'main' into sse-inference 2025-05-20 10:29:47 -04:00
Jeremiah Lowin
5a89e0cc2b Fix typing 2025-05-20 09:36:00 -04:00
Jeremiah Lowin
a0e69a4cb2 Skip timeout tests on windows 2025-05-20 09:33:17 -04:00
Jeremiah Lowin
dde2dc4712 Flaky test 2025-05-20 09:30:03 -04:00
Jeremiah Lowin
c71138d6b8 Add progress handler to client 2025-05-20 09:27:47 -04:00
Jeremiah Lowin
8490905b0c Infer sse transport from url 2025-05-20 08:57:02 -04:00
Jeremiah Lowin
526b831bec Store the initialize result on the client 2025-05-19 20:49:03 -04:00
Jeremiah Lowin
d66353693e
Merge branch 'main' into lifecycle 2025-05-16 20:51:45 -04:00
davenpi
a9c8969c12 Increase timeout in flaky test for reliability 2025-05-16 15:58:25 -04:00
Jeremiah Lowin
c3e9bdb49e Add lifespan property to app 2025-05-16 10:51:48 -04:00
Jeremiah Lowin
8559673e58 Skip on window 2025-05-15 10:03:24 -04:00
Jeremiah Lowin
837d4c407d
Add timeout support to client (#455)
* Add timeouts kwargs

* Add timeout support

* Fix windows handling and docs

* Update client.mdx

* Windows tests

* Update test_sse.py

* Update test_sse.py

* Update test_sse.py

* Update test_sse.py

* Fix windows
2025-05-14 20:50:24 -04:00
Jeremiah Lowin
e7e301815f Handle template errors 2025-05-13 14:33:11 -04:00
Jeremiah Lowin
6fa7c1704a Improve error handling for tools and resources 2025-05-13 14:19:55 -04:00