Categorized | 网络技术

Tags | , ,

vscode中codex的mcp配置说明

发布于 2025年09月28日   

背景说明:win10电脑,之前安装过node.js环境,但是没安装在C盘,最近在配置vscode里的codex,mcp配置那里一直有问题,于是做了一些爬楼与反复测试,将目前正常的配置发出来。

推荐了3个mcp,chrome-devtools、context7、sequential-thinking

model_provider = "codex"
model = "gpt-5-codex"
model_reasoning_effort = "high"
disable_response_storage = true

[model_providers.codex]
name = "codex"
base_url = "https://xxx/v1"
wire_api = "responses"
requires_openai_auth = true

[projects.'C:\Users\simon']
trust_level = "trusted"

[mcp_servers.chrome-devtools]
command = "cmd"
args = ["/c", "npx", "-y", "chrome-devtools-mcp@latest","\"--executablePath=%CHROME_PATH%\""]
startup_timeout_sec = 20.0

[mcp_servers.chrome-devtools.env]
SystemRoot = 'C:\\Windows'
CHROME_PATH = "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe"

[mcp_servers.context7]
command = "cmd"
args = ["/c", "npx", "-y", "@upstash/context7-mcp@latest"]
startup_timeout_sec = 20.0

[mcp_servers.context7.env]
SystemRoot = 'C:\\Windows'

[mcp_servers.sequential-thinking]
command = "cmd"
args = ["/c", "npx", "-y", "@modelcontextprotocol/server-sequential-thinking"]
startup_timeout_sec = 20.0

[mcp_servers.sequential-thinking.env]
SystemRoot = 'C:\\Windows'

看了此文的人貌似还看了这些:

  • Ai来袭,随便聊聊。 2025-12-16
  • wordpress换空间实录,让windows的iis也支持去固定链接index.php化! 2011-02-21
  • Amazon EC2的V-P-N-PPTP搭建教程(on aws redhat6.5 X64) 2014-10-20
  • 密码保护:出场教程 2017-10-24
  • 天天爱消除刷满分(250万分)攻略 2013-08-20
  • 360极速浏览器在chrome商店无法安装插件提示不支持版本的解决方法 2014-07-11
  • VBA宏命令:批量检索替换/修改word中指定多个关键词的格式内容等 2015-04-11
  • wordpress相关文章代码增强版 2012-07-14
  • 亲,中秋国庆福利来了~【2012版倒计时】 2012-10-01
  • win10系统开机很慢,提示等候”Profsvc”或”User Profile Service” 2025-10-13
  • 发表评论

    Time limit is exhausted. Please reload CAPTCHA.

       我相信你,不会发广告!

    斗牛SEO工具