MCP-ORTools
@Jacck
关于 MCP-ORTools
Model Context Protocol (MCP) server implementation using Google OR-Tools for constraint solving
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"ortools": {
"command": "python",
"args": [
"-m",
"mcp_ortools.server"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is MCP-ORTools?
A Model Context Protocol (MCP) server implementation using Google OR-Tools for constraint solving. Designed for use with Large Language Models through standardized constraint model specification.
How to use MCP-ORTools?
Install the package via pip install git+https://github.com/Jacck/mcp-ortools.git, then configure it as an MCP server in Claude Desktop by adding the server entry to claude_desktop_config.json with command python -m mcp_ortools.server. Models are submitted in JSON format with variables, constraints, and an optional objective.
Key features of MCP-ORTools
- Integrates Google OR-Tools CP-SAT solver
- JSON-based model specification
- Supports integer and boolean variables
- Linear constraints using OR-Tools method syntax
- Linear optimization objectives and solver parameters
Use cases of MCP-ORTools
- Solving knapsack and portfolio selection problems
- Optimizing linear objectives with constraints
- Enabling AI models to solve constraint satisfaction problems
- Modeling binary logic and variable relationships
FAQ from MCP-ORTools
What solver does MCP-ORTools use?
It uses Google OR-Tools CP‑SAT solver for constraint satisfaction and optimization.
How are models specified?
Models are specified in JSON with three sections: variables (name and domain), constraints (OR‑Tools method syntax), and an optional objective (linear expression and maximize/minimize flag).
What status values can the solver return?
The solver returns OPTIMAL, FEASIBLE, INFEASIBLE, or UNKNOWN.
What operations are supported in constraints?
Basic arithmetic (+, -, *) and comparisons via .__le__(), .__ge__(), .__eq__(), .__ne__().
What is the license?
MIT License.
其他 分类下的更多 MCP 服务器
XcodeBuildMCP
cameroncookeA Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
Servers
modelcontextprotocolModel Context Protocol Servers
🚀 Model Context Protocol (MCP) Curriculum for Beginners
microsoftThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
Codelf
unbugA search tool helps dev to solve the naming things problem.
MCP Toolbox for Databases
googleapisMCP Toolbox for Databases is an open source MCP server for databases.
评论