Skip to main content
Glama
franccesco

Hex API MCP Server

by franccesco

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
NameRequiredDescriptionDefault
project_idYes

Implementation Reference

  • 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

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