makefile-mcp

v1.0.0
io.github.mrfentmen/makefile-mcp Checked 32 minutes ago Published 23 days ago

Makefile MCP: real tools for real work.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_targets

List target names defined in a Makefile, sorted and deduplicated.

ParameterTypeDescription
cwdstring
makefilestring

show_target_recipe

Show the tab-indented recipe lines for one Makefile target.

ParameterTypeDescription
target *string
cwdstring
makefilestring

show_variables

Show variable assignments in a Makefile. Values are not expanded.

ParameterTypeDescription
cwdstring
makefilestring

list_makefiles

List Makefile, makefile, GNUmakefile and *.mk files in a directory.

ParameterTypeDescription
cwdstring

dry_run

Run make with -n to show what a target would do without executing recipes.

ParameterTypeDescription
cwdstring
makefilestring
targetstring
timeoutMsinteger
variablesobject

run_target

Run one Makefile target. Recipes can execute arbitrary commands.

ParameterTypeDescription
target *string
cwdstring
makefilestring
timeoutMsinteger
variablesobject

run_default

Run make's default target.

ParameterTypeDescription
cwdstring
makefilestring
timeoutMsinteger
variablesobject

run_jobs

Run make with a parallel job count from 1 to 16.

ParameterTypeDescription
cwdstring
jobsinteger
makefilestring
targetstring
timeoutMsinteger
variablesobject

check_makefile

Parse a Makefile with a dry run and report common syntax errors.

ParameterTypeDescription
cwdstring
makefilestring
timeoutMsinteger

show_database

Print make's internal database for a Makefile, capped at 30,000 characters.

ParameterTypeDescription
cwdstring
makefilestring
timeoutMsinteger

show_include_files

List include, -include and sinclude directives from a Makefile.

ParameterTypeDescription
cwdstring
makefilestring

print_version

Show the local GNU Make version.