Skip to main content
Glama
franccesco

Hex API MCP Server

by franccesco

get_hex_project_runs

Retrieve execution runs for a specific Hex project to monitor workflow history and analyze performance data.

Instructions

Get the runs for a specific project.

Args:
    project_id: The UUID of the Hex project
    limit: The number of runs to return
    offset: The number of runs to skip

Returns:
    JSON string with project runs

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYes
limitNo
offsetNo

Implementation Reference

  • The handler function for the 'get_hex_project_runs' tool. It is registered via the @mcp.tool() decorator and fetches the list of runs for a given Hex project using the Hex API.
    @mcp.tool()
    async def get_hex_project_runs(project_id: str, limit: int = 25, offset: int = 0) -> str:
        """Get the runs for a specific project.
    
        Args:
            project_id: The UUID of the Hex project
            limit: The number of runs to return
            offset: The number of runs to skip
    
        Returns:
            JSON string with project runs
        """
    
        params = {"limit": limit, "offset": offset}
    
        runs = await hex_request("GET", f"/projects/{project_id}/runs", params=params)
        return runs

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