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'

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

  • 百度蜘蛛抓取压力反馈工具发布 2012-05-18
  • centos安装ss多用户带前端教程 2015-02-03
  • 2013年flash倒计时及win7侧边栏小工具制作-by simon 2013-06-12
  • 天天爱消除刷满分(250万分)攻略 2013-08-20
  • win10系统开机很慢,提示等候”Profsvc”或”User Profile Service” 2025-10-13
  • lnmp下mysql 5.6内存占用过高解决方法 2015-11-02
  • 易语言curl支持库与WinHttpRequest、WinInet、互联网支持库http访问对比测试 2014-04-30
  • wordpress如何给read more和comment评论链接添加nofollow? 2013-08-26
  • dedecms优化中常用的一些函数汇总 2012-06-16
  • winhttp api和com对象版区别 2017-05-10
  • 发表评论

    Time limit is exhausted. Please reload CAPTCHA.

       我相信你,不会发广告!

    斗牛SEO工具