Feedback

Constrained Optimization MCP Server

@sharmarajnish Claim

Basic information

Runtime
Python
Version
1.0.0
Category
License
Apache-2.0
Transports
stdio
Author
sharmarajnish
Submitted by
Community
Quality
10
Stars
3

About Constrained Optimization MCP Server

Unified constraint optimization server using solvers like Gurobi for convex, linear, and combinatorial problems with visualization support.

Constrained Optimization is a MCP server in the Finance category listed in the AddMCP.net directory, published by sharmarajnish. Supported transport: stdio. Runtime: Python. License: Apache-2.0. The repository has 3 GitHub stars. Source code is hosted on github.com. Related topics: community, constrained-optimization, finance, mcp, optimization-server.

Setup

{
    "mcpServers": {
        "constrained-opt-mcp": {
            "command": "constrained-opt-mcp",
            "args": []
        }
    }
}

Constrained Optimization MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "constrained-opt-mcp": {
            "command": "constrained-opt-mcp",
            "args": []
        }
    }
}

Constrained Optimization MCP Server tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is Constrained Optimization?

Mcp_constrained_optimization is a general-purpose MCP server for solving combinatorial optimization problems with logical and numerical constraints. It provides a unified interface to multiple optimization solvers, enabling AI assistants to handle complex optimization across various domains.

How to use Constrained Optimization?

Install via pip install constrained-opt-mcp, then start the server with constrained-opt-mcp. Add it to your MCP client configuration using the command constrained-opt-mcp with no arguments. The server exposes five tools: solve_constraint_satisfaction, solve_convex_optimization, solve_linear_programming, solve_constraint_programming, and solve_portfolio_optimization.

Key features of Constrained Optimization

  • Unified interface to Z3, CVXPY, HiGHS, and OR-Tools solvers.
  • Specialized tools for portfolio optimization and risk management.
  • Designed for AI assistants via the MCP protocol.
  • Supports linear, quadratic, convex, and constraint satisfaction problems.
  • High performance with comprehensive error handling.
  • Extensible modular architecture for adding new solvers.

Use cases of Constrained Optimization

  • Solve constraint satisfaction puzzles like N‑Queens and knapsack problems.
  • Perform portfolio optimization with Markowitz, Black‑Litterman, or ESG constraints.
  • Optimize production planning and resource allocation via linear programming.
  • Schedule workforce, job shop, or nurse shifts with constraint programming.
  • Manage risk using VaR, CVaR, stress testing, and scenario analysis.

Frequently asked questions

1 What solvers does Mcp_constrained_optimization support?

It supports Z3 for constraint satisfaction, CVXPY for convex optimization, HiGHS for linear/mixed-integer programming, and OR-Tools for constraint programming.

2 How do I install Mcp_constrained_optimization?

Install via pip: pip install constrained-opt-mcp. You can also clone the repository and run pip install -e . from the source directory.

3 What problem types can Mcp_constrained_optimization solve?

The server handles linear programming, quadratic programming, convex optimization, constraint satisfaction problems, and portfolio optimization.

4 Is Mcp_constrained_optimization designed for AI assistants?

Yes, it is purpose-built for use with AI assistants through the Model Context Protocol (MCP).

5 What license is Mcp_constrained_optimization under?

It is licensed under the Apache License 2.0.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬