0.1.0npm · @donghae0414/codex-gemini-mcp · current release
Observed 2026-08-21T21:08:19.594Z using mcpSecurity-inventory. Status: succeeded. Negotiated protocol: 2025-06-18.
{
"tools": {
"listChanged": true
}
}| Tool | Category | Annotations | Risk |
|---|---|---|---|
ask_codexSend a prompt to local Codex CLI for analysis and implementation tasks. Supports foreground or background execution; background mode returns job metadata and persists prompt/response artifacts under the runtime directory.Input schema{
"type": "object",
"properties": {
"prompt": {
"type": "string",
"minLength": 1,
"description": "Prompt text to send to the CLI. Must be a non-empty string."
},
"model": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$",
"description": "Optional model override. Must match /^[A-Za-z0-9][A-Za-z0-9._:-]*$/ and be <= 128 chars."
},
"working_directory": {
"type": "string",
"minLength": 1,
"description": "Optional working directory for CLI execution. Defaults to process.cwd()."
},
"background": {
"type": "boolean",
"description": "Run as background job (default true; recommended for long-running tasks)"
},
"reasoning_effort": {
"type": "string",
"enum": [
"minimal",
"low",
"medium",
"high",
"xhigh"
],
"description": "Codex reasoning effort: minimal|low|medium|high|xhigh. If omitted, Codex CLI default is used."
}
},
"required": [
"prompt"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | — · — | — |
check_job_statusGet current metadata and status for a background job without blocking. Use this for non-blocking progress checks.Input schema{
"type": "object",
"properties": {
"job_id": {
"type": "string",
"pattern": "^[0-9a-f]{8}$",
"description": "Background job ID (8-char lowercase hex) returned by ask_* with background=true."
}
},
"required": [
"job_id"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | — · — | — |
kill_jobSend a process signal to a running background job (SIGTERM by default). Stops active jobs and records terminal state.Input schema{
"type": "object",
"properties": {
"job_id": {
"type": "string",
"pattern": "^[0-9a-f]{8}$",
"description": "Background job ID (8-char lowercase hex) returned by ask_* with background=true."
},
"signal": {
"type": "string",
"enum": [
"SIGTERM",
"SIGINT"
],
"description": "Signal sent to running job. Defaults to SIGTERM."
}
},
"required": [
"job_id"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | — · — | — |
list_jobsList persisted background jobs with optional status filtering and result limit. Jobs are returned in descending recency order.Input schema{
"type": "object",
"properties": {
"status_filter": {
"type": "string",
"enum": [
"active",
"completed",
"failed",
"all"
],
"description": "Filter jobs by status. Defaults to active."
},
"limit": {
"type": "integer",
"exclusiveMinimum": 0,
"description": "Maximum number of jobs to return. Defaults to 50."
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | — · — | — |
wait_for_jobBlock (poll) until a background job reaches terminal state (completed/failed/timeout). Returns response text on success or terminal status payload on error.Input schema{
"type": "object",
"properties": {
"job_id": {
"type": "string",
"pattern": "^[0-9a-f]{8}$",
"description": "Background job ID (8-char lowercase hex) returned by ask_* with background=true."
},
"timeout_ms": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 3600000,
"description": "Optional wait timeout in milliseconds (max 3600000)."
}
},
"required": [
"job_id"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | — · — | — |