list_hex_projects
Retrieve all production Hex projects available through the MCP server. Returns a JSON list of projects with pagination support.
Instructions
List all available Hex projects that are in production.
Returns:
JSON string with list of projects
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| offset | No |
Implementation Reference
- src/hex_mcp/server.py:65-75 (handler)The handler function for the 'list_hex_projects' tool. It makes a GET request to the Hex API /projects endpoint with pagination parameters and returns the list of projects as JSON string. Registered via @mcp.tool() decorator.@mcp.tool() async def list_hex_projects(limit: int = 25, offset: int = 0) -> str: """List all available Hex projects that are in production. Returns: JSON string with list of projects """ params = {"limit": limit, "offset": offset} projects = await hex_request("GET", "/projects", params=params) return projects["values"]