Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CC_IN_CODEX_CLAUDE_PATHNoAbsolute path to the claude executable if not in PATH

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
companion_openB

Create or restore the persistent Claude Code companion for a project cwd. This does not send work to Claude.

companion_resumeA

Bind cc-in-codex to an existing Claude Code conversation. SDK needs sessionId; TUI can use sessionId or continueLatest:true.

companion_sendA

Send a short task or follow-up to the persistent Claude Code companion and wait for completion. For long coding work, prefer companion_start plus polling.

companion_tui_openC

Create or restore a native Claude Code CLI in tmux for this project. Returns the attach command for the side terminal.

companion_tui_resumeB

Launch the visible tmux-hosted Claude Code CLI with --resume <sessionId> or --continue, then bind it to this project companion.

companion_tui_sendA

Paste a prompt into the persistent native Claude Code TUI and press Enter. Returns immediately with the tmux attach command.

companion_tui_rawA

Send literal text and/or tmux key names to the existing Claude Code TUI pane without the cc-in-codex wrapper. Use for slash commands (e.g. /clear), control keys (C-c), or Escape. Requires an open tui session.

companion_tui_compact_checkA

Inspect the visible Claude Code TUI and cc-in-codex metadata to decide whether this is a good checkpoint to run /compact. This is a heuristic, not a true token-limit reading.

companion_tui_compactA

Ask the visible Claude Code TUI to run /compact with cc-in-codex-aware preservation instructions. Prefer companion_tui_compact_check first.

companion_tui_screenB

Capture recent text from the persistent tmux-hosted Claude Code TUI so Codex can monitor what the user sees.

companion_startA

Start a background Claude Code companion run for this cwd. Returns quickly with runId; use companion_status/recent/result to monitor.

companion_waitB

Wait until the companion emits events after sinceCursor, finishes, or timeoutMs elapses. Use after companion_start for smoother progress updates.

companion_recentA

Read recent events from the persistent companion, similar to scrolling the Claude Code window.

companion_resultB

Read the latest companion result, resume command, and session metadata for a cwd.

companion_statusC

Inspect the current companion session for a cwd.

companion_cancelA

Cancel the currently running companion turn for a cwd, if any.

companion_init_projectA

Create AGENTS.md and CLAUDE.md in the project cwd so Codex and Claude Code share the same project instructions. Existing files are skipped unless force=true.

companion_resetA

Forget the project-to-Claude-session binding for a cwd. Use only when the user wants a fresh Claude Code companion.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
companion_policyDefault tool policy and interaction rules for the Claude Code companion.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Terry-Wang-Lynx/cc-in-codex'

If you have feedback or need assistance with the MCP directory API, please join our Discord server