-
|
I wanted to ask about the compatibility of the MCP tool with Codex CLI. Currently, I’ve been running into performance issues with Claude Code, so I’ve switched to using Codex CLI more frequently. My concern is whether the MCP tool will continue to work without issues in Codex CLI, given that some parts of the prompt still contain references to Claude. Is there any limitation or risk of degraded performance when using the MCP tool in Codex CLI instead of Claude Code? Over time, I may end up using Codex CLI exclusively, so I’d like to confirm future compatibility. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hey, sorry for my late reply. Yes, Codanna works with Codex CLI. It's a standard MCP server, not tied to any specific client. Here's the configuration for ~/.codex/config.toml: [mcp_servers.codanna]
command = "/Users/yourusername/.cargo/bin/codanna"
args = ["serve", "--watch"]
startup_timeout_ms = 20000For your AGENTS.md or system prompt: ## Codanna MCP Tools
Workflow:
1. semantic_search_with_context - Find relevant code with context
2. analyze_impact - Map dependencies and change radius
3. find_symbol, get_calls, find_callers - Get specific details
Tool priority:
- Tier 1: semantic_search_with_context, analyze_impact
- Tier 2: find_symbol, get_calls, find_callers
- Tier 3: search_symbols, semantic_search_docs, get_index_info
Start with semantic search, then narrow with specific queries.The references to claude in our docs are just examples - the MCP protocol works the same way in any client. No compatibility issues with codex cli. Let me know if you run into any issues! |
Beta Was this translation helpful? Give feedback.
-
It seems like even though I’ve configured codanna, the MCP tool doesn’t automatically start indexing. How can I actually use it within my project in Codex? |
Beta Was this translation helpful? Give feedback.
Hey, sorry for my late reply.
Yes, Codanna works with Codex CLI. It's a standard MCP server, not tied to any specific …