Content
# Task-External
MCP Server with the same schema as Claude Code's Task tool. It delegates task calls to the OpenAI Codex SDK and executes tasks as an external agent.
## Setup
```bash
npm install
npm run build
```
## Configuration in Claude Code
Add to `mcpServers` in `~/.claude/settings.json`:
```json
{
"mcpServers": {
"task-external": {
"command": "node",
"args": ["/path/to/task-external/build/index.js"]
}
}
}
```
## Environment Variables
| Variable | Default | Description |
|---|---|---|
| `TASK_EXTERNAL_DEFAULT_MODEL` | `gpt-5.3-codex` | Default model |
| `TASK_EXTERNAL_MODEL_OPUS` | `gpt-5.3-codex` | Model for opus specification |
| `TASK_EXTERNAL_MODEL_SONNET` | `gpt-5.3-codex` | Model for sonnet specification |
| `TASK_EXTERNAL_MODEL_HAIKU` | `gpt-5.3-codex-spark` | Model for haiku specification |
## Agent Types
- **general-purpose** — General-purpose agent (read-write, with approval)
- **Explore** — Codebase exploration agent (read-only)
- **Plan** — Design and planning agent (read-only)
## License
MIT