Skip to main content
Glama
franccesco

Hex API MCP Server

by franccesco

get_hex_run_status

Check the status of a Hex project run by providing the project and run IDs to monitor execution progress and results.

Instructions

Get the status of a project run.

Args:
    project_id: The UUID of the Hex project
    run_id: The UUID of the run

Returns:
    JSON string with run status details

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYes
run_idYes

Implementation Reference

  • The handler function for the 'get_hex_run_status' tool, registered via @mcp.tool() decorator. It retrieves the status of a specific run in a Hex project by making a GET request to the Hex API endpoint `/projects/{project_id}/runs/{run_id}` and returns the JSON response.
    @mcp.tool()
    async def get_hex_run_status(project_id: str, run_id: str) -> str:
        """Get the status of a project run.
    
        Args:
            project_id: The UUID of the Hex project
            run_id: The UUID of the run
    
        Returns:
            JSON string with run status details
        """
        status = await hex_request("GET", f"/projects/{project_id}/runs/{run_id}")
        return status

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/franccesco/hex-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server