Genetic Algorithm MCP
A server that uses a Genetic Algorithm to solve maximization problems.
genetic_mcp
An MCP server to solve maximization problems using Genetic Algorithm.
Table of Contents
How it works
...
How to run
Genetic Algorithm
There's already a sample problem loaded in genetic-mcp-server/genetic_algorithm/main.py. To run it, run the following commands:
cd genetic-mcp-server/genetic_algorithm
python3 main.py
There are also sample problems in genetic-mcp-server/genetic_algorithm/samples. To run them, simply replace <problem> below with the name of the actual problem you want to run:
cd genetic-mcp-server/genetic_algorithm
python3 main.py samples/<problem>.json
If you want to run your own problems, you have 2 options:
- Simply modify the following section of
genetic-mcp-server/genetic_algorithm/main.py:
tsp_data = {
"options": {
"population_size": 100,
"chromosome_size": 4,
"fitness_function": {
"cities": ["A", "B", "C", "D"],
"distance_matrix": [
[0, 10, 15, 20],
[10, 0, 35, 25],
[15, 35, 0, 30],
[20, 25, 30, 0]
]
}
},
"problem": "traveling_salesman",
"generations": 50
}
- Create a .json file in the same style of the ones in
genetic-mcp-server/genetic_algorithm/samplesand replace<path_to_your_file>with the path to your file:
cd genetic-mcp-server/genetic_algorithm
python3 <path_to_your_file>
MCP Server
If you want to run the MCP server, run:
cd genetic-mcp-server
uv run main.py
How to add the MCP server to Cursor
Replace <full-path-to-genetic-mcp-server> in the following JSON with your actual path:
{
"mcpServers": {
"genetic_algorithm_mcp_server": {
"command": "uv",
"args": [
"--directory",
<full-path-to-genetic-mcp-server>,
"run",
"main.py"
]
}
}
}
เซิร์ฟเวอร์ที่เกี่ยวข้อง
Scout Monitoring MCP
ผู้สนับสนุนPut performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
ผู้สนับสนุนAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
Authless Remote MCP Server
An example of a remote MCP server without authentication, deployable on Cloudflare Workers or runnable locally.
Swagger/Postman MCP Server
Ingests and serves Swagger/OpenAPI specifications and Postman collections as MCP tools. Requires a config.json for API and authentication setup.
Brain
Adaptive error memory & code intelligence MCP server with Hebbian synapse network, cross-project learning, and auto-error detection
Hayhooks
Deploy and serve Haystack pipelines as REST APIs, MCP Tools, and OpenAI-compatible chat completion backends.
GhostQA
GhostQA sends AI personas through your application — they look at the screen, decide what to do, and interact like real humans. No test scripts. No selectors. You describe personas and journeys in YAML, and GhostQA handles the rest.
AGS MCP Server
Manipulate Adventure Game Studio (AGS) compiled room (.crm) files to enable AI-powered game development.
Railagent
Provides structured workflows and tools for AI agents working with software development projects, with a specialized focus on Rails applications.
Remote MCP Server (Authless)
An example of a remote MCP server deployable on Cloudflare Workers, without authentication.
Jupyter Earth MCP Server
Provides tools for geospatial analysis within Jupyter notebooks.
Photon
A TypeScript framework that turns a single class into an MCP server, CLI tool, and web dashboard with a marketplace of 35 ready-made photons.