ai-cli-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CODEX_CLI_NAME | No | Override the Codex CLI binary name or provide an absolute path | codex |
| FORGE_CLI_NAME | No | Override the Forge CLI binary name or provide an absolute path | forge |
| CLAUDE_CLI_NAME | No | Override the Claude CLI binary name or provide an absolute path | claude |
| GEMINI_CLI_NAME | No | Override the Gemini CLI binary name or provide an absolute path | gemini |
| MCP_CLAUDE_DEBUG | No | Enable debug logging (set to true for verbose output) | false |
| OPENCODE_CLI_NAME | No | Override the OpenCode CLI binary name or provide an absolute path | opencode |
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
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| runA | AI Agent Runner: Starts a Claude, Codex, Gemini, Forge, or OpenCode CLI process in the background and returns a PID immediately. Use list_processes and get_result to monitor progress. • File ops: Create, read, (fuzzy) edit, move, copy, delete, list files, analyze/ocr images, file content analysis • Code: Generate / analyse / refactor / fix • Git: Stage ▸ commit ▸ push ▸ tag (any workflow) • Terminal: Run any CLI cmd or open URLs • Web search + summarise content on-the-fly • Multi-step workflows & GitHub integration IMPORTANT: This tool now returns immediately with a PID. Use other tools to check status and get results. Supported models: "claude-ultra", "codex-ultra", "gemini-ultra", "sonnet", "sonnet[1m]", "opus", "opusplan", "fable", "haiku", "gpt-5.4", "gpt-5.6-sol", "gpt-5.6-terra", "gpt-5.6-luna", "gpt-5.5", "gpt-5.4-mini", "gpt-5.3-codex", "gpt-5.3-codex-spark", "gpt-5.2", "gemini-2.5-pro", "gemini-2.5-flash", "gemini-3.1-pro-preview", "gemini-3-pro-preview", "gemini-3-flash-preview", "forge", "opencode", "oc-<provider/model>" Prompt input: You must provide EITHER prompt (string) OR prompt_file (file path), but not both. Prompt tips
|
| list_processesA | List all running and completed AI agent processes. Returns a simple list with PID, agent type, and status for each process. |
| get_resultA | Get the current output and status of an AI agent process by PID. Defaults to a compact result shape; set verbose to true for full metadata and detailed parsed output. |
| waitB | Wait for multiple AI agent processes to complete and return their results. Defaults to compact result items; set verbose to true for full metadata and detailed parsed output. |
| peekA | One-shot short observation window for running child agents. Returns only natural-language message events, and optionally normalized tool_call events, observed during this call; not a history API, not gapless streaming, and not stdout/stderr tailing. In v1, message extraction is supported for Codex, Claude, OpenCode, Gemini, and best-effort Forge Summary/Completed successfully lines. Forge tool calls are low-precision Execute/Finished markers and never include command output. Tool calls exclude raw tool output. |
| kill_processC | Terminate a running AI agent process by PID. |
| cleanup_processesA | Remove all completed and failed processes from the process list to free up memory. |
| doctorA | Check supported AI CLI binary availability and path resolution. Does not verify login state or terms acceptance. |
| modelsA | List supported model names, model aliases, and dynamic backend discovery hints. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/mkXultra/ai-cli-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server