Categorized | 网络技术

Tags | , ,

vscode中codex的mcp配置说明

发布于 2025年09月28日 更新于 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'

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

  • 线程中使用正则表达式cpu占用100%解决方案 2014-05-29
  • 密码保护:出场教程 2017-10-24
  • excel中批量添加带图片批注的vba宏命令 2015-06-04
  • Amazon EC2云主机开通过程及Putty的SSH登录说明 2013-08-24
  • 2025.7.10更新:领势MX4200路由器优化、避坑及mesh组网简易教程 2025-01-06
  • Centos安装L2TP+IPSec完整教程 2015-02-07
  • 百度蜘蛛抓取压力反馈工具发布 2012-05-18
  • .htaccess中RedirectMatch的301,URL广泛匹配如何设置? 2012-07-22
  • Amazon EC2的Proftpd连接不上? 2013-08-25
  • 易语言curl支持库与WinHttpRequest、WinInet、互联网支持库http访问对比测试 2014-04-30
  • 发表评论

    Time limit is exhausted. Please reload CAPTCHA.

       我相信你,不会发广告!

    斗牛SEO工具