MA

mkxultra/ai-cli-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

27 stars 11 forks 品質 80 トレンド 19MIT

MCP サーバーは、MCP クライアントのバックグラウンドで Claude、Codex、Gemini CLI エージェントを実行します.

概要

: このパッケージは以前の@mkxultra/claude-code-mcpで、複数のAI CLIツールの拡張されたサポートを反映したai-cli-mcpに変更されました。 AI CLIツール(Claude、Codex、Gemini、OpenCode、Grok、Pi)を実行できるMCP(Model Context Protocol)サーバーは、自動許可処理によるバックグラウンドプロセスで動作します。 Cursorは複雑でマルチステップの編集や操作に苦労することもありますか? このサーバーは、強力な統一された実行ツールを使用して、複数のAIエージェントが、より効果的にコーディングタスクを処理することを可能にします。 このMCPサーバーは、LMSがAI CLIツールとやり取りするために使用できるツールを提供します.

概要(AI 翻訳)

スタッフ紹介

パッケージの移行通知:このパッケージは以前の[@mkxultra/claude-code-mcp]で、複数のAI CLIツールの拡張されたサポートを反映した[[ai-cli-mcp]に名前を変更しました。

AI CLIツール(Claude、Codex、Gemini、OpenCode、Grok、Pi)を実行できるMCP(Model Context Protocol)サーバーは、自動許可処理によるバックグラウンドプロセスで動作します。

Cursorは複雑でマルチステップの編集や操作に苦労することもありますか? このサーバーは、強力な統一された[run]ツールで、複数のAIエージェントがより効果的にコーディングタスクを処理することを可能にします。

デモ

概要

このMCPサーバーは、LMSがAI CLIツールとやり取りするために使用できるツールを提供します。 MCP クライアントと統合すると、LM が次のようになります。

  • Claude CLIを実行し、すべての権限をバイパス([[[T3]を使用して)
  • 承認とサンドボックスバイパスでCodex CLIを実行します([[T4]を使用して)
  • Antigravity CLI ([agy --print]], [stream-json]]], [--dangerously-skip-permissions]) で Gemini モデルを実行します

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

AI CLI MCP Server

🇯🇵 日本語のREADMEはこちら

📦 Package Migration Notice: This package was formerly @mkxultra/claude-code-mcp and has been renamed to ai-cli-mcp to reflect its expanded support for multiple AI CLI tools.

An MCP (Model Context Protocol) server that allows running AI CLI tools (Claude, Codex, Gemini, OpenCode, Grok, and Pi) in background processes with automatic permission handling.

Did you notice that Cursor sometimes struggles with complex, multi-step edits or operations? This server, with its powerful unified run tool, enables multiple AI agents to handle your coding tasks more effectively.

Demo

Overview

This MCP server provides tools that can be used by LLMs to interact with AI CLI tools. When integrated with MCP clients, it allows LLMs to:

  • Run Claude CLI with all permissions bypassed (using --dangerously-skip-permissions)
  • Execute Codex CLI with approvals and sandbox bypassed (using --dangerously-bypass-approvals-and-sandbox)
  • Execute Gemini models through Antigravity CLI (agy --print, stream-json, and --dangerously-skip-permissions)
  • Execute Grok Build CLI headlessly with streaming-messages-json, automatic tool approval, and automatic updates disabled
  • Execute OpenCode in non-interactive JSON mode (using opencode run --format json --dir )
  • Execute Pi in non-interactive JSON mode with tool approval enabled for unattended runs
  • Support multiple AI models: Claude (sonnet, sonnet[1m], opus, opusplan, fable, haiku), Codex (gpt-6-astra, gpt-6.1-sol, gpt-6-sol, gpt-6-luna, 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 (gemini-3.8-flash-high/medium/low, gemini-3.7-flash-high/medium/low, gemini-3.6-flash-high/medium/low, gemini-3.1-pro-high/low), Grok (grok, grok-4.6, grok-4.5), OpenCode (opencode plus oc-), and Pi (pi plus pi-)
  • Manage background processes with PID tracking
  • Parse and return structured outputs from both tools

Usage Example (Advanced Parallel Processing)

You can instruct your main agent to run multiple tasks in parallel like this:

Launch agents for the following 3 tasks using acm mcp run:

  1. Refactor src/backend code using sonnet
  2. Create unit tests for src/frontend using gpt-5.3-codex
  3. Update docs in docs/ using gemini-3.1-pro-high

While they run, please update the TODO list. Once done, use the wait tool to wait for all completions and report the results together.

Usage Example (Context Caching & Sharing)

GitHub で README 全文を見る

インストール

npx -y ai-cli-mcp@latest
MCP 初心者?mcpskill.org のガイドから始めましょう →