SA

sengokudaikon/aider-mcp-server

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

40 stars 11 forks 품질 68 트렌드 0Unlicense

sengokudaikon/aider-mcp-server는 MCP 서버 후보로 https://github.com/sengokudaikon/aider-mcp-server.]에서 수입

개요

sengokudaikon/aider-mcp-server는 MCP 서버 후보로 https://github.com/sengokudaikon/aider-mcp-server.]에서 수입

개요(AI 번역)

Claude 및 기타 MCP 클라이언트를 허용하는 모델 Context Protocol (MCP) 서버는 효율적인 파일 편집 기능을 위해 Aider에 연결할 수 있습니다.

개요

이 MCP 서버는 Claude와 Aider의 강력한 파일 편집 기능과 같은 AI 조수 사이의 격차를 브릿지합니다. 그것은 Model Context Protocol을 통해 표준화 된 인터페이스를 제공합니다. Claude를 허용하십시오.

  • Aider의 기능을 사용하여 기존 파일 편집
  • 컨텐츠로 새 파일 만들기
  • Markdown 텍스트에서 추출 코드 블록
  • git 상태 정보 얻기
  • Aider 설치 상태 확인
  • 접근 및 사용 Aider의 구성 시스템

필수품

  • Python 3.8 이상
  • 아이더 설치 (pip install aider-chat)
  • OpenAI 또는 Anthropic의 API 키 (Aider를 사용하는 모델에 따라)
  • Git 저장소 파일 편집

설치

몇 가지 방법으로 Aider MCP 서버를 설치할 수 있습니다.

UV 사용 (추천)

uv가 설치된 경우:

###PIP 사용

사용법

Aider MCP 서버는 Claude Desktop 및 Cursor IDE와 같은 MCP 클라이언트와 직접 통합을 위해 설계된 기본으로 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" ] } } }