liuhao1024
3d37869295
fix(anthropic): use double-underscore mcp__ prefix for OAuth tool names
...
Anthropic's Claude-Code request classifier treats tool names with a
single-underscore `mcp_<x>` prefix as non-Claude-Code / third-party,
routing the request to extra-usage billing (HTTP 400). Real Claude Code
uses double underscores: `mcp__<server>__<tool>`.
Change the tool-name prefix from `mcp_` to `mcp__` in both the outgoing
path (build_anthropic_kwargs) and the incoming path
(normalize_response). Update the skip-guard to check for both `mcp_`
and `mcp__` prefixes so native MCP server tools (which use the legacy
single-underscore format) are not double-prefixed.
Fixes #46675
2026-06-17 13:12:23 +05:30
..
2026-06-08 22:46:57 -07:00
2026-06-08 22:46:57 -07:00
2026-06-17 13:12:23 +05:30
2026-05-28 00:20:11 -07:00
2026-06-12 08:51:10 +00:00
2026-06-16 15:49:59 -07:00
2026-06-15 05:31:21 -07:00
2026-06-17 13:12:23 +05:30
2026-05-15 14:00:01 -07:00
2026-06-16 06:23:24 -07:00
2026-05-18 10:14:38 -07:00
2026-06-16 05:45:40 -07:00
2026-06-15 05:25:17 -07:00
2026-05-17 04:04:15 -07:00
2026-05-29 04:22:27 -07:00
2026-06-11 07:15:30 -07:00
2026-06-13 13:45:29 -07:00
2026-06-09 02:46:04 -07:00
2026-06-11 19:50:08 -05:00
2026-06-12 16:47:15 -07:00
2026-05-29 19:05:03 -07:00
2026-06-09 19:16:46 -05:00
2026-06-16 11:45:36 -07:00
2026-06-16 15:49:59 -07:00
2026-06-14 03:20:21 -07:00
2026-05-25 00:32:08 -07:00
2026-06-08 11:57:03 -07:00
2026-05-26 15:41:11 -07:00
2026-06-12 08:51:10 +00:00
2026-06-15 06:29:00 -07:00
2026-06-10 03:04:54 -07:00
2026-06-15 07:46:34 -07:00
2026-06-10 12:39:44 -07:00
2026-06-13 21:14:32 -07:00
2026-06-14 02:07:32 -07:00
2026-05-14 08:03:56 -07:00
2026-06-13 13:47:08 -07:00
2026-04-28 06:46:45 -07:00
2026-05-28 22:26:25 -07:00
2026-05-29 01:23:06 -07:00
2026-06-03 12:00:27 -07:00
2026-05-24 18:10:47 -07:00
2026-05-13 22:31:28 -07:00
2026-06-07 21:50:57 -07:00
2026-06-07 18:33:20 -07:00
2026-05-16 17:59:32 -07:00
2026-05-28 00:20:11 -07:00
2026-04-28 12:27:36 -07:00
2026-04-30 23:03:54 -07:00
2026-05-11 16:49:13 -07:00
2026-06-16 10:37:37 -07:00
2026-06-01 01:22:38 -07:00
2026-05-31 06:14:32 -07:00
2026-06-14 13:50:36 -07:00
2026-05-27 00:43:32 -07:00
2026-06-13 05:51:41 -07:00
2026-05-08 14:27:40 -07:00
2026-06-07 08:36:48 -07:00
2026-05-10 07:09:28 -07:00
2026-05-12 20:49:20 -07:00
2026-05-16 17:59:32 -07:00
2026-06-16 11:28:35 -07:00
2026-05-12 20:46:04 -07:00
2026-04-13 16:32:04 -07:00
2026-06-15 05:31:21 -07:00
2026-04-08 00:41:36 -07:00
2026-06-02 20:23:09 +00:00
2026-05-19 00:12:41 -07:00
2026-05-18 21:38:05 -07:00
2026-06-16 10:37:37 -07:00
2026-06-08 22:46:57 -07:00
2026-06-16 13:08:34 -07:00
2026-06-13 21:14:32 -07:00
2026-05-28 04:53:27 -07:00
2026-05-25 23:17:33 -07:00
2026-06-16 11:28:35 -07:00
2026-05-05 04:33:38 -07:00
2026-05-04 12:07:17 -07:00
2026-05-25 14:52:24 -07:00
2026-06-11 05:10:10 -07:00
2026-05-19 00:12:12 -07:00
2026-05-13 06:46:23 -07:00
2026-02-21 22:31:43 -08:00
2026-05-25 01:41:19 -07:00
2026-05-25 01:41:19 -07:00
2026-05-24 18:04:54 -07:00
2026-05-24 18:04:54 -07:00
2026-06-16 15:49:59 -07:00
2026-06-08 09:42:23 -07:00
2026-06-07 22:42:05 -07:00
2026-06-10 00:24:06 -07:00
2026-05-13 16:39:41 -07:00
2026-05-13 16:39:41 -07:00
2026-05-28 04:52:42 -07:00
2026-05-28 04:52:42 -07:00