Hex API MCP Server
hex-mcp MCP サーバー
以下のツールを実装する Hex 用の MCP サーバー:
list_hex_projects: 利用可能なHexプロジェクトを一覧表示しますsearch_hex_projects: パターンでHexプロジェクトを検索get_hex_project: 特定のプロジェクトに関する詳細情報を取得するget_hex_run_status: プロジェクト実行のステータスを確認するget_hex_project_runs: プロジェクト実行の履歴を取得するrun_hex_project: Hexプロジェクトを実行するcancel_hex_run: 実行中のプロジェクトをキャンセルする
インストール
hex-mcp をインストールするには、uv を使用することをお勧めします。
uv add hex-mcpまたは pip を使用します:
pip install hex-mcp動作していることを確認するには、次のコマンドを実行します。
hex-mcp --versionRelated MCP server: Roblox Studio MCP Server
構成
configコマンドの使用(推奨)
hex-mcp を構成する最も簡単な方法は、 configコマンドを使用して、API キーと API URL (オプション、デフォルトはhttps://app.hex.tech/api/v1 ) を渡すことです。
hex-mcp config --api-key "your_hex_api_key" --api-url "https://app.hex.tech/api/v1"[!NOTE] これにより、設定がホーム ディレクトリ内のファイル (例:
~/.hex-mcp/config.yml) に保存され、すべての hex-mcp 呼び出しで使用できるようになります。
環境変数の使用
あるいは、環境変数を使用して Hex MCP サーバーを構成することもできます。
HEX_API_KEY: Hex APIキーHEX_API_URL: Hex API ベース URL
MCP サーバーの環境変数を設定するときは、Cursor がそれを取得できるようにグローバルにするか、サーバーの呼び出し時に uv の--env-fileフラグを使用する必要があります。
カーソルの使用
Cursor は、AI エージェントが MCP プロトコルを介して Hex と対話できるようにします。Cursor で hex-mcp を設定して使用するには、以下の手順に従ってください。プロジェクトのルートに、以下の内容を含む.cursor/mcp.jsonファイルを作成してください。
{
"mcpServers": {
"hex-mcp": {
"command": "uv",
"args": ["run", "hex-mcp", "run"]
}
}
}あるいは、PATH 内にある場合は、 hex-mcpコマンドを直接使用することもできます。
{
"mcpServers": {
"hex-mcp": {
"command": "hex-mcp",
"args": ["run"]
}
}
}起動したら、新しい AI (エージェント) 会話を開始して、Hex プロジェクトをリストまたは実行するように依頼することで、Cursor で使用できます。
[!IMPORTANT] MCP サーバーおよび CLI はまだ開発中であり、重大な変更が行われる可能性があります。
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