Skip to main content
Glama

Codex MCP Server

by cexll

batch-codex

Execute multiple code tasks simultaneously for batch processing, including mass refactoring, automated code transformations, and repetitive operations using atomic task delegation.

Instructions

Delegate multiple atomic tasks to Codex for batch processing. Ideal for repetitive operations, mass refactoring, and automated code transformations

Input Schema

NameRequiredDescriptionDefault
tasksYesArray of atomic tasks to delegate to Codex
modelNoModel to use: gpt-5-codex, gpt-5, o3, o4-mini, codex-1, codex-mini-latest, gpt-4.1
sandboxNoSandbox mode: read-only, workspace-write, danger-full-accessworkspace-write
parallelNoExecute tasks in parallel (experimental)
stopOnErrorNoStop execution if any task fails
timeoutNoMaximum execution time per task in milliseconds
workingDirNoWorking directory for execution
searchNoEnable web search for all tasks (activates web_search_request feature)
ossNoUse local Ollama server
enableFeaturesNoEnable feature flags
disableFeaturesNoDisable feature flags

Input Schema (JSON Schema)

{ "properties": { "disableFeatures": { "description": "Disable feature flags", "items": { "type": "string" }, "type": "array" }, "enableFeatures": { "description": "Enable feature flags", "items": { "type": "string" }, "type": "array" }, "model": { "description": "Model to use: gpt-5-codex, gpt-5, o3, o4-mini, codex-1, codex-mini-latest, gpt-4.1", "type": "string" }, "oss": { "description": "Use local Ollama server", "type": "boolean" }, "parallel": { "default": false, "description": "Execute tasks in parallel (experimental)", "type": "boolean" }, "sandbox": { "default": "workspace-write", "description": "Sandbox mode: read-only, workspace-write, danger-full-access", "type": "string" }, "search": { "description": "Enable web search for all tasks (activates web_search_request feature)", "type": "boolean" }, "stopOnError": { "default": true, "description": "Stop execution if any task fails", "type": "boolean" }, "tasks": { "description": "Array of atomic tasks to delegate to Codex", "items": { "additionalProperties": false, "properties": { "priority": { "default": "normal", "description": "Task priority", "enum": [ "high", "normal", "low" ], "type": "string" }, "target": { "description": "Target files/directories (use @ syntax)", "type": "string" }, "task": { "description": "Atomic task description", "type": "string" } }, "required": [ "task" ], "type": "object" }, "minItems": 1, "type": "array" }, "timeout": { "description": "Maximum execution time per task in milliseconds", "type": "number" }, "workingDir": { "description": "Working directory for execution", "type": "string" } }, "required": [ "tasks" ], "type": "object" }

Other Tools from Codex MCP Server

Related Tools

    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/cexll/codex-mcp-server'

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