Skip to content
Discussion options

You must be logged in to vote

Codex CLI stores its MCP server configuration in ~/.codex/config.toml (under [mcp_servers.<name>]), or you can manage them via the CLI:

codex mcp add <name> -- <command> [args...]

For example:

[mcp_servers.my_server]
command = "npx"
args = ["-y", "@modelcontextprotocol/server-filesystem", "/path/to/dir"]

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by nemesisLLC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants