MCP Catalogs
Home

CodexClaw

by MackDing·24·Score 40

Telegram bot for Claude Code and Codex CLI with MCP routing, multi-agent orchestration, cron jobs, and access controls.

developer-toolsai-llmcommunication
15
Forks
4
Open issues
1 mo ago
Last commit
2d ago
Indexed

Overview

CodexClaw is a sophisticated Telegram bot that connects to Codex through Node.js runtime with two backends: the Codex SDK and the legacy CLI/PTy path. It features task routing to the right execution surface, explicit tool handling through subagents, proactive automation via cron scheduler, and strict access controls with whitelist-only users. The bot separates Codex MCP responsibilities from Bot MCP responsibilities to avoid duplicate calls and extra latency. It supports interactive sessions scoped to chat + repo, manages bot-side MCP and GitHub subagents, and offers repository switching, status monitoring, and minimal frontend dev-server control directly from Telegram.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:Remote coding access through Telegram with Codex SDK or CLI backend
you:Multi-agent orchestration combining Codex with MCP and GitHub subagents
you:Scheduled automation and push notifications for daily summaries
you:What is the difference between SDK and CLI backends?
you:How does MCP routing work in this bot?

When to choose this

Choose this if you need Telegram-based remote access to Codex with clean separation between coding tasks and explicit MCP tool calls, especially when working with multiple Git repositories.

When NOT to choose this

Not suitable if you need a general-purpose MCP server beyond Codex integration, or if you require write access to repositories (this bot only has read capabilities except through explicit GitHub actions).

Tools this server exposes

12 tools extracted from the README
  • /mcp list

    List available MCP servers

  • /mcp status

    Check MCP server status

  • /mcp reconnect

    Reconnect to an MCP server

  • /mcp enable

    Enable an MCP server

  • /mcp disable

    Disable an MCP server

  • /mcp tools

    List tools available from an MCP server

  • /mcp call

    Call a tool from an MCP server

  • /gh commit

    Create a git commit

  • /gh push

    Push git commits to GitHub

  • /gh create repo

    Create a new GitHub repository

  • /gh run tests

    Run tests in GitHub

  • /gh test status

    Check the status of a test job

Comparable tools

claude-code-telegramcodex-cligithub-mcp

Installation

git clone https://github.com/MackDing/CodexClaw.git
cd CodexClaw
npm install
cp .env.example .env

# Configure minimum settings
BOT_TOKEN=123456789:telegram-token
ALLOWED_USER_IDS=123456789
STATE_FILE=.codex-telegram-claws-state.json
WORKSPACE_ROOT=.
CODEX_WORKDIR=.
CODEX_BACKEND=sdk

# Start the bot
npm run start

FAQ

What is the difference between SDK and CLI backends?
The SDK backend uses Codex SDK threads and is preferred for new installs. The CLI backend uses PTy sessions and falls back to codex exec if node-pty cannot spawn on the host system.
How does MCP routing work in this bot?
Coding requests go directly to Codex (which can use its own MCP stack), while bot-side MCP is only used for explicit '/mcp' commands to avoid duplicate queries and extra latency.

Compare CodexClaw with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.