How to Add MCP Servers to OpenAI Codex CLI
In this video, I’ll walk you through the step-by-step process of adding MCP servers into OpenAI’s Codex CLI. Whether you’re just getting started with the Codex command-line tool or you want to expand its functionality by connecting external MCP servers, this guide will help you set it up quickly and correctly.
Use Snyk for free to find and fix security issues in your applications today! https://snyk.co/ugLYn
✍️ Resources ✍️
Snyk MCP: https://snyk.co/mcp-docs
Context7: https://context7.com/
OpenAI Codex CLI: https://developers.openai.com/codex/cli
⏲️ Chapters ⏲️
00:00 - Intro
00:24 - The MCP servers we will be setting up
00:47 - Why this method is tedious...
01:34 - Setting up the Context7 MCP server
03:24 - Using the Context7 MCP server
05:52 - Setting up the Snyk MCP server
06:32 - Using the Snyk MCP server
08:46 - Outro
⚒️ About Snyk ⚒️
Snyk helps you find and fix vulnerabilities in your code, open-source dependencies, containers, infrastructure-as-code, software pipelines, IDEs, and more! Move fast, stay secure.
Learn more about Snyk: https://snyk.co/ugLYl
📱 Connect with Us 📱
🖥️ Website: https://snyk.co/ugLYl
🐦 X: http://twitter.com/snyksec
💼 LinkedIn: https://www.linkedin.com/company/snyk
💬 Discord: https://discord.gg/devsecops-community-918181751526948884
- ️ Subscribe: https://www.youtube.com/c/SnykSec
- 🔥 We're hiring! Check our open roles: https://snyk.co/ugLYp
🔗 Hashtags 🔗
#DevSecOps #aicoding #mcpserver #openai #codex #mcp #modelcontextprotocol #snyk