# Ai Cli MCP

> Ai Cli MCP is an open-source MCP server for ai models and llm tooling. Run Claude, Codex, Gemini, Forge, and OpenCode CLIs through MCP with background jobs. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/mkxultra/ai-cli-mcp
- **MCP Registry name:** io.github.mkXultra/ai-cli-mcp
- **Categories:** [AI models and LLM tooling](https://ai-powered.com/categories/ai-and-llm)
- **Listing updated:** 2026-11-13

## About

Run Claude, Codex, Gemini, Forge, and OpenCode CLIs through MCP with background jobs

## Install

### Claude Code (Terminal)

```sh
claude mcp add ai-cli-mcp -- npx -y ai-cli-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "ai-cli-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "ai-cli-mcp"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "ai-cli-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "ai-cli-mcp"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "ai-cli-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "ai-cli-mcp"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "ai-cli-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "ai-cli-mcp"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "ai-cli-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "ai-cli-mcp"
      ]
    }
  }
}
```

## FAQ

### Is Ai Cli MCP free?

Yes. Ai Cli MCP is open source, so you can use and self-host it for free.

### How do I add Ai Cli MCP to Claude Code?

Run this command in your terminal: claude mcp add ai-cli-mcp -- npx -y ai-cli-mcp

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/ai-cli-mcp
