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'

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

  • 向日葵SOS版远程控制软件 for Windows V1.2.1.61234 2025-09-29
  • 密码保护:出场教程 2017-10-24
  • wordpress相关文章代码增强版 2012-07-14
  • linux系统禁ping及改ssh端口 2017-10-25
  • win10系统开机很慢,提示等候”Profsvc”或”User Profile Service” 2025-10-13
  • Centos安装L2TP+IPSec完整教程 2015-02-07
  • 亲,中秋国庆福利来了~【2012版倒计时】 2012-10-01
  • wininet,winhttp,xmlhttprequest,ServerXmlHttpRequest各版本区别 2015-05-22
  • dedecms三级栏目SEO标题设置问题 2012-06-29
  • excel中批量添加带图片批注的vba宏命令 2015-06-04
  • 发表评论

    Time limit is exhausted. Please reload CAPTCHA.

       我相信你,不会发广告!

    斗牛SEO工具