MCP.so
ログイン

MCP Server Make

@MCP-Mirror

基本情報

カテゴリ

その他

トランスポート

stdio

作者

MCP-Mirror

MCP Server Make について

Mirror of

#mcp-server#make-functionality#development-assistant

MCP Server Make の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "wrale_mcp-server-make": {
      "command": "uv",
      "args": [
        "pip",
        "install",
        "mcp-server-make"
      ]
    }
  }
}

MCP Server Make のツール

1

Run a make target from the Makefile

概要

What is MCP Server Make?

MCP Server Make is a Model Context Protocol server that provides make functionality. It enables LLMs, like Claude, to execute make targets from a Makefile in a safe, controlled way with output capture and error handling.

How to use MCP Server Make?

Install via uv pip install mcp-server-make or pip install mcp-server-make. Run with uvx mcp-server-make, optionally passing --make-path and --working-dir. For Claude Desktop, add a configuration entry to claude_desktop_config.json specifying the command and arguments.

Key features of MCP Server Make

  • Run make targets safely with output capture
  • Understand and navigate build processes
  • Handle errors with descriptive MCP messages
  • Respect working directory context
  • Exposes a single make tool requiring a target name
  • Gracefully handles missing Makefile or invalid targets

Use cases of MCP Server Make

  • Automated assistance: let Claude run tests and interpret results
  • Project management: automate dependency updates, releases, and code quality
  • Self-validation for Claude: run tests, lint, format, and full validation
  • Project understanding: view structure, check changes, take context snapshots
  • Independent development cycles: complete build, test, and release preparation

よくある質問

1

What does MCP Server Make do?

It allows LLMs to execute make targets from a Makefile, capturing output and handling errors gracefully, enabling development workflow automation.

2

How do I install and configure the server?

Install via `uv pip install mcp-server-make` or `pip install mcp-server-make`. Run with `uvx mcp-server-make`, optionally specifying `--make-path` and `--working-dir`. For Claude Desktop, add a JSON entry with the command and arguments.

3

What working directory does the server use?

If `--working-dir` is specified, it changes to that directory before executing make. If omitted, it uses the directory containing the Makefile. It always restores the original directory afterward.

4

What tools does the server expose?

It exposes a single `make` tool that takes a required `target` (string) parameter to execute that target from the Makefile.

5

What errors does the server handle?

It handles missing Makefile, invalid working directory, failed make commands, and invalid targets, returning descriptive error messages through the MCP protocol.

コメント

「その他」の他のコンテンツ