MCP.Market

AnnealBridge MCP server

by TheTsungYing·io.github.TheTsungYing/annealbridge·v0.4.0

Optimization middleware for AI agents: JSON problem in, verified and ranked solutions out.

A92/100grade A
What users say
No reviews yet
Be the first
Safety scan
A92/100

full report

Adoption
Growing

0 stars181 downloads/wk

Reviews

Write one

Nobody has reviewed AnnealBridge yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

AnnealBridge tools (4)

write = sends, deletes, buys or posts

Read from the package source without running it. The installed server may list more.

  • get_optimization_capabilities

    Describe what this optimization server accepts and which solver backends are usable right now.

  • recommend_backend

    Rank the solver backends of this server for a given problem, without solving it.

  • solve_optimization
  • validate_optimization_problem

    Check a structured optimization problem without solving it.

Public scan report

scanner v0.1.10 · 2026-10-03 · same rubric, same numbers if you re-run it

no findings
  • Code scan77 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitylocal package, no credentials required12/15
  • Maintenancelast push 4 days ago15/15
  • Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Overall 92/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How AnnealBridge compares

Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
92/100
higher than 95% of 48,255 servers
Tools
4
the typical server has 7
Tools that change things
0%
typical: 0%. Fewer write tools means less an agent can break
Downloads a week
181
more than 74% of 12,191 servers with a package

What its tools let an agent do: 4 read

Release history: 3 versions in the registry since 2026-09-16, latest 2026-09-29, typically one every 7 days.

Install AnnealBridge in Claude Code, Cursor or VS Code

claude mcp add annealbridge -- uvx annealbridge
Add to Cursor

What the publisher says

From the AnnealBridge repository's README, as published. We do not edit it. Read it on GitHub

AnnealBridge

<!-- mcp-name: io.github.TheTsungYing/annealbridge -->

English | 繁體中文

Combinatorial optimization middleware for AI agents. An agent describes what to optimize as structured JSON; AnnealBridge decides how to encode and solve it, checks every answer against the original problem, and returns ranked, verified solutions over MCP, a CLI, or plain Python.

flowchart LR
    U[Natural language] --> A[AI agent]
    A -->|OptimizationProblem JSON<br/>variables · objective · constraints| B
    subgraph B[AnnealBridge]
        direction LR
        V[validate] --> C[compile<br/>BQM / CQM] --> S[solve<br/>local or remote] --> R[re-validate against<br/>the original problem] --> K[rank]
    end
    B -->|SolveResult<br/>ranked, verified solutions| A
    A --> N[Natural-language answer]

Quick start

pip install annealbridge

A 0/1 knapsack: four items, capacity 10, maximize value. No file needed.

from annealbridge.models import OptimizationProblem
from annealbridge.orchestration import OptimizationService

problem = OptimizationProblem.model_validate({
    "version": "1.0",
    "name": "knapsack",
    "variables": [{"name": n, "type": "binary"} for n in ["a", "b", "c", "d"]],
    "objective": {"direction": "maximize", "linear_terms": [
        {"variable": "a", "coefficient": 10}, {"variable": "b", "coefficient": 8},
        {"variable": "c", "coefficient": 7}, {"variable": "d", "coefficient": 6}]},
    "constraints": [{"id": "capacity", "type": "hard", "operator": "<=", "rhs": 10, "terms": [
        {"variable": "a", "coefficient": 6}, {"variable": "b", "coefficient": 5},
        {"variable": "c", "coefficient": 4}, {"variable": "d", "coefficient": 3}]}],
})

result = OptimizationService().solve(problem)
print(result.status)                        # success
print(result.solutions[0].variables)        # {'a': 1, 'b': 0, 'c': 1, 'd': 0}
print(result.solutions[0].objective_value)  # 17.0

Domain failures come back as results, never as exceptions: result.status is one of success, infeasible, invalidproblem, resourcelimitexceeded, backendunavailable, configurationerror or solvererror. See docs/output-format.md.

Optional extras:

pip install "annealbridge[mcp]"       # + MCP server (annealbridge-mcp)
pip install "annealbridge[dwave]"     # + D-Wave cloud backends
pip install "annealbridge[all]"       # everything
pip install "annealbridge[gpu]"       # + PyTorch, for simulated_bifurcation on CUDA

[gpu] is deliberately not part of [all]: PyTorch is a large download, and on Windows the wheel PyPI serves is the CPU-only build, so a CUDA run needs torch installed from PyTorch's own index first — see docs/backends.md.

Use it from an AI agent (MCP)

With uv installed, add the server to claudedesktopconfig.json (or your host's equivalent) and restart the host. The first run fetches the package into uvx's own cached environment; that download — numpy, dimod, dwave-samplers and the rest — can take tens of seconds, long enough for a host's start-up timeout to show the server as disconnected. Warm the cache once in a terminal first:

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

AnnealBridge: common questions

Is AnnealBridge MCP server safe?
Yes, by our scan: it is graded A (92/100). Read the AnnealBridge safety report
How do I install AnnealBridge?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does AnnealBridge need an API key?
No secret keys are declared. It reads 1 setting from the environment.
Is AnnealBridge maintained?
The last commit was 36 days ago (2026-09-29). The latest release is v0.4.0.
How does AnnealBridge compare with other MCP servers?
safety score 92/100 (higher than 95% of 48,255 servers); tools 4 (the typical server has 7); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.