endplay-dd-mcp-server
endplay-dd-mcp-server
MCP-сервер, предоставляющий расчёты двойного дамми endplay через собственный REST API. Процесс MCP является HTTP-клиентом и никогда не импортирует Endplay напрямую.
Инструменты
double_dummy(pbn: str)
Возвращает полную таблицу взяток из 20 ячеек (заявляющий N/E/S/W x масть/бескозырка C/D/H/S/NT).double_dummy_batch(pbns: list[str])
Та же форма результата для нескольких сдач за один вызов.
Related MCP server: TexasSolver MCP Server
Настройка
cd c:/sw/bridge/ML-Contract-Bridge/src/endplay-dd-mcp-server
python -m venv .venv
.venv/Scripts/activate
pip install -e .Запуск
Запустите собственный API, затем MCP-клиент:
endplay-dd-api
# In another terminal:
endplay-dd-mcpMCP-сервер по умолчанию работает через stdio. Настройте его конечную точку API с помощью ENDPLAY_DD_API_BASE_URL (по умолчанию http://127.0.0.1:8001).
Пример ввода
N:9642.95.AKQT4.K7 KJ3.K3.98.T98654 AQT85.Q862..AQJ2 7.AJT74.J76532.3Пример вывода (форма)
{
"ok": true,
"pbn": "<input>",
"table": {
"denom_order": ["C", "D", "H", "S", "N"],
"player_order": ["N", "E", "S", "W"],
"by_declarer": {
"N": {"C": 8, "D": 8, "H": 7, "S": 7, "N": 9},
"E": {"C": 5, "D": 5, "H": 6, "S": 0, "N": 4},
"S": {"C": 8, "D": 7, "H": 7, "S": 7, "N": 9},
"W": {"C": 5, "D": 6, "H": 5, "S": 0, "N": 4}
}
}
}Пример конфигурации MCP для Cursor
Убедитесь, что endplay-dd-api запущен, затем добавьте этот сервер в вашу конфигурацию MCP:
{
"mcpServers": {
"endplay-dd": {
"command": "c:/sw/bridge/ML-Contract-Bridge/src/endplay-dd-mcp-server/.venv/Scripts/python.exe",
"args": [
"-m",
"endplay_dd_mcp.server"
]
}
}
}This server cannot be deployed
Maintenance
Related MCP Connectors
Exact Texas Hold'em equity and hand analysis, every runout enumerated. Free, no API key.
Lichess public API: players, ratings, eval, tablebase, opening explorer
Negotiation math engine. Pareto frontier, counteroffer generation, zero LLM tokens.
Stockfish chess eval: best move, score, principal variation, multipv. $0.005/call via x402.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables AI agents to analyze shogi (Japanese chess) positions and moves by integrating with USI protocol engines. Provides position analysis, move evaluation, and game state assessment through HTTP API bridge and MCP tools.31MIT
- FlicenseNot gradedqualityCmaintenanceEnables interaction with the TexasSolver poker solver to run game theory optimal (GTO) poker calculations, load preflop ranges, and build game trees with structured parameters for analyzing poker hands and strategies.-
- AlicenseNot gradedqualityDmaintenanceEnables playing chess games with legal move validation and AI opponent moves powered by the Stockfish engine. Supports multiple concurrent games and provides moves in UCI format.MIT
- AlicenseAqualityCmaintenanceEnables simulated multi-table No-Limit Texas Hold'em study and decision-support, allowing users to practice against bots and get equity/pot-odds/preflop-chart advice.12MIT