Commit graph

995 commits

Author SHA1 Message Date
Jeremiah Lowin
7ac2c79ad9 Update fastmcp.mdx 2025-05-31 22:49:25 -04:00
Jeremiah Lowin
05c87d9f89 Update fastmcp.mdx 2025-05-31 22:42:51 -04:00
Jeremiah Lowin
8a0f9aab5a Support providing tools at init 2025-05-31 22:42:00 -04:00
Jeremiah Lowin
92872a4060
Merge pull request #646 from jlowin/fix-typing
Update test typing
2025-05-31 20:49:16 -04:00
Jeremiah Lowin
3e2fbb606b
Merge branch 'main' into fix-typing 2025-05-31 20:47:12 -04:00
Jeremiah Lowin
39c8f39863 Fix remaining typing issues 2025-05-31 20:46:12 -04:00
Jeremiah Lowin
f1e3713fc6 Update test typing 2025-05-31 20:41:18 -04:00
Jeremiah Lowin
27779676e3
Merge pull request #645 from jlowin/transport
Make FastMCPTransport support simulated Streamable HTTP Transport (didn't work)
2025-05-31 20:35:30 -04:00
Jeremiah Lowin
9cc67eeb70
Update src/fastmcp/utilities/http.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-05-31 20:34:14 -04:00
Jeremiah Lowin
97c9b9cbe4 Fix import 2025-05-31 20:30:36 -04:00
Jeremiah Lowin
3d454380b1 Fix import and remaining available port 2025-05-31 19:36:04 -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
08828945aa
Merge pull request #643 from jlowin/concurrency-2
Ensure close() cleans up client context appropriately
2025-05-31 18:15:50 -04:00
Jeremiah Lowin
b47d515dac Merge branch 'concurrency-2' of https://github.com/jlowin/fastmcp into concurrency-2 2025-05-31 18:12:18 -04:00
Jeremiah Lowin
fdfa1fe108 Use anyio.event 2025-05-31 18:12:17 -04:00
Jeremiah Lowin
82553482b8
Merge branch 'main' into concurrency-2 2025-05-31 18:10:23 -04:00
Jeremiah Lowin
fae2b5c54f
Merge pull request #635 from Sillocan/main
fix: Support concurrency in FastMcpProxy (and Client)
2025-05-31 18:08:54 -04:00
Jeremiah Lowin
814a6e4419 Add concurrency test 2025-05-31 18:08:43 -04:00
Jeremiah Lowin
10c868274b Ensure close() cleans up clients 2025-05-31 18:03:14 -04:00
Sillocan
b6c110fa0e
Merge branch 'jlowin:main' into main 2025-05-30 18:48:06 -07:00
Sillocan
90dd0c04f3 fix: Use a background task for managing session state mimicing stdiotransport 2025-05-30 18:47:13 -07:00
Jeremiah Lowin
f21edd5420
Merge pull request #478 from jlowin/oauthclient
Introduce MCP client oauth flow
2025-05-30 21:39:44 -04:00
Jeremiah Lowin
b8e1e8114b Fix issue when client info is written but flow is incomplete 2025-05-30 21:38:17 -04:00
Jeremiah Lowin
1d131a8c96 Create test_oauth.py 2025-05-30 21:17:56 -04:00
Jeremiah Lowin
f779624a74 Add client factory 2025-05-30 21:17:51 -04:00
Jeremiah Lowin
62eea7a20b Clean up 2025-05-30 20:08:42 -04:00
Sillocan
9018049828 test: Demonstrate issue with concurrent proxy tasks 2025-05-30 16:17:06 -07:00
Jeremiah Lowin
334163a4b7 Add basic server primitives 2025-05-30 14:23:34 -04:00
Jeremiah Lowin
1aeb61be5a Update token cache 2025-05-30 13:24:43 -04:00
Jeremiah Lowin
c438987d4e Add callback server 2025-05-30 13:03:01 -04:00
Jeremiah Lowin
67c36b0c11 Require mcp 1.9.2 or greater 2025-05-30 10:44:26 -04:00
Jeremiah Lowin
a842241a54 OAuth client 2025-05-30 10:42:26 -04:00
Jeremiah Lowin
0c8469ea4c Merge branch 'main' into oauthclient 2025-05-29 17:40:26 -04:00
nate nowack
b3d0f5beca
Merge pull request #625 from ksawaray/support-uppercase v2.5.2
Support for uppercase letters at the log level
2025-05-28 22:46:02 -05:00
Kyoji Ogasawara
78610a2791 Support for uppercase letters at the log level
Previously, fastmcp commands using uppercase log levels would fail to execute.

This update adds support for uppercase letters in log level
specifications.

e.g.
fastmcp run --transport streamable-http --host 0.0.0.0 -p 8000 --log-level DEBUG examples/echo.py
2025-05-29 11:27:56 +09:00
Jeremiah Lowin
eecfdc8e66
Merge pull request #624 from jlowin/keep-alive
Add keep_alive param to reuse subprocess
2025-05-28 22:04:28 -04:00
Jeremiah Lowin
137e366584 Merge branch 'keep-alive' of https://github.com/jlowin/fastmcp into keep-alive 2025-05-28 22:02:05 -04:00
Jeremiah Lowin
975f151a9b Reset session after closing 2025-05-28 22:02:03 -04:00
Jeremiah Lowin
441223f98c Update docstrings 2025-05-28 22:01:00 -04:00
Jeremiah Lowin
97bccb9104 Update client.mdx 2025-05-28 21:58:43 -04:00
Jeremiah Lowin
60a7eaf114
Merge branch 'main' into keep-alive 2025-05-28 21:48:33 -04:00
Jeremiah Lowin
9bbd417129 Add keep_alive param to reuse subprocess 2025-05-28 21:46:40 -04:00
Jeremiah Lowin
7b879642ee
Merge pull request #623 from jlowin/infer-typing
Improve type inference from client transport
2025-05-28 21:17:37 -04:00
Jeremiah Lowin
a3450b4b25 Improve type inference 2025-05-28 21:15:47 -04:00
Jeremiah Lowin
432dd4dd2d Improve type inference from client transport 2025-05-28 21:05:34 -04:00
Jeremiah Lowin
f61d1cc115
Merge pull request #620 from jlowin/headers
Ensure behavior-affecting headers are excluded when forwarding proxies/openapi
2025-05-28 18:45:13 -04:00
Jeremiah Lowin
586072f605
Merge branch 'main' into headers 2025-05-28 18:43:52 -04:00
Jeremiah Lowin
ed2b9176cd
Update src/fastmcp/server/dependencies.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-05-28 18:43:41 -04:00
Jeremiah Lowin
ee059b02b6 Update test_openapi.py 2025-05-28 18:38:16 -04:00