Anand Hegde
6d5a4e8c6a
feat(mcp): support MCP Python SDK 2.x ( #3643 )
...
MCP Python SDK 2 renamed FastMCP to MCPServer (mcp.server.fastmcp is
gone) and moved transport_security from the constructor to sse_app().
Import MCPServer when available and fall back to FastMCP on 1.x, passing
transport_security where each version expects it.
Allow mcp < 3 in the mcp extra. 1.x stays supported because semgrep (dev
group) pins mcp==1.29.0: a v2-only pin makes uv resolve semgrep down to
1.79.0.
tests/test_mcp.py now passes plain strings to read_resource() and reads
uriTemplate through model_dump(by_alias=True), so it runs on both SDKs.
2026-09-14 12:10:09 +05:30
..
2026-07-04 17:26:38 +02:00
2026-08-07 10:54:14 +02:00
2026-08-01 10:53:33 +02:00
2026-09-05 10:02:01 +02:00
2026-06-06 08:24:14 +02:00
2026-08-01 10:19:50 +02:00
2026-06-06 06:46:24 +00:00
2026-03-24 08:18:04 +00:00
2026-03-14 09:33:37 +01:00
2026-09-12 15:30:08 +02:00
2026-09-12 11:36:06 +07:00
2026-09-12 15:30:08 +02:00
2026-09-12 15:30:08 +02:00
2026-03-14 10:33:24 +01:00
2026-03-22 10:15:17 +01:00
2025-10-18 09:25:39 +02:00
2026-03-14 10:33:24 +01:00
2025-11-22 18:48:13 +01:00
2025-12-26 18:47:01 +01:00
2025-10-18 09:25:39 +02:00
2026-01-03 14:21:26 +01:00
2025-12-26 18:47:01 +01:00
2026-09-12 15:30:08 +02:00
2025-12-30 19:04:07 +01:00
2026-08-24 17:45:05 +07:00
2026-09-11 12:14:21 +07:00
2026-05-21 03:06:41 +00:00
2026-09-12 15:30:08 +02:00
2026-09-12 15:30:08 +02:00
2026-09-12 15:30:08 +02:00
2026-02-26 21:55:37 +01:00
2026-08-07 16:06:39 +03:00
2026-08-16 23:10:45 +08:00
2026-09-14 12:10:09 +05:30
2024-12-30 11:57:11 +01:00
2026-09-12 15:30:08 +02:00
2026-05-23 11:52:53 +02:00
2025-11-04 21:41:15 +01:00
2026-09-12 15:30:08 +02:00
2026-09-12 15:30:08 +02:00
2026-02-07 00:55:14 +05:30
2026-08-25 19:18:18 +07:00
2026-05-31 17:34:25 +02:00
2026-08-15 11:09:13 +00:00
2026-07-14 09:59:20 +02:00
2026-09-12 15:30:08 +02:00
2026-02-07 00:55:14 +05:30
2026-05-15 17:32:25 +03:00
2026-03-07 10:09:24 +01:00
2026-02-07 00:55:14 +05:30
2026-09-12 15:30:08 +02:00
2026-08-27 10:31:01 +07:00
2026-09-12 15:30:08 +02:00
2026-09-12 15:30:08 +02:00
2026-09-12 15:30:08 +02:00
2026-08-04 21:13:20 -04:00
2026-09-12 15:30:08 +02:00
2026-08-26 14:42:35 +07:00
2026-09-05 10:46:03 +02:00
2026-05-23 12:27:19 +02:00
2026-09-12 15:30:08 +02:00
2026-08-05 13:37:30 +03:00
2026-08-07 16:35:36 +03:00
2026-08-26 19:15:40 +07:00
2026-08-05 16:44:15 +03:00
2026-09-07 15:13:36 +07:00
2026-07-04 17:26:38 +02:00
2026-08-26 23:38:44 +07:00
2026-07-18 09:29:06 +02:00
2026-09-08 14:36:17 +07:00
2026-09-12 11:31:29 +07:00
2026-03-29 16:41:48 +02:00
2026-02-17 23:46:22 +05:30
2026-05-23 11:40:20 +02:00