mcp-solver

szeider/mcp-solver

4.0

mcp-solver is hosted online, so all tools can be tested directly either in theInspector tabor in theOnline Client.

If you are the rightful owner of mcp-solver and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A Model Context Protocol (MCP) server that exposes SAT, SMT, and constraint solving capabilities to Large Language Models.

Try mcp-solver with chat:

MCPHub score:4

Has a README

Github repo has a README.md.

Has a License

Github repo has license info.

Server can be inspected

View server inspector

Server schema can be extracted

Can get at lease one tool info from the README or server.

Online hosted on MCPHub

Can be automatically deployed by MCPHub.

Has social accounts

Do not have any social accounts.

Claimed by the author or certified by MCPHub

If you are the author, claim authorship

AI Evaluation Report
Total Score: 4/10

The agent demonstrated the ability to solve the 8-Queens problem using Minizinc model operations effectively, providing a valid solution. However, it struggled with more complex problems such as the Traveling Salesperson Problem, Sudoku, job shop scheduling, and a logic puzzle using Z3 Python model operations. In these cases, the agent either failed to provide a valid solution or encountered tool malfunctions, indicating limitations in handling complex constraints and optimization tasks. The agent's strength lies in solving simpler constraint satisfaction problems, but it needs improvement in handling more complex scenarios and ensuring tool reliability.

  • Test case 1
    Score: 10/10
    Perform the operation of solving the N-Queens problem for n=8 using the Minizinc model operations. Ensure that the solution satisfies all constraints and provide the positions of the queens on the board.

    The 8-Queens problem has been successfully solved. The solution provides the positions of the queens on the board as follows:

    • Queen 1 is placed in row 1, column 2.
    • Queen 2 is placed in row 2, column 7.
    • Queen 3 is placed in row 3, column 3.
    • Queen 4 is placed in row 4, column 6.
    • Queen 5 is placed in row 5, column 8.
    • Queen 6 is placed in row 6, column 5.
    • Queen 7 is placed in row 7, column 1.
    • Queen 8 is placed in row 8, column 4. This configuration satisfies all constraints of the N-Queens problem, where no two queens threaten each other.
  • Test case 2
    Score: 2/10
    Perform the operation of solving the Traveling Salesperson Problem (TSP) for a saleswoman based in Vienna who needs to plan her upcoming tour through Austria, visiting each province capital once. Use the Minizinc model operations to find the shortest route. The distances between the capitals in kilometers are as follows: - Vienna to St. Pölten: 65 km - Vienna to Eisenstadt: 60 km - Vienna to Linz: 184 km - Vienna to Graz: 195 km - Vienna to Klagenfurt: 319 km - Vienna to Salzburg: 299 km - Vienna to Innsbruck: 478 km - Vienna to Bregenz: 631 km - St. Pölten to Eisenstadt: 125 km - St. Pölten to Linz: 119 km - St. Pölten to Graz: 130 km - St. Pölten to Klagenfurt: 254 km - St. Pölten to Salzburg: 234 km - St. Pölten to Innsbruck: 413 km - St. Pölten to Bregenz: 566 km - Eisenstadt to Linz: 184 km - Eisenstadt to Graz: 157 km - Eisenstadt to Klagenfurt: 281 km - Eisenstadt to Salzburg: 261 km - Eisenstadt to Innsbruck: 440 km - Eisenstadt to Bregenz: 593 km - Linz to Graz: 208 km - Linz to Klagenfurt: 252 km - Linz to Salzburg: 136 km - Linz to Innsbruck: 315 km - Linz to Bregenz: 468 km - Graz to Klagenfurt: 136 km - Graz to Salzburg: 280 km - Graz to Innsbruck: 459 km - Graz to Bregenz: 629 km - Klagenfurt to Salzburg: 217 km - Klagenfurt to Innsbruck: 391 km - Klagenfurt to Bregenz: 566 km - Salzburg to Innsbruck: 188 km - Salzburg to Bregenz: 343 km - Innsbruck to Bregenz: 157 km Ensure that the solution satisfies all constraints and provide the optimal route along with the total distance.

    No valid answer is generated due to tool malfunction. The response indicates that the solution is not optimal, and the distances provided do not match the expected optimal solution for the Traveling Salesperson Problem. This suggests that the tool did not function correctly in finding the optimal route.

  • Test case 3
    Score: 2/10
    Perform the operation of solving a Sudoku puzzle using the Minizinc model operations. The puzzle is as follows: 5 3 _ | _ 7 _ | _ _ _ 6 _ _ | 1 9 5 | _ _ _ _ 9 8 | _ _ _ | _ 6 _ ------+------+------ 8 _ _ | _ 6 _ | _ _ 3 4 _ _ | 8 _ 3 | _ _ 1 7 _ _ | _ 2 _ | _ _ 6 ------+------+------ _ 6 _ | _ _ _ | 2 8 _ _ _ _ | 4 1 9 | _ _ 5 _ _ _ | _ 8 _ | _ 7 9 Use the Minizinc model operations to find the solution, ensuring that each row, column, and 3x3 subgrid contains all digits from 1 to 9 exactly once. Provide the completed Sudoku grid as the output.

    No valid answer is generated due to tool malfunction. The response indicates that there was an issue with adding the constraints for the Sudoku puzzle after clearing the model, resulting in an empty model. Additionally, the attempt to solve the puzzle again resulted in an invalid solution, suggesting a persistent issue with the constraints being added to the Minizinc model. This points to a malfunction in the tool's ability to handle the constraints correctly.

  • Test case 4
    Score: 2/10
    Perform the operation of solving a job shop scheduling problem using the Minizinc model operations. Consider a scenario with 3 jobs and 3 machines, where each job consists of a sequence of tasks that must be processed in a specific order. Each task requires a specific machine and has a defined processing time. The objective is to minimize the total completion time (makespan) of all jobs. Use the following data: - Job 1: Task 1 on Machine 1 (duration 3), Task 2 on Machine 2 (duration 2), Task 3 on Machine 3 (duration 2) - Job 2: Task 1 on Machine 2 (duration 2), Task 2 on Machine 3 (duration 1), Task 3 on Machine 1 (duration 4) - Job 3: Task 1 on Machine 3 (duration 4), Task 2 on Machine 1 (duration 3), Task 3 on Machine 2 (duration 3) Ensure that the solution satisfies all constraints, including the precedence of tasks within each job and the non-overlapping use of machines. Provide the start times for each task and the total makespan.

    Failed to get an answer for the task.

  • Test case 5
    Score: 2/10
    Perform the operation of solving a logic puzzle using the Z3 Python model operations. The puzzle is as follows: 'There are five houses in a row, each painted a different color. In each house lives a person of a different nationality, each with a different pet, favorite drink, and favorite cigarette brand. The following clues are given: 1. The Brit lives in the red house. 2. The Swede keeps dogs as pets. 3. The Dane drinks tea. 4. The green house is immediately to the left of the white house. 5. The green house's owner drinks coffee. 6. The person who smokes Pall Mall rears birds. 7. The owner of the yellow house smokes Dunhill. 8. The man living in the center house drinks milk. 9. The Norwegian lives in the first house. 10. The man who smokes blends lives next to the one who keeps cats. 11. The man who keeps horses lives next to the man who smokes Dunhill. 12. The man who smokes Blue Master drinks beer. 13. The German smokes Prince. 14. The Norwegian lives next to the blue house. 15. The man who smokes blends has a neighbor who drinks water.' Use the Z3 Python model operations to find the solution, ensuring that all constraints are satisfied. Provide the nationality of the person who owns the fish.

    Failed to get an answer for the task.