[GH-ISSUE #341] deepseek-v4-flash-0731接入codex无法使用mcp #113

Closed
opened 2026-10-26 09:45:35 +00:00 by bsakaguchi · 3 comments
Owner

Originally created by @jadchene on GitHub (Aug 2, 2026).
Original GitHub issue: https://github.com/deepseek-ai/awesome-deepseek-agent/issues/341

无论使用官方文档中的脚本还是手动配置,都识别不到加载的mcp。
我明确让他调用mcp,他先调用了codex.list_mcp_resourses,返回空,然后告诉我找不到。
我又让他列出所有会话中的工具,依旧没有mcp相关的tool。
/mcp命令可以正常显示加载的mcp tool,切换至gpt模型也能正常调用mcp。
codex cli版本:0.146.0


已定位到原因:
model.json里面声明了supports_search_tool=true,改成false就好了

Image
Originally created by @jadchene on GitHub (Aug 2, 2026). Original GitHub issue: https://github.com/deepseek-ai/awesome-deepseek-agent/issues/341 无论使用官方文档中的脚本还是手动配置,都识别不到加载的mcp。 我明确让他调用mcp,他先调用了codex.list_mcp_resourses,返回空,然后告诉我找不到。 我又让他列出所有会话中的工具,依旧没有mcp相关的tool。 /mcp命令可以正常显示加载的mcp tool,切换至gpt模型也能正常调用mcp。 codex cli版本:0.146.0 ------------------------------------------------------------------ 已定位到原因: model.json里面声明了supports_search_tool=true,改成false就好了 <img width="610" height="95" alt="Image" src="https://github.com/user-attachments/assets/722cc9b9-be1c-481e-97bf-6b3efb39c2ad" />
Author
Owner

@jianhong-li commented on GitHub (Sep 17, 2026):

我也遇到了这个问题.关键是配置是deepseek 自己读deepseek 的文档来配置的

<!-- gh-comment-id:5716330388 --> @jianhong-li commented on GitHub (Sep 17, 2026): 我也遇到了这个问题.关键是配置是deepseek 自己读deepseek 的文档来配置的
Author
Owner

@jadchene commented on GitHub (Sep 18, 2026):

@jianhong-li 4.1应该已经修复了这个问题,我试了supports_search_tool=true也正常了,你可以重新配置一下试试

<!-- gh-comment-id:5723510972 --> @jadchene commented on GitHub (Sep 18, 2026): @jianhong-li 4.1应该已经修复了这个问题,我试了supports_search_tool=true也正常了,你可以重新配置一下试试
Author
Owner

@jianhong-li commented on GitHub (Sep 19, 2026):

@jianhong-li 4.1应该已经修复了这个问题,我试了supports_search_tool=true也正常了,你可以重新配置一下试试

谢谢回复. 不过我遇到的问题不是你的软件带来的. 我是从 google 排查问题来到了这里. 原因是 codex 的 mcp 的加载策略在加载时出错可能拿不到 MCP 有关. 具体见我给codex 提的 issue: https://github.com/openai/codex/issues/46399 是我一开始没有把问题排查清楚. 各种问题交织在一起导致问题排查有一些困难.

<!-- gh-comment-id:5740057991 --> @jianhong-li commented on GitHub (Sep 19, 2026): > [@jianhong-li](https://github.com/jianhong-li) 4.1应该已经修复了这个问题,我试了supports_search_tool=true也正常了,你可以重新配置一下试试 谢谢回复. 不过我遇到的问题不是你的软件带来的. 我是从 google 排查问题来到了这里. 原因是 codex 的 mcp 的加载策略在加载时出错可能拿不到 MCP 有关. 具体见我给codex 提的 issue: https://github.com/openai/codex/issues/46399 是我一开始没有把问题排查清楚. 各种问题交织在一起导致问题排查有一些困难.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
deepseek-ai/awesome-deepseek-agent#113
No description provided.