Commit graph

1,008 commits

Author SHA1 Message Date
Jeremiah Lowin
0824b3783d Clean up settings 2025-06-01 16:37:50 -04:00
Jeremiah Lowin
db18baa24f Support configuring bearer auth from env vars 2025-06-01 16:24:45 -04:00
Jeremiah Lowin
95caace6f8
Merge pull request #650 from jlowin/bearer
Add basic bearer auth for server and client
2025-06-01 13:06:19 -04:00
Jeremiah Lowin
c6d168ac20 update typing 2025-06-01 12:49:33 -04:00
Jeremiah Lowin
172f67c617 Add jwks tests 2025-06-01 12:44:56 -04:00
Jeremiah Lowin
da9c51e132 Add tests; update default issuer 2025-06-01 12:09:30 -04:00
Jeremiah Lowin
ed94a2ae89 Update test_bearer.py 2025-06-01 11:57:44 -04:00
Jeremiah Lowin
20ae68bb7d Add basic bearer auth for server and client 2025-06-01 11:13:21 -04:00
Jeremiah Lowin
01cb390462
Merge pull request #649 from jlowin/simplify-process
Simplify code for running servers in processes during tests
2025-06-01 09:41:35 -04:00
Jeremiah Lowin
7f5744aeb1 Ensure pickleable args 2025-06-01 09:39:39 -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
2d56ae5e78
Merge pull request #647 from jlowin/tools-init
Support providing tools at init
2025-05-31 22:50:52 -04:00
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