fastmcp/tests/server/middleware
nate nowack 41f59cd441
Add UsageMiddleware for per-user, per-tool usage metrics (#6510)
Records mcp.server.operation.duration per the OpenTelemetry MCP semantic conventions.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 01:30:47 +00:00
..
__init__.py Add single-component methods 2025-06-18 19:47:19 -04:00
test_caching.py fix(proxy): relay non-object tool results across MCP versions (#5763) 2026-11-10 13:50:35 -06:00
test_caching_guards.py Split guard caching tests into their own module 2026-07-26 16:46:21 -04:00
test_dereference.py fix(json-schema): keep tools/list working when a root $ref resolves to a boolean schema (#6185) 2026-11-10 02:15:53 -06:00
test_discovery_middleware.py Forward proxy server metadata across protocol eras (#4776) 2026-08-06 19:09:05 -04:00
test_error_handling.py Bound error-stat cardinality in ErrorHandlingMiddleware (#5537) 2026-11-10 02:17:41 -06:00
test_extension_resource_caching.py Add experimental Skills discovery to SkillsDirectoryProvider (#5704) 2026-10-19 15:59:03 -05:00
test_initialization_middleware.py Audit mode="legacy" pins in server tests and top-level stragglers 2026-07-20 16:00:27 -04:00
test_logging.py Require Python 3.11 (#6377) 2026-11-09 15:16:17 -06:00
test_logging_methods_filter.py fix(middleware): treat an empty methods allowlist as "log nothing" (#5727) 2026-11-02 19:32:36 +00:00
test_message_visibility.py Forward proxy server metadata across protocol eras (#4776) 2026-08-06 19:09:05 -04:00
test_middleware.py fix(server): pass typed list request messages to list middleware hooks (#5732) 2026-11-02 19:32:48 +00:00
test_middleware_nested.py Update tests for the removed sampling and roots server API 2026-07-26 14:38:26 -04:00
test_ping.py Stop PingMiddleware erroring when the client has no back-channel (#5901) 2026-11-10 02:16:12 -06:00
test_rate_limiting.py Expire idle per-client rate limiters (#6247) 2026-11-02 20:11:59 +00:00
test_response_limiting.py Keep is_error when ResponseLimitingMiddleware truncates a result (#5309) 2026-10-04 20:29:26 -04:00
test_timing.py Consolidate test fixtures and refactor large test files (#2941) 2026-01-19 15:18:35 -05:00
test_tool_injection.py Resolve injected tools through the server's tool lookup (#5431) 2026-10-04 10:39:47 -04:00
test_usage.py Add UsageMiddleware for per-user, per-tool usage metrics (#6510) 2026-11-23 01:30:47 +00:00
test_versioned_caching.py Fix response cache partitioning for versioned components (#4948) 2026-08-31 01:23:41 -05:00