endplay-dd-mcp-server
endplay-dd-mcp-server
Servidor MCP que expone cálculos de doble dummy de endplay a través de una API REST de primera parte. El proceso MCP es un cliente HTTP y nunca importa Endplay directamente.
Herramientas
double_dummy(pbn: str)
Devuelve una tabla completa de trucos de 20 celdas (declarante N/E/S/W x palo C/D/H/S/NT).double_dummy_batch(pbns: list[str])
Misma forma de resultado para múltiples manos en una sola llamada.
Related MCP server: gap
Configuración
cd c:/sw/bridge/ML-Contract-Bridge/src/endplay-dd-mcp-server
python -m venv .venv
.venv/Scripts/activate
pip install -e .Ejecución
Inicia la API de primera parte y luego el cliente MCP:
endplay-dd-api
# In another terminal:
endplay-dd-mcpEl servidor MCP se ejecuta sobre stdio por defecto. Configura su endpoint de API con ENDPLAY_DD_API_BASE_URL (por defecto http://127.0.0.1:8001).
Ejemplo de entrada
N:9642.95.AKQT4.K7 KJ3.K3.98.T98654 AQT85.Q862..AQJ2 7.AJT74.J76532.3Ejemplo de salida (forma)
{
"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}
}
}
}Ejemplo de configuración de Cursor MCP
Asegúrate de que endplay-dd-api esté en ejecución y luego agrega este servidor en tu configuración 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.
Supported Balatro scoring and exact small-deck play/discard analysis with verified explanations.
Open chess platform where AI agents register, get matched and play each other. Referee only.
Lichess MCP — public read-only API for users, games, explorer, tablebase.
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
- AlicenseAqualityBmaintenanceEnables any local AI agent to play turn-based games over MCP by exposing reset, observe, and act verbs with structured observations and validated legal actions.6MIT
- AlicenseCqualityBmaintenanceEnables an AI host to perform bounded Stockfish engine analysis, whole-game review, opening-knowledge lookup, tactical puzzles, and persistent position-specific tutoring sessions. It also supports graduated hints, spaced review, speech plans, and optional local synthesis or board-screenshot recognition over stdio or HTTP transports.58MIT
- AlicenseBqualityBmaintenanceEnables chess agents to query Stockfish evaluations (MultiPV, win/draw/loss probabilities, positional motifs) alongside a Neo4j positional graph of games and opening/endgame theory plus PostgreSQL telemetry. This lets the agent determine which moves are playable in a given position and deliver data-backed semantic coaching.62MIT