技能潮 SkillTide 提交收录
官方说明3 个来源MCP 服务3 天前
szeider/mcp-solver

szeider/mcp-solver

Constraint optimization and solving
在 GitHub 查看 ↗直链 · 无中转页
来源明细
收录自 abordage/awesome-mcp 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
收录与活跃
收录于 2026-10-14 · 最近见到 2026-10-16 · 共见到 4 次 · 被 3 个来源列出
评分构成
综合分 303 · 3 个来源 · mcp
常见问题(答案都来自我们的记录)
怎么安装?
我们【没有】从该仓库取到安装命令(我们的 install 覆盖率只有约 4%)。请看它的 README 或 releases 页。
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
我们收录于 2026-10-14;最近见到 2026-10-16。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。
第三方质量标记

MCP Solver

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

An MCP server for constraint solving (SAT, MaxSAT, SMT, CP, ASP, DP). It turns
the connected LLM host into a solver-writing agent: the host gets a Python
kernel preloaded with a real solver library, modeling instructions for the
chosen backend, and a submission gate. The host encodes the problem, runs
and verifies it against the real solver, and submits the final program —
the outcome is the solution plus the verified solver program that produced
it.
> **Version 4 is a complete re-architecture.** Both the MCP interface and the
> solving engine changed; the design from the SAT 2025 paper (v3) lives on
> unchanged on the
> v3 branch.
> See From v3 to v4 below.
The MCP server
mcp-solver-serve runs over stdio and works with any MCP host: Claude
Desktop, Claude Code, Cursor, or your own client. The host LLM does the
solving itself — the server is a solver toolkit; it runs no LLM and needs
no API key:
- **select_backend(solver)** sets up a persistent IPython kernel with the
backend's solver library and helper functions, and returns the modeling
instructions for that backend. Calling it again recycles the kernel for
the next problem.
- **Kernel tools** (python_exec, python_reset, python_status,
python_interrupt) let the host write, run, and verify a real solver
program; bare python_exec calls are routed to the solving kernel
automatically.
- **submit_code(code)** is the finish line: the final self-contained
program is syntax-checked and, on success, stored and linked back as an
MCP resource (mcp-solver://submissions/{id}), with the verdict as
structured content.
- **Resources:** mcp-solver://guide (backend selection and workflow) and
mcp-solver://template/{solver} (the full modeling instructions,
browsable without selecting).
- **Statistics** (optional): set MCP_SOLVER_STATS=/path/to/stats.jsonl in
the server's env to log one JSON line per solving episode — tool-call
counts, execution failures, submissions, wall time. Host tokens are
invisible to the server by protocol design; tool usage is the comparable
metric across hosts. (submit_code results also carry a compact stats
snapshot as structured content; the CLI path reports tokens and actual
OpenRouter cost via --stats-json.)
Claude Desktop configuration, from a checkout (the working setup today, and
the development path always; see Installation):
Once the PyPI name transfer completes, no checkout will be needed. Until then
this configuration fetches an unrelated stale v2.0.0 upload, so do not use it
yet:
The server needs no API key — the model doing the solving belongs to the
host. An OpenRouter key is required only for the
command-line path below, which brings its own agent.
Requirements
- Python 3.13 or 3.14 (not yet 3.15: the solver kernels run on the server's
Python version, and ortools and python-sat publish no 3.15 wheels yet)
- uv (a hard runtime requirement: solver
libraries are supplied at solve time via uv run --with)
- An OpenRouter API key — for the CLI and benchmark
harness only; the MCP server itself runs without one
Installation
> **v4 is not yet installable from PyPI.** The PyPI name mcp-solver is
> held by a third-party upload of stale v2.0.0 code, and PyPI blocks
> confusably similar names; a PEP 541
> name-transfer request is pending. Until it resolves, install from a
> checkout:
See INSTALL.md for details and troubleshooting.
Command-line use
The mcp-solver CLI runs the same solving pipeline without an MCP host,
which is handy for scripts and benchmarks:
The solution JSON goes to stdout; the submitted solver program (e.g.
n_queens_code.py) and a complete run log (run_*.json) land in the working
directory.
| Option | Description |
| ---------------- | ------------------------------------------------------ |
| --problem FILE | Read the task from a markdown file instead of text |
来源
awesome · https://github.com/szeider/mcp-solver
按领域浏览
MCP 服务
收录于
昨天

更多MCP 服务

查看MCP 服务全部 5,525 条 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引