Skip to content

Commit 62e825d

Browse files
committed
fix(mcp): adjust Codex Context7 arguments
- What: correct Codex CLI arguments for Context7 MCP server - Why: fix Context7 integration with Codex CLI
1 parent 18e1a75 commit 62e825d

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010
### Fixed
1111
- Improved MCP list parsing to detect Gemini CLI entries with checkmarks and ANSI colors.
1212
- Added Gemini MCP settings migration to remove invalid `type` fields and map HTTP URLs.
13+
- Removed invalid `--env` option when adding Context7 MCP via Codex CLI.
1314

1415
## [0.1.0] - 2025-12-23
1516

src/features/mcp_manager/tools.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,6 @@ pub fn get_available_tools(cli_type: CliType) -> Vec<McpTool> {
108108
"context7".to_string(),
109109
"--url".to_string(),
110110
"https://mcp.context7.com/mcp".to_string(),
111-
"--env".to_string(),
112-
format!("CONTEXT7_API_KEY={}", key),
113111
"--bearer-token-env-var".to_string(),
114112
"CONTEXT7_API_KEY".to_string(),
115113
],

0 commit comments

Comments
 (0)