Hex API MCP Server
Servidor MCP hex-mcp
Un servidor MCP para Hex que implementa las siguientes herramientas:
list_hex_projects: Lista los proyectos hexadecimales disponiblessearch_hex_projects: Busca proyectos hexadecimales por patrónget_hex_project: Obtener información detallada sobre un proyecto específicoget_hex_run_status: Verifica el estado de la ejecución de un proyectoget_hex_project_runs: Obtener el historial de ejecuciones del proyectorun_hex_project: Ejecutar un proyecto hexadecimalcancel_hex_run: Cancelar un proyecto en ejecución
Instalación
El uso de uv es la forma recomendada de instalar hex-mcp:
uv add hex-mcpO usando pip:
pip install hex-mcpPara confirmar que funciona, puedes ejecutar:
hex-mcp --versionRelated MCP server: Roblox Studio MCP Server
Configuración
Usando el comando config (recomendado)
La forma más fácil de configurar hex-mcp es usando el comando config y pasando su clave API y URL API (opcional y predeterminada es https://app.hex.tech/api/v1 ):
hex-mcp config --api-key "your_hex_api_key" --api-url "https://app.hex.tech/api/v1"[!NOTA] Esto guarda su configuración en un archivo en su directorio de inicio (por ejemplo,
~/.hex-mcp/config.yml), haciéndolo disponible para todas las invocaciones de hex-mcp.
Uso de variables de entorno
Alternativamente, el servidor Hex MCP se puede configurar con variables de entorno:
HEX_API_KEY: Su clave API hexadecimalHEX_API_URL: La URL base de la API hexadecimal
Al configurar las variables de entorno para servidores MCP, estas deben ser globales para que Cursor las recoja o utilizar el indicador --env-file de uv al invocar el servidor.
Uso con cursor
Cursor permite que los agentes de IA interactúen con Hex mediante el protocolo MCP. Siga estos pasos para configurar y usar hex-mcp con Cursor. Puede crear un archivo .cursor/mcp.json en la raíz del proyecto con el siguiente contenido:
{
"mcpServers": {
"hex-mcp": {
"command": "uv",
"args": ["run", "hex-mcp", "run"]
}
}
}Alternativamente, puedes usar el comando hex-mcp directamente si está en tu PATH:
{
"mcpServers": {
"hex-mcp": {
"command": "hex-mcp",
"args": ["run"]
}
}
}Una vez que esté en funcionamiento, puedes usarlo en Cursor iniciando una nueva conversación de IA (Agente) y pedirle que enumere o ejecute un proyecto Hex.
[!IMPORTANTE] El servidor MCP y la CLI aún están en desarrollo y están sujetos a cambios importantes.
Available Tools
7 toolscancel_hex_runB
Cancel a running project.
Args:
project_id: The UUID of the Hex project
run_id: The UUID of the run to cancel
Returns:
Success message
Inputs: project_id (required), run_id (required).
get_hex_projectB
Get details about a specific Hex project.
Args:
project_id: The UUID of the Hex project
Returns:
JSON string with project details
Inputs: project_id (required).
get_hex_project_runsC
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
Inputs: project_id (required), limit, offset.
get_hex_run_statusB
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
Inputs: project_id (required), run_id (required).
list_hex_projectsC
List all available Hex projects that are in production.
Returns:
JSON string with list of projects
Inputs: limit, offset.
run_hex_projectC
Run a Hex project.
Args:
project_id: The UUID of the Hex project to run
input_params: Optional input parameters for the project
update_published_results: Whether to update published results
Returns:
JSON string with run details
Inputs: project_id (required), input_params, update_published_results.
search_hex_projectsA
Search for Hex projects using regex pattern matching on project titles.
Args:
search_pattern: Regex pattern to search for in project titles
limit: Maximum number of projects to return (default: 100)
offset: Number of projects to skip for pagination (default: 0)
Returns:
JSON string with matching projects
Inputs: search_pattern (required), limit, offset.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Each tool has a clearly distinct purpose targeting specific resources and actions: listing/searching projects, getting project details, managing runs (initiate, check status, cancel), and retrieving run lists. No overlap exists between tools like list_hex_projects (all production projects) and search_hex_projects (pattern-based search), or between run management tools.
All tools follow a consistent verb_noun pattern with 'hex' prefix: list_hex_projects, search_hex_projects, get_hex_project, get_hex_project_runs, run_hex_project, get_hex_run_status, cancel_hex_run. The naming convention is perfectly uniform throughout the set.
With 7 tools, this is well-scoped for a Hex project management server. The count covers core operations (list, search, get, run, monitor runs) without being excessive or insufficient. Each tool serves a clear purpose in the workflow.
The tool surface provides complete coverage for Hex project management: discovery (list/search), inspection (get project details), execution (run project with parameters), run monitoring (status, list runs), and control (cancel run). No obvious gaps exist for the stated domain.
Maintenance
Related MCP Connectors
MCP server that lets AI assistants use all OneSchema features exposed via the public API.
MCP server that lets your AI assistant build and deploy apps, hosting each one at a live URL.
A Model Context Protocol server for Wix AI tools
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA server that enables AI assistants to understand and interact with Unity projects in real-time, providing access to scene hierarchy, project settings, and the ability to execute code directly in the Unity Editor.155MIT
- AlicenseBqualityFmaintenanceAn AI-powered server that provides access to Roblox Studio data through a plugin architecture, enabling AI tools to interact with file systems, studio context, properties, and project structure.24504MIT
- AlicenseCqualityDmaintenanceA Model Context Protocol server that provides a comprehensive interface to Alteryx Servers, enabling AI assistants to manage workflows, collections, users, schedules, credentials, and more.4313MIT
- AlicenseNot gradedqualityCmaintenanceA Model Context Protocol server that connects AI assistants with the Kernel platform, enabling them to deploy applications, automate web browsers, and manage cloud resources.40MIT