get_status
Check the current status of the MCTS MCP Server, enabling real-time updates on Monte Carlo Tree Search operations for deep analysis of topics or text inputs.
Instructions
Get the current MCTS status
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/mcts_mcp_server/server.py:411-432 (handler)The core handler function for the 'get_status' MCP tool. It returns a dictionary containing the current MCTS server state, including initialization status, current question, chat ID, provider/model config, iterations completed, best score, and API key status.def get_status() -> dict[str, Any]: """ Get the current MCTS status and configuration. Returns comprehensive information about the current state of the MCTS system including initialization status, current question, provider settings, and results. Returns: Dict containing all current status information and configuration """ return { "initialized": server_state["initialized"], "current_question": server_state["current_question"], "chat_id": server_state["chat_id"], "provider": server_state["provider"], "model": server_state["model"], "iterations_completed": server_state["iterations_completed"], "best_score": server_state["best_score"], "has_analysis": bool(server_state["best_analysis"]), "available_providers": ["gemini"], "api_key_configured": bool(os.getenv("GEMINI_API_KEY") or os.getenv("GOOGLE_API_KEY")) }
- The input schema definition for the 'get_status' tool, specifying an empty object (no parameters required). Defined within the tool registration.inputSchema={"type": "object", "properties": {}}
- src/mcts_mcp_server/server.py:115-119 (registration)Registration of the 'get_status' tool in the @server.list_tools() handler, providing name, description, and input schema.types.Tool( name="get_status", description="Get the current MCTS status", inputSchema={"type": "object", "properties": {}} ),