MCP Server Make

local-only server

The server can only run on the client’s local machine because it depends on local resources.

Integrations

  • Provides access to make functionality, allowing execution of targets from a Makefile in a controlled environment. Enables running build processes, tests, formatting, and other development tasks defined in Makefiles.

MCP 서버 제작

Make 기능을 제공하는 모델 컨텍스트 프로토콜 서버입니다. 이 서버를 통해 LLM은 모든 Makefile에서 안전하고 제어된 방식으로 Make 타겟을 실행할 수 있습니다.

개요

서버는 모델 컨텍스트 프로토콜을 통해 make 기능을 노출하여 Claude와 같은 LLM이 다음을 수행할 수 있도록 합니다.

  • 출력 캡처를 사용하여 안전하게 타겟을 실행하세요.
  • 빌드 프로세스를 이해하고 탐색하세요
  • 개발 작업에 대한 도움
  • 오류를 적절하게 처리하세요
  • 작업 디렉토리 컨텍스트를 존중하세요

MCP Server Make는 모든 유효한 Makefile과 호환됩니다. 포함된 독창적인 Makefile이나 사용자 정의 빌드 스크립트를 사용할 수 있습니다.

빠른 시작

설치

uv 사용(권장):

지엑스피1

pip 사용하기:

pip install mcp-server-make

기본 사용법

# Run with default Makefile in current directory uvx mcp-server-make # Run with specific Makefile and working directory uvx mcp-server-make --make-path /path/to/Makefile --working-dir /path/to/working/dir

MCP 클라이언트 구성

Claude Desktop과 함께 사용하려면 Claude 구성( claude_desktop_config.json )에 다음을 추가하세요.

{ "mcpServers": { "make": { "command": "uvx", "args": [ "mcp-server-make", "--make-path", "/absolute/path/to/Makefile", "--working-dir", "/absolute/path/to/working/dir" ] } } }

선적 서류 비치

MCP Server Make 사용에 대한 자세한 내용은 다음 설명서를 참조하세요.

개발 워크플로우 강화

이 서버는 LLM이 기능에 직접 액세스할 수 있도록 하여 강력한 개발 워크플로를 지원합니다.

개발자를 위한

  1. 자동 지원
    • Claude가 테스트 결과를 실행하고 해석하게 하세요.
    • 빌드 시스템 제안 및 개선 사항 받기
    • 반복적인 개발 작업 자동화
  2. 프로젝트 관리
    • Claude가 종속성 업데이트를 처리하도록 하세요.
    • 릴리스 프로세스 자동화
    • 일관된 코드 품질 유지

Make Targets 작업

MCP Server Make는 Makefile에서 사용 가능한 대상을 자동으로 검색하지 않습니다. Claude와 함께 효과적으로 사용하려면 다음을 수행하세요.

  1. make help 로 시작하세요 : 잘 설계된 대부분의 Makefile에는 도움말 대상이 포함되어 있습니다.
    Human: Please run make help to see what commands are available.
  2. Claude에게 타겟에 대해 알려주세요 : 사용 가능한 타겟과 그 목적을 명시적으로 언급하세요.
    Human: Our project has these make targets: test, lint, format, build, and clean.
  3. 표준 규칙을 사용하세요 : 많은 Makefiles에 포함되는 일반적인 대상:
    • make test - 테스트 실행
    • make lint - 코드 품질 확인
    • make format - 포맷 코드
    • make build - 프로젝트 빌드
    • make clean - 빌드 아티팩트 정리

저장소에는 추가 유틸리티 대상을 갖춘 독창적인 Makefile이 포함되어 있습니다. 이러한 확장 기능에 대한 자세한 내용이나 사용자 정의 대상을 만드는 방법에 대해서는 사용자 가이드를 참조하세요.

참고 : 클로드는 대화 사이에 사용 가능한 대상을 기억하지 않습니다. 각 대화 시작 시 대상을 소개해야 합니다.

통합 예시

클로드가 개발 작업을 도울 수 있는 방법은 다음과 같습니다.

Human: Can you run our test suite and format any code that needs it? Claude: I'll help run the tests and format the code: 1. First, let's format the code: [Calling make tool with args {"target": "format"}] 2 files reformatted, 3 files left unchanged 2. Now let's run the tests: [Calling make tool with args {"target": "test"}] Running tests... 4 passed, 0 failed All formatting and tests completed successfully. The code is now properly formatted and all tests are passing.

사용 가능한 도구

서버는 단일 도구를 제공합니다.

  • make - Makefile에서 make 타겟을 실행합니다.
    • target (문자열, 필수): 실행할 대상 이름

기여하다

mcp-server-make 개선을 위한 여러분의 기여를 환영합니다! 개발 환경 설정, 프로젝트 도구 사용, 변경 사항 제출에 대한 자세한 내용은 CONTRIBUTING.md를 참조하세요.

특허

MIT 라이센스 - 자세한 내용은 라이센스 파일을 참조하세요.

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

Tools

LLM이 Makefile에서 make 타겟을 안전하게 실행할 수 있도록 하는 모델 컨텍스트 프로토콜 서버로, AI 어시스턴트가 자연어 상호 작용을 통해 테스트를 실행하고, 코드를 포맷하고, 다양한 개발 작업을 자동화할 수 있도록 합니다.

  1. Overview
    1. Quick Start
      1. Installation
      2. Basic Usage
      3. MCP Client Configuration
    2. Documentation
      1. Enhancing Development Workflows
        1. For Developers
        2. Working with Make Targets
      2. Example Integration
        1. Available Tools
          1. Contributing
            1. License
              ID: g8rwy0077w