Basic information
About MCP-ORTools Server
Model Context Protocol (MCP) server implementation using Google OR-Tools for constraint solving
MCP-ORTools is a MCP server in the Other category listed in the AddMCP.net directory, published by MCP-Reasoner. Supported transport: stdio. Runtime: node. License: MIT license. The repository has 1 GitHub stars. Source code is hosted on github.com. Related topics: ai-integration, constraint-solving, mcp-ortools.
Setup
{
"mcpServers": {
"ortools": {
"command": "python",
"args": [
"-m",
"mcp_ortools.server"
]
}
}
}
{
"mcpServers": {
"ortools": {
"command": "python",
"args": [
"-m",
"mcp_ortools.server"
]
}
}
}
{
"servers": {
"ortools": {
"command": "python",
"args": [
"-m",
"mcp_ortools.server"
]
}
}
}
MCP-ORTools — by MCP-Reasoner config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"ortools": {
"command": "python",
"args": [
"-m",
"mcp_ortools.server"
]
}
}
}
MCP-ORTools — by MCP-Reasoner tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is MCP-ORTools?
MCP-ORTools is a Model Context Protocol server that integrates Google OR-Tools constraint programming solver with Large Language Models. It enables AI models to submit, validate, and solve constraint satisfaction and optimization problems using JSON-based model specifications.
How to use MCP-ORTools?
Install the package via pip install git+https://github.com/Jacck/mcp-ortools.git, then configure Claude Desktop by adding an ortools MCP server entry pointing to python -m mcp_ortools.server in the MCP configuration file. Submit constraint models in JSON format with variables, constraints, and optional objective sections.
Key features of MCP-ORTools
- Full OR-Tools CP-SAT solver support
- JSON-based model specification
- Integer and boolean variable domains
- Linear constraints using OR-Tools method syntax
- Linear optimization objectives with maximize/minimize
- Support for timeouts and solver parameters
Use cases of MCP-ORTools
- Solving knapsack problems with variable selection constraints
- Modeling and optimizing portfolio selection
- Enforcing binary relationships between decision variables
- Finding feasible solutions for linear constraint satisfaction problems
- Setting optimal objective values within given constraints
Frequently asked questions
1 What constraint syntax is supported?
Constraints must use OR-Tools method syntax: .le() for ≤, .ge() for ≥, .eq() for equality, .ne() for not equal. Basic arithmetic (+, -, *) on variables is allowed.
2 What solver statuses can the server return?
The solver returns OPTIMAL, FEASIBLE, INFEASIBLE, or UNKNOWN along with solve time and variable assignments.
3 What are the runtime dependencies?
The server requires Python and the mcp-ortools package, which includes Google OR-Tools. No additional runtime or database is needed.
4 How are models validated?
Models are submitted as JSON with required variables and constraints arrays and an optional objective object. The server validates the syntax before solving.
5 What transport or authentication does the server use?
The README configures the server as an MCP server for Claude Desktop via stdio transport. No authentication details are provided.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In