aiida_mcp.aiidalab module¶
Detection of a locally running AiiDAlab Jupyter server.
Assumes the MCP server runs as the same user and in the same Python environment as the AiiDAlab Jupyter server, e.g. started by the container’s entrypoint script alongside it.
- aiida_mcp.aiidalab.get_status() dict[str, Any]¶
Report whether an AiiDAlab server is running locally, and its URL.
- Returns:
Whether a server is running and, if so, its URL (with access token), pid, root directory and version. If several candidate servers are running and none is clearly AiiDAlab,
ambiguousis True andserverslists all of them instead.- Return type:
dict[str, Any]