SA

sengokudaikon/aider-mcp-server

Developer tools

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

40 stars 11 forks 品質 68 トレンド 0Unlicense

sengokudaikon/aider-mcp-serverは[https://github.com/sengokudaikon/aider-mcp-server.からインポートされたMCPサーバーの候補です

概要

sengokudaikon/aider-mcp-serverは[https://github.com/sengokudaikon/aider-mcp-server.からインポートされたMCPサーバーの候補です

概要(AI 翻訳)

Claude や他の MCP クライアントが Aider に接続し、効率的なファイル編集機能を実現するモデルコンテキストプロトコル (MCP) サーバー。

概要

このMCPサーバーは、ClaudeやAiderの強力なファイル編集機能などのAIアシスタント間のギャップを埋めます。 これは、モデルコンテキストプロトコルを介して標準化されたインターフェイスを提供します。

  • Aider の機能を使用して既存のファイルを編集する
  • コンテンツで新しいファイルを作成する
  • マークダウンテキストからコードブロックを抽出する
  • gitステータス情報の取得
  • チェック エイダーのインストール状況
  • Aiderの構成システムにアクセスし、使用して下さい

前提条件

  • Python 3.8以上
  • エイダーインストール(pip install aider-chat)
  • OpenAIやAnthropicのAPIキー(Aiderが使用するモデルによって異なります)
  • ファイル編集用のGitリポジトリ

インストール

Aider MCP サーバーを複数の方法でインストールできます。

##UV使用(推奨)

uvがインストールされている場合:

PIP の使用

使用法

Aider MCP サーバは、デフォルトで stdio 上で MCP プロトコルモードで動作します。これは、Claude デスクトップや Cursor IDE などの MCP クライアントとの直接統合のために設計されています。

コマンドラインオプション

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

README

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

Aider MCP Server

A Model Context Protocol (MCP) server that allows Claude and other MCP clients to connect to Aider for efficient file editing capabilities.

Overview

This MCP server bridges the gap between AI assistants like Claude and Aider’s powerful file editing capabilities. It provides a standardized interface through the Model Context Protocol, allowing Claude to:

  • Edit existing files using Aider’s capabilities
  • Create new files with content
  • Extract code blocks from markdown text
  • Get git status information
  • Check Aider installation status
  • Access and use Aider’s configuration system

Prerequisites

  • Python 3.8 or higher
  • Aider installed (pip install aider-chat)
  • An API key for OpenAI or Anthropic (depending on which model you want Aider to use)
  • Git repository for file editing

Installation

You can install the Aider MCP server in several ways:

If you have uv installed:

# Install uv if you don't have it
curl -fsSL https://astral.sh/uv/install.sh | bash

# Run directly with uvx (no installation required)
uvx aider-mcp

Using PIP

# Install the package
pip install aider-mcp

# Run the server
aider-mcp

Usage

The Aider MCP server runs in MCP protocol mode over stdio by default, which is designed for direct integration with MCP clients like Claude Desktop and Cursor IDE.

# Run directly with uvx (recommended)
uvx aider-mcp

# With repository path specified
uvx aider-mcp --repo-path=/path/to/your/repo

# With custom Aider executable path
uvx aider-mcp --aider-path=/path/to/aider

# With environment variables
REPO_PATH=/path/to/your/repo uvx aider-mcp

Command Line Options

You can customize the server with these environment variables or command-line arguments:

  • --aider-path: Path to the Aider executable (default: “aider”, automatically searches PATH)
  • --repo-path: Path to the git repository (default: current directory)
  • --config-file: Path to a custom Aider config file
  • --env-file: Path to a custom .env file
  • --verbose, -v: Enable verbose output

Client Configuration

Claude Desktop

Add this to your Claude Desktop configuration file:

{
  "mcpServers": {
    "aider-mcp": {
      "command": "uvx",
      "args": [
        "aider-mcp",
        "--repo-path", "/path/to/your/repo"
      ]
    }
  }
}

Cursor IDE

To integrate with Cursor IDE:

  1. Open Cursor Settings
  2. Navigate to Features > MCP Servers
  3. Click Add new MCP server
  4. Enter this configuration:
    name: aider-mcp
    type: command
    command: uvx aider-mcp --repo-path=/path/to/your/repo
    
  5. After configuring, ensure you’re in Agent mode in the Composer to use MCP tools

Aider Configuration Support

This MCP server supports Aider’s configuration system, allowing you to:

  1. Use configuration from .aider.conf.yml files in:
GitHub で README 全文を見る

インストール

uvx aider-mcp --repo-path /path/to/your/repo
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "aider-mcp": { "command": "uvx", "args": [ "aider-mcp", "--repo-path", "/path/to/your/repo" ] } } }