MCP Server Make
MCP Server Make
Сервер протокола контекста модели (Model Context Protocol), предоставляющий функциональность make. Этот сервер позволяет LLM безопасно и контролируемо выполнять цели make из любого Makefile.
Обзор
Сервер предоставляет функциональность make через протокол контекста модели, позволяя LLM, таким как Claude:
Безопасно запускать цели make с захватом вывода
Понимать и ориентироваться в процессах сборки
Помогать с задачами разработки
Корректно обрабатывать ошибки
Учитывать контекст рабочей директории
MCP Server Make работает с любым корректным Makefile — вы можете использовать прилагаемый стандартный Makefile или свои собственные скрипты сборки.
Related MCP server: MCP Python Toolbox
Быстрый старт
Установка
Используя 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, пожалуйста, ознакомьтесь с нашей документацией:
Руководство пользователя — Полное руководство по установке, настройке и использованию
Пользовательские Makefile — Создание эффективных Makefile для использования с MCP Server Make
Улучшение рабочих процессов разработки
Этот сервер обеспечивает мощные рабочие процессы разработки, предоставляя LLM прямой доступ к функциональности make:
Для разработчиков
Автоматизированная помощь
Позвольте Claude запускать и интерпретировать результаты тестов
Получайте предложения и улучшения для системы сборки
Автоматизируйте повторяющиеся задачи разработки
Управление проектами
Позвольте Claude заниматься обновлениями зависимостей
Автоматизируйте процессы выпуска релизов
Поддерживайте стабильное качество кода
Работа с целями Make
MCP Server Make не обнаруживает автоматически доступные цели в вашем Makefile. Чтобы эффективно использовать его с Claude:
Начните с
make help: Большинство хорошо спроектированных Makefile включают цель helpHuman: Please run make help to see what commands are available.Расскажите Claude о своих целях: Явно укажите доступные цели и их назначение
Human: Our project has these make targets: test, lint, format, build, and clean.Используйте стандартные соглашения: Общие цели, которые включают многие Makefile:
make test— Запуск тестовmake lint— Проверка качества кодаmake format— Форматирование кодаmake build— Сборка проектаmake clean— Очистка артефактов сборки
Репозиторий включает стандартный Makefile с дополнительными вспомогательными целями — см. Руководство пользователя для получения подробной информации об этих расширенных возможностях или для создания своих собственных пользовательских целей.
Примечание: Claude не запоминает доступные цели между сеансами общения. Вам нужно будет представлять их в начале каждого диалога.
Пример интеграции
Вот как 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— Запуск цели make из Makefiletarget(строка, обязательно): Имя цели для выполнения
Вклад в проект
Мы приветствуем вклад в улучшение mcp-server-make! Пожалуйста, ознакомьтесь с CONTRIBUTING.md для получения подробных инструкций по настройке среды разработки, использованию инструментов проекта и отправке изменений.
Лицензия
Лицензия MIT — подробности см. в файле LICENSE
Available Tools
1 toolmakeA
Run a make target from the Makefile
Inputs: target (required), args.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
Only one tool exists, so there is no possibility of confusion between tools. The single tool 'make' is clearly distinct by default.
With only one tool, naming consistency is perfect. The name 'make' directly describes the action, though it's a verb alone rather than verb_noun pattern.
A single tool for a server named 'MCP Server Make' is borderline. While it directly serves the core purpose, the domain could benefit from additional tools like listing targets or showing help.
The tool fulfills its stated function of running a make target. Minor gaps exist (e.g., no way to list targets or specify options), but the core workflow is supported.
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
The Mercado Pago MCP Server implements the Model Context Protocol to provide AI agents and LLMs with access to Mercado Pago's APIs and tools within compatible development environments. It acts as an intermediary that translates Mercado Pago resources into executable functions (tools) that AI applications can invoke to perform actions and automate flows. The server simplifies integration, enables using documentation to implement or improve code, and optimizes operations through natural language interactions without manual implementations.
A Model Context Protocol server for Wix AI tools
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to control Unreal E…
Related MCP Servers
- FlicenseBqualityCmaintenanceA Model Context Protocol server that allows secure execution of pre-approved commands, enabling AI assistants to safely interact with the user's system.122-
- AlicenseNot gradedqualityFmaintenanceA Model Context Protocol server that enables AI assistants like Claude to perform Python development tasks through file operations, code analysis, project management, and safe code execution.9MIT
- FlicenseNot gradedqualityDmaintenanceA comprehensive Model Context Protocol server implementation that enables AI assistants to interact with file systems, databases, GitHub repositories, web resources, and system tools while maintaining security and control.2-
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol (MCP) server that enables LLMs to run ANY code safely in isolated Docker containers.125MIT