Commit graph

135 commits

Author SHA1 Message Date
Jeremiah Lowin
c452164e86
Fix concurrent proxy client operations with session isolation (#1083)
* Refactor Client session state with ClientSessionState dataclass

Fixes #1068 by introducing ClientSessionState to encapsulate session management
attributes, simplifying Client.new() and preventing concurrent proxy client
context mixing through client factory pattern.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Update proxy documentation for new client factory pattern

Documents the new session management behavior, client_factory parameter,
and concurrent operation safety introduced in v2.10.3 to fix #1068.

* Remove deprecation of client parameter and update documentation

- Undeprecated FastMCPProxy client parameter
- Made client_factory the advanced option for custom control
- Added detailed explanation of how client factories work internally
- Removed outdated note about proxy feature limitations
- Removed fabricated Advanced Usage section

* Re-do proxy documentation

* Fix deprecated client parameter to provide session isolation

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-07-08 17:22:43 -04:00
hopeful0
f7dfd5be9c
Proxy support advanced MCP features (#1022)
* Proxy support advanced MCP features

* Optimize ProxyClient testing

* Add documentation for ProxyClient
2025-07-04 12:21:57 -04:00
Jeremiah Lowin
5ddb54bbd4 Clean up docs 2025-07-03 11:24:53 -04:00
Jeremiah Lowin
79822ac731
Merge pull request #997 from sstene1/auth-alg
Add Support for Configurable Algorithms
2025-06-30 18:44:03 -04:00
Jeremiah Lowin
2690878412 Update middleware imports and documentation 2025-06-30 18:35:16 -04:00
Shane Stene
1c3ee67828 Merge branch 'auth-alg' of https://github.com/sstene1/fastmcp into auth-alg 2025-06-30 16:47:24 -05:00
Shane Stene
4a5a2b6d17 config algorithm support 2025-06-30 16:33:25 -05:00
Jeremiah Lowin
eaf27c710d Support "no response" elicitation requests 2025-06-30 13:03:57 -04:00
Jeremiah Lowin
cc98298e6e Add new tag 2025-06-28 15:15:35 -04:00
Jeremiah Lowin
6ff4022afa Update parameter capitalization 2025-06-28 15:06:16 -04:00
Jeremiah Lowin
2a3fa142f8 Update documentation 2025-06-28 15:05:13 -04:00
Jeremiah Lowin
3805ac9b44 Provide a response type to client 2025-06-28 09:47:14 -04:00
Jeremiah Lowin
c412a63d4e Update docs 2025-06-27 22:38:55 -04:00
Jeremiah Lowin
1e29149d5f Merge branch 'main' into output-schema 2025-06-26 19:30:35 -04:00
Jeremiah Lowin
7b9696405b Remove legacy json parsing
Because the server now validates inputs, its no longer viable to provide a JSON string where e.g. an array is expected, so we can entirely remove FastMCP's "legacy json parsing" support from 1.x.

This is a breaking change (for legacy opt-in behavior)
2025-06-26 18:19:43 -04:00
Jeremiah Lowin
9d51bca0d8 Merge branch 'main' into protocol-update 2025-06-26 18:13:59 -04:00
Jeremiah Lowin
ddb38bacc4 Fix middleware tests 2025-06-26 18:13:32 -04:00
Jeremiah Lowin
5fc82f4fef Fix version badge for messages 2025-06-26 09:40:49 -04:00
Jeremiah Lowin
38036b1f42 Add automatic MCP list change notifications and client message handling
Implements comprehensive notification system for tools, resources, and prompts with automatic client updates and flexible message handlers.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-24 22:33:06 -04:00
Jeremiah Lowin
f821edb252 Remove production-ready language from middleware docs 2025-06-22 22:01:10 -04:00
Jeremiah Lowin
6d033eeaf1 Add production-ready middleware examples with comprehensive tests
Implements timing, logging, rate limiting, and error handling middleware to showcase
FastMCP's middleware capabilities as a headline feature. Each middleware includes:

- Production-ready implementations with full configurability
- Comprehensive unit and integration tests with real FastMCP servers
- Updated documentation with teaching examples and production usage patterns

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-22 21:57:49 -04:00
Jeremiah Lowin
44f14b1f7b Clean up parameter documentation 2025-06-22 20:59:53 -04:00
Jeremiah Lowin
ffe0c92d63 Alias streamable-http as http 2025-06-22 20:00:11 -04:00
Jeremiah Lowin
0142bb2af1
Merge branch 'protocol-update' into output-schema 2025-06-22 13:46:26 -04:00
Jeremiah Lowin
133254ee25 Update docs 2025-06-22 13:34:36 -04:00
Jeremiah Lowin
1adca653e3 Update overview
Co-Authored-By: Claude <claude@users.noreply.github.com>
2025-06-22 13:23:52 -04:00
Jeremiah Lowin
4a038d8f54 Update prompts.mdx
Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-22 09:57:25 -04:00
Jeremiah Lowin
7dd2a13ec2 Update docs
Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-22 09:52:52 -04:00
Jeremiah Lowin
e245155bc5 Simplify docs nav 2025-06-20 20:48:42 -04:00
Jeremiah Lowin
4b77c3a405 Add docs 2025-06-20 18:23:47 -04:00
Jeremiah Lowin
28fe5082d2 Add session_id to context documentation
Fast follow to #881 to document the new session_id property.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-19 18:35:59 -04:00
Jeremiah Lowin
dee2f33a81 Update doc icons 2025-06-19 17:28:00 -04:00
Jeremiah Lowin
085c5b765b Update docs and tests 2025-06-19 17:06:54 -04:00
Jeremiah Lowin
0beb79d11a Minor updates 2025-06-19 15:28:55 -04:00
Jeremiah Lowin
2e31b2704b Update tests 2025-06-19 14:05:19 -04:00
Jeremiah Lowin
922e1d5b82 Update docs 2025-06-18 11:48:44 -04:00
Goro
058ebdd16f Add file tool return value doc 2025-06-16 07:40:06 +02:00
Jeremiah Lowin
06dcff3b3b Add tests 2025-06-14 09:22:29 -04:00
Jeremiah Lowin
46ab813de6 Deprecate top-level import 2025-06-14 09:12:21 -04:00
Jeremiah Lowin
327f784e6c Restore .settings access as deprecated 2025-06-11 09:31:32 -04:00
Jeremiah Lowin
cdf3ace479 Add docs for tag-based filtering 2025-06-10 21:23:50 -04:00
Jeremiah Lowin
55c65c932b Add docs 2025-06-10 21:13:27 -04:00
Jeremiah Lowin
f933de16b3
Update docs/servers/openapi.mdx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-06-10 16:40:01 -04:00
Jeremiah Lowin
094ead2a77 Treat all openapi routes as tools 2025-06-10 14:42:10 -04:00
Jeremiah Lowin
6dc2bd7ca2 Merge branch 'main' into settings 2025-06-10 12:02:39 -04:00
Jeremiah Lowin
233c4fb3fb Add docs 2025-06-10 11:06:31 -04:00
Jeremiah Lowin
aaa09ca7a3 Remove open-ended and server-specific settings 2025-06-07 20:20:04 -04:00
Jeremiah Lowin
d64077b03b remove empty parens from prompt 2025-06-05 14:56:10 -04:00
Jeremiah Lowin
5a0f57498f remove empty parens from tool 2025-06-05 14:55:32 -04:00
Jeremiah Lowin
a551b3468b Add tags 2025-06-04 18:36:10 -04:00