Mrugankpednekar Mcp Optimizer

ai.smithery由 smithery.ai 發布官方發布者v1.16.0更新於 Oct 24, 2026

Optimize crew and workforce schedules, resource allocation, and routing with linear and mixed-inte…

發布方自己的服務:222wcnm Bilistalkermcp

已驗證Streamable HTTP可網頁執行開發者工具資料與分析

概覽

AI 產生的概覽

一個最佳化伺服器,讓助理建立並求解線性與混合整數規劃,包括從自然語言問題與資料檔案出發建模。

可以做什麼
依結構化模型定義求解線性規劃與混合整數規劃,線性規劃使用 SciPy 的 HiGHS 後端,混合整數規劃使用輕量分支定界搜尋並以 OR-Tools 作為備援。將自然語言問題描述轉換為 LP JSON 模型。診斷模型不可行的原因。利用從 CSV、TSV、JSON 或 Excel 檔案解析的資料求解應用題,並自動辨識檔案格式。
適用情境
適合讓助理把排班、資源分配、路徑規劃或生產計畫等描述轉化為可求解的最佳化模型,或檢查並解釋不可行模型,而不必自行撰寫求解程式碼。
執行需求
清單描述為 server.smithery.ai 上的遠端 streamable HTTP 端點,未宣告驗證,但列出了 Authorization bearer token 標頭。README 中的本機方式需要 Python、以 MIP 選用相依套件安裝該套件(用於 OR-Tools),以及處理 Excel 輸入所需的 pandas 和 openpyxl。
安裝前請注意
README 中的 solve_word_problem_with_data 工具會讀取資料檔案(CSV、TSV、JSON、Excel)並將其內容納入問題建模,請留意所提供的資料內容。列出的 Authorization bearer token 屬於憑證,應妥善保密。清單未宣告驗證,使用前請確認存取控制。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Mrugankpednekar Mcp Optimizer,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/ai.smithery%2Fmrugankpednekar-mcp-optimizer/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "mrugankpednekar-optimizer": {
      "type": "http",
      "url": "https://server.smithery.ai/@mrugankpednekar/mcp-optimizer/mcp"
    }
  }
}

README

Crew Optimizer

Crew Optimizer rebuilds the original optimisation project around the CrewAI ecosystem. It provides reusable CrewAI tools and agents capable of solving linear programs via SciPy's HiGHS backend, exploring mixed-integer models with a lightweight branch-and-bound search (or OR-Tools fallback), translating natural language prompts into LP JSON, and diagnosing infeasibility. You can embed the tools inside your own crews or call them programmatically through the OptimizerCrew convenience wrapper, or serve them over the MCP protocol for clients such as Smithery.

Installation

bash
python -m venv .venvsource .venv/bin/activatepip install -e .[mip]

This installs Crew Optimizer together with optional OR-Tools support for MILP solving. Add pytest, ruff, or other dev tools as needed (pip install pytest).

Quick Usage

python
from crew_optimizer import OptimizerCrew
crew = OptimizerCrew(verbose=False)
lp_model = {    "name": "diet-toy",    "sense": "min",    "objective": {        "terms": [            {"var": "x", "coef": 3},            {"var": "y", "coef": 2},        ],        "constant": 0,    },    "variables": [        {"name": "x", "lb": 0},        {"name": "y", "lb": 0},    ],    "constraints": [        {            "name": "c1",            "lhs": {                "terms": [                    {"var": "x", "coef": 1},                    {"var": "y", "coef": 2},                ],                "constant": 0,            },            "cmp": ">=",            "rhs": 8,        },        {            "name": "c2",            "lhs": {                "terms": [                    {"var": "x", "coef": 3},                    {"var": "y", "coef": 1},                ],                "constant": 0,            },            "cmp": ">=",            "rhs": 6,        },    ],}
solution = crew.solve_lp(lp_model)print(solution)

To integrate with a wider multi-agent workflow, call crew.build_crew() to obtain a Crew populated with the LP, MILP, and parser agents. Provide model inputs through CrewAI’s shared context as usual.

MCP / Smithery Hosting

Crew Optimizer ships an MCP server (python -m crew_optimizer.server) that wraps the same solvers. The repository already contains a Smithery manifest (smithery.json) and build config (smithery.yaml).

  1. Push the repository to GitHub.
  2. In Smithery, choose Publish an MCP Server, connect GitHub, and select the repo.
  3. Smithery installs the package (pip install .) and launches mcp http src/crew_optimizer/server.py --port 3333 using the bundled startup script.
  4. The server exposes the following tools:
    • solve_linear_program
    • solve_mixed_integer_program
    • parse_natural_language
    • diagnose_infeasibility
    • solve_word_problem_with_data - Solve optimization problems using data from files

For local testing:

bash
mcp http src/crew_optimizer/server.py --port 3333 --cors "*"

Testing

Install test dependencies (pip install pytest) and run:

bash
python -m pytest

The suite covers the LP solver, MILP branch-and-bound, and the NL parser.

Solving Word Problems with Data Files

The MCP server includes a solve_word_problem_with_data tool that can parse data files (CSV, JSON, Excel) and use them to solve optimization word problems. This is particularly useful when you have data in files and want to formulate and solve optimization problems based on that data.

Example Usage

python
# Example: Solve a production planning problem with data from a CSV filecsv_data = """product,cost,capacity,demandWidget,10,100,50Gadget,15,80,60Thing,12,120,40"""
problem = """Minimize total cost subject to:- Production of each product cannot exceed capacity- Production must meet demand- All production quantities are non-negative"""
# The tool will parse the CSV, extract the cost, capacity, and demand values,# and formulate the optimization problem automatically.

The tool supports:

  • CSV/TSV files: Automatically detects and parses comma or tab-separated values
  • JSON files: Parses JSON arrays or objects
  • Excel files: Requires pandas and openpyxl (install with pip install crew-optimizer[excel])
  • Auto-detection: Automatically detects file format if not specified

The parsed data is incorporated into the problem description, allowing the natural language parser to extract values and formulate constraints and objective functions based on the actual data.

Licence

Distributed under the MIT Licence. See LICENSE for details.

來源:README.md,提交 c655b16

工具

0
SourceWeft 尚未讀取此伺服器的工具。

版本歷史

1
  1. v1.16.0最新Sep 16, 2026

評分

已滿足適用檢查項的 85%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Smithery 整合