SOTAVerified

MCP-Solver: Integrating Language Models with Constraint Programming Systems

2024-12-31Code Available2· sign in to hype

Stefan Szeider

Code Available — Be the first to reproduce this paper.

Reproduce

Code

Abstract

The MCP Solver bridges Large Language Models (LLMs) with symbolic solvers through the Model Context Protocol (MCP), an open-source standard for AI system integration. Providing LLMs access to formal solving and reasoning capabilities addresses their key deficiency while leveraging their strengths. Our implementation offers interfaces for constraint programming (Minizinc), propositional satisfiability (PySAT), and SAT modulo Theories (Python Z3). The system employs an editing approach with iterated validation to ensure model consistency during modifications and enable structured refinement.

Tasks

Reproductions