minizinc-mcp
v0.1.0MCP server that exposes MiniZinc constraint solving to LLM clients
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_tools
List the tools exposed by this MiniZinc MCP server
list_solvers
List MiniZinc solvers
validate_model
Validate a MiniZinc model
| Parameter | Type | Description |
|---|---|---|
model_code * | string | |
params |
solve_model
Solve a MiniZinc constraint model given as source code. Present the solving result to the user as a short summary plus a Markdown table of the output variables instead of dumping the raw JSON: scalars as one row per variable, 1-D arrays as index/value rows, and multi-dimensional arrays as a grid with row and column indices.
| Parameter | Type | Description |
|---|---|---|
model_code * | string | |
all_solutions | boolean | |
max_solutions | ||
params | ||
solver | string | |
timeout_seconds |
compare_solvers
Solve a MiniZinc model once with each requested solver and compare the results. Present the results to the user as a Markdown table with one row per solver instead of dumping the raw JSON.
| Parameter | Type | Description |
|---|---|---|
model_code * | string | |
solvers * | array | |
all_solutions | boolean | |
max_solutions | ||
params | ||
timeout_seconds |
solve_model_by_path
Solve a MiniZinc constraint model given by file paths. Present the solving result to the user as a short summary plus a Markdown table of the output variables instead of dumping the raw JSON: scalars as one row per variable, 1-D arrays as index/value rows, and multi-dimensional arrays as a grid with row and column indices.
| Parameter | Type | Description |
|---|---|---|
model_path * | string | |
all_solutions | boolean | |
data_path | ||
max_solutions | ||
solver | string | |
timeout_seconds |
get_model_info
Describe a MiniZinc model without solving it. Present the result to the user as the solve method plus two Markdown tables (name/type) for the input parameters and the output variables, instead of dumping the raw JSON.
| Parameter | Type | Description |
|---|---|---|
model_code * | string | |
params |
get_flatzinc
Flatten a MiniZinc model to FlatZinc without solving it
| Parameter | Type | Description |
|---|---|---|
model_code * | string | |
optimisation_level | ||
params |