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.
「その他」の他のコンテンツ
Awesome Mlops
visengerA curated list of references for MLOps
Blender
ahujasidOpen-source MCP to use Blender with any LLM
🚀 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,
🪟 Windows-MCP
CursorTouchMCP Server for Computer Use in Windows
IDA Pro MCP
mrexodiaAI-powered reverse engineering assistant that bridges IDA Pro with language models through MCP.
コメント