fastmcp/examples
claude[bot] 8ecce7a95c Add built-in OpenTelemetry instrumentation middleware
- Create OpenTelemetryMiddleware with automatic span creation for all MCP operations
- Add opentelemetry as optional dependency (pip install fastmcp[opentelemetry])
- Gracefully degrades to no-op when OpenTelemetry not installed
- Configuration options for privacy (include_arguments) and performance (max_argument_length)
- Update documentation to reflect built-in support
- Update example to use built-in middleware
- Add comprehensive tests

Co-authored-by: William Easton <strawgate@users.noreply.github.com>
2025-12-03 22:46:14 +00:00
..
atproto_mcp Add "High Value" Ruff Rules (#2255) 2025-10-26 10:20:31 -04:00
auth Fix version badges for icons and website_url; add Discord example (#2509) 2025-12-01 13:39:43 -05:00
fastmcp_config Implement typed source system for FastMCP configuration (#1607) 2025-08-24 16:32:37 -04:00
fastmcp_config_demo Internal refactor: fastmcp config to mcp server config (#1672) 2025-08-29 21:37:39 -04:00
smart_home 2.14 deprecation removals (#2329) 2025-12-01 14:11:00 -05:00
testing_demo docs: clarify pytest-asyncio dependency and asyncio mode configuration (#2399) 2025-11-15 10:34:29 -05:00
complex_inputs.py Remove empty parens 2025-06-04 15:37:55 -04:00
config_server.py Remove empty parens 2025-06-04 15:37:55 -04:00
desktop.py Remove empty parens 2025-06-04 15:37:55 -04:00
echo.py Remove empty parens 2025-06-04 15:37:55 -04:00
get_file.py Add "High Value" Ruff Rules (#2255) 2025-10-26 10:20:31 -04:00
in_memory_proxy_example.py Add as_proxy improvements and tests 2025-05-17 12:23:48 -04:00
memory.fastmcp.json Update schema path (#1595) 2025-08-23 09:47:58 -04:00
memory.py 2.14 deprecation removals (#2329) 2025-12-01 14:11:00 -05:00
mount_example.fastmcp.json Update schema path (#1595) 2025-08-23 09:47:58 -04:00
mount_example.py Internal refactor of MCP handlers (#2005) 2025-10-05 08:45:10 -04:00
opentelemetry_example.py Add built-in OpenTelemetry instrumentation middleware 2025-12-03 22:46:14 +00:00
sampling.py Remove empty parens 2025-06-04 15:37:55 -04:00
sampling_fallback.py Make openai depedency optional (#1701) 2025-09-02 15:13:37 -04:00
screenshot.fastmcp.json Update schema path (#1595) 2025-08-23 09:47:58 -04:00
screenshot.py 2.14 deprecation removals (#2329) 2025-12-01 14:11:00 -05:00
serializer.py Internal refactor of MCP handlers (#2005) 2025-10-05 08:45:10 -04:00
simple_echo.py Remove empty parens 2025-06-04 15:37:55 -04:00
tags_example.py Add support for RouteMap tags, update docs 2025-05-22 21:59:16 -04:00
text_me.py Basic cleanup 2025-04-05 17:39:51 -04:00
tool_result_echo.py Improve ToolResult and structured output documentation (#2349) 2025-11-02 17:07:48 -05:00