Commit graph

228 commits

Author SHA1 Message Date
zzstoatzz
8bbe6f5021 update deprecation 2025-05-19 15:22:16 -05:00
Amerr, Ziad (ext) (DI SW ICS MNA RD QA QST 2)
4561d722ad Removed trailing whitespace 2025-05-19 20:14:59 +03:00
Amerr, Ziad (ext) (DI SW ICS MNA RD QA QST 2)
2bf349b09f Fixed formatting again 2025-05-19 20:13:52 +03:00
Amerr, Ziad (ext) (DI SW ICS MNA RD QA QST 2)
1393a2bb06 Reformatting, and adding copilot's suggestion 2025-05-19 20:12:07 +03:00
Amerr, Ziad (ext) (DI SW ICS MNA RD QA QST 2)
d944f6591e Skipping permission test error if the user has root privileges 2025-05-19 20:02:59 +03:00
Jeremiah Lowin
b4d6ad80aa
Merge pull request #490 from jlowin/codex/add-as-proxy-method-to-fastmcp
Add FastMCP.as_proxy()
2025-05-17 20:10:00 -04:00
Jeremiah Lowin
24ed957f3a Update tests 2025-05-17 18:02:23 -04:00
Jeremiah Lowin
9a2d92b46d Add as_proxy improvements and tests 2025-05-17 12:23:48 -04:00
Jeremiah Lowin
e76a076da5 Fix static checks 2025-05-17 11:47:00 -04:00
Jeremiah Lowin
c9648389c4 Store server instance as fastmcp_server 2025-05-17 11:38:40 -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
6b4f700a59 Improve handling of exceptiongroups when raised in clients 2025-05-14 19:34:17 -04:00
Jeremiah Lowin
44a7f10ee6 prune titles from jsonschemas 2025-05-14 15:28:16 -04:00
Jeremiah Lowin
5dc64001b2 Add test for enum property 2025-05-14 14:24:44 -04:00
Jeremiah Lowin
e4eaa9890b ensure all json schemas are compressed 2025-05-14 14:20:18 -04:00
Jeremiah Lowin
ff318e655d Add reprs for OpenAPI objects 2025-05-14 13:42:20 -04:00
Jeremiah Lowin
08d54ef65b
Merge pull request #437 from davenpi/feat/remove-tool
feat: add support for removing tools from server
2025-05-13 18:36:18 -04:00
davenpi
a6b7da4599 chore: unify tool not found error message 2025-05-13 16:54:16 -04:00
davenpi
d6f7dab9e6 feat: add support for removing tools from server 2025-05-13 16:39:04 -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
Jeremiah Lowin
38ae8de404 Add test for SHTTP 2025-05-13 11:06:40 -04:00
Jeremiah Lowin
27416fdd11 Add path prefix to test 2025-05-13 11:04:49 -04:00
Jeremiah Lowin
f0b47376c4 Update deprecation message 2025-05-12 15:45:42 -04:00
Jeremiah Lowin
db3c59c098 Deprecate passing settings to the FastMCP instance 2025-05-12 15:37:12 -04:00
Jeremiah Lowin
84a79ab56e Fix bug that sets message path and sse path to same value 2025-05-10 16:10:39 -04:00
Jeremiah Lowin
456db4db63 Add test for no prefix 2025-05-10 15:50:03 -04:00
Jeremiah Lowin
b6d1b3f52f Deprecate transport-specific methods 2025-05-10 11:34:47 -04:00
Jeremiah Lowin
3fd015f180
Merge pull request #398 from jlowin/middleware
Allow users to pass middleware to starlette app constructors
2025-05-10 09:31:12 -04:00
Jeremiah Lowin
7f5c5878eb Allow passing custom middleware 2025-05-10 09:26:10 -04:00
Jeremiah Lowin
a4f5b32972 Fix static issues and platform dependencies 2025-05-10 09:05:53 -04:00
Didier Durand
68f4887d13 Adding tests for CLI 2025-05-10 05:55:26 +02:00
Jeremiah Lowin
7c257a481f
Merge pull request #388 from didier-durand/add-test-cache
Adding tests for TimedCache
2025-05-09 18:08:23 -04:00
Jeremiah Lowin
3ccf27930f Fix typing and static issues 2025-05-09 18:06:51 -04:00
Jeremiah Lowin
fab6e9ec34
Merge pull request #387 from didier-durand/add-test-types
Adding a few tests to Image type
2025-05-09 18:05:37 -04:00
Jeremiah Lowin
a0939e57fe test nested servers 2025-05-09 17:27:22 -04:00
Jeremiah Lowin
d83afcc9ef Ensure we handle nested SSE apps 2025-05-09 16:07:25 -04:00
Didier Durand
31f07d8ddf Adding tests for TimedCache 2025-05-09 18:15:47 +02:00
Didier Durand
f8130cc22f Adding a few tests to Image type 2025-05-09 18:00:00 +02:00
strawgate
a12edd7be5 fix recursive calls 2025-05-08 20:33:41 -05:00
Jeremiah Lowin
4355112cb3 Switch tests to use http 2025-05-07 21:06:00 -04:00
Jeremiah Lowin
a93bc1a12d Update lifespan tests 2025-05-07 12:21:10 -04:00
Jeremiah Lowin
cabe668e41 Incorporate streamable HTTP server changes 2025-05-07 12:13:17 -04:00
Jeremiah Lowin
9c936168cd Add integration tests for SSE 2025-05-07 11:04:47 -04:00
Jeremiah Lowin
4b4d806fd5 Note that get_http_request is deprecated 2025-05-06 22:24:26 -04:00
Jeremiah Lowin
82aa53e09b Refactor context to avoid unecessary passing 2025-05-06 21:24:29 -04:00