MCP.so
登录

TSP MCP Server

@omeletJK

基本信息

分类

其他

许可证

MIT license

传输方式

stdio

作者

omeletJK

关于 TSP MCP Server

A Model Context Protocol server for solving Traveling Salesman Problem (TSP)

TSP MCP Server 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

TSP MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is TSP MCP Server?

TSP MCP Server is a Model Context Protocol server for solving the Traveling Salesman Problem (TSP). It provides optimized algorithms to find the shortest route through a set of cities and integrates with Claude Desktop for natural language interactions.

How to use TSP MCP Server?

Install via npm or GitHub, then configure Claude Desktop by editing its claude_desktop_config.json to point to the server’s built dist/index.js. After restarting Claude Desktop, you can ask natural language questions like “Solve TSP for cities at (0,0), (1,1), (2,0).”

Key features of TSP MCP Server

  • Multiple algorithms: Dynamic Programming (≤10 cities) and Nearest Neighbor + 2‑opt.
  • Supports both coordinate-only and named city inputs.
  • Calculates total distance for custom routes.
  • Tests multiple starting points to find better solutions.
  • Generates high‑quality PNG visualizations of routes.
  • Customizable visualization themes (modern, dark, minimal, colorful).

Use cases of TSP MCP Server

  • Find the shortest delivery route for a set of logistics points.
  • Optimize travel itineraries for field service or sales visits.
  • Visualize and compare TSP solutions for educational demonstrations.

常见问题

1

What algorithms does TSP MCP Server use?

Dynamic Programming (Held‑Karp) for ≤10 cities (guaranteed optimal), and Nearest Neighbor + 2‑opt heuristic for larger instances (high‑quality solutions).

2

What are the runtime dependencies?

Node.js version 18 or higher and npm or yarn are required. The server is designed for use with the Claude Desktop application.

3

Where does data live?

All data (city coordinates, routes) is processed locally – the server runs on your machine and does not send data externally.

4

How is the server invoked?

It uses the Model Context Protocol’s tool‑based transport. Communication happens via JSON‑RPC over standard I/O.

5

Is authentication required?

No authentication or API keys are mentioned in the README.

评论

其他 分类下的更多 MCP 服务器