Skip to main content
Glama

MCP Server Make

by wrale

MCPサーバーの作成

make機能を提供するモデルコンテキストプロトコルサーバー。このサーバーにより、LLMは任意のMakefileからmakeターゲットを安全かつ制御された方法で実行できるようになります。

概要

サーバーはモデルコンテキストプロトコルを通じて make 機能を公開し、Claude のような LLM が次のことを実行できるようにします。

  • 出力キャプチャを使用してmakeターゲットを安全に実行する
  • ビルドプロセスを理解し、ナビゲートする
  • 開発タスクの支援
  • エラーを適切に処理する
  • 作業ディレクトリのコンテキストを尊重する

MCP Server Make は、有効な Makefile であればどれでも動作します。付属の独自の Makefile または独自のカスタム ビルド スクリプトを使用できます。

クイックスタート

インストール

uvを使用する (推奨):

uv pip install mcp-server-make

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 に make 機能への直接アクセスを提供することで、強力な開発ワークフローを実現します。

開発者向け

  1. 自動アシスタンス
    • クロードにテストの実行と結果の解釈を任せましょう
    • ビルドシステムの提案と改善点を入手する
    • 反復的な開発タスクを自動化する
  2. プロジェクト管理
    • 依存関係の更新はClaudeに任せましょう
    • リリースプロセスを自動化する
    • 一貫したコード品質を維持する

Makeターゲットの操作

MCP Server Makeは、Makefile内の利用可能なターゲットを自動的に検出しません。Claudeで効果的に使用するには、以下の手順を実行してください。

  1. make helpから始めましょう: よく設計されたMakefileのほとんどはhelpターゲットを含んでいます
    Human: Please run make help to see what commands are available.
  2. クロードにあなたの目標を伝えましょう: 利用可能な目標とその目的を明示的に伝えましょう
    Human: Our project has these make targets: test, lint, format, build, and clean.
  3. 標準規則を使用する: 多くの Makefile に含まれる共通のターゲット:
    • make test - テストを実行する
    • make lint - コードの品質をチェックする
    • make format - フォーマットコード
    • make build - プロジェクトをビルドする
    • make clean - ビルド成果物をクリーンアップする

リポジトリには、追加のユーティリティ ターゲットを含む独自の Makefile が含まれています。これらの拡張機能の詳細や独自のカスタム ターゲットの作成については、ユーザー ガイドを参照してください。

:クロードは会話中に利用可能なターゲットを記憶しません。各会話の開始時にターゲットを紹介する必要があります。

統合例

Claude が開発タスクにどのように貢献できるかを以下に示します。

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ライセンス - 詳細はLICENSEファイルを参照

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

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

Tools

LLM が Makefile から make ターゲットを安全に実行できるようにするモデル コンテキスト プロトコル サーバー。これにより、AI アシスタントはテストを実行し、コードをフォーマットし、自然言語による対話を通じてさまざまな開発タスクを自動化できるようになります。

  1. 概要
    1. クイックスタート
      1. インストール
      2. 基本的な使い方
      3. MCP クライアント構成
    2. ドキュメント
      1. 開発ワークフローの強化
        1. 開発者向け
        2. Makeターゲットの操作
      2. 統合例
        1. 利用可能なツール
          1. 貢献
            1. ライセンス

              Related MCP Servers

              • -
                security
                F
                license
                -
                quality
                A Model Context Protocol server that connects LLMs to the Compiler Explorer API, enabling them to compile code, explore compiler features, and analyze optimizations across different compilers and languages.
                Last updated -
                Python
              • -
                security
                F
                license
                -
                quality
                A Model Context Protocol server that connects AI tools and LLMs to Figma designs, enabling them to extract design data, analyze design systems, and generate development documentation.
                Last updated -
                TypeScript
                • Apple
              • A
                security
                F
                license
                A
                quality
                A Model Context Protocol server that allows LLMs to interact with Python environments, execute code, and manage files within a specified working directory.
                Last updated -
                9
                42
                Python
                • Linux
                • Apple
              • A
                security
                A
                license
                A
                quality
                A Model Context Protocol server that fetches up-to-date, version-specific documentation and code examples from libraries directly into LLM prompts, helping developers get accurate answers without outdated or hallucinated information.
                Last updated -
                2
                121,113
                12,861
                JavaScript
                MIT License
                • Linux
                • Apple

              View all related MCP servers

              MCP directory API

              We provide all the information about MCP servers via our MCP API.

              curl -X GET 'https://glama.ai/api/mcp/v1/servers/wrale/mcp-server-make'

              If you have feedback or need assistance with the MCP directory API, please join our Discord server