get_hex_project
Retrieve detailed information about a specific Hex project using its unique project ID to access project data and metadata.
Instructions
Get details about a specific Hex project.
Args:
project_id: The UUID of the Hex project
Returns:
JSON string with project details
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes |
Implementation Reference
- src/hex_mcp/server.py:161-172 (handler)The handler function for the 'get_hex_project' tool, decorated with @mcp.tool() for automatic registration in the FastMCP server. It fetches the project details from the Hex API endpoint `/projects/{project_id}` using the `hex_request` helper and returns the JSON response.@mcp.tool() async def get_hex_project(project_id: str) -> str: """Get details about a specific Hex project. Args: project_id: The UUID of the Hex project Returns: JSON string with project details """ project = await hex_request("GET", f"/projects/{project_id}") return project