Overview
Hex API MCP Server is a Model Context Protocol (MCP) server designed to facilitate interaction with Hex projects, allowing AI assistants to access, run, and monitor the status of these projects through a standardized interface.
To use the Hex API MCP Server, install the required dependencies, set up your Hex API key, and run the server using Python. You can also integrate it with Claude Desktop or test it using the MCP Inspector.
- Retrieve project details - List all available projects - Monitor project runs and their statuses - Execute projects - Cancel ongoing project runs
- Accessing and managing Hex projects programmatically.
- Integrating Hex project functionalities into AI assistants.
- Monitoring and controlling project executions in real-time.
Add to your AI client
Use these steps to connect hex-mcp MCP server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"hex-mcp-franccesco": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-hex-mcp-franccesco"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"hex-mcp-franccesco": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-hex-mcp-franccesco"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"hex-mcp-franccesco": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-hex-mcp-franccesco"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"hex-mcp-franccesco": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-hex-mcp-franccesco"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"hex-mcp-franccesco": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-hex-mcp-franccesco"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"hex-mcp-franccesco": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-hex-mcp-franccesco"
]
}
}
}FAQ
What is required to run the Hex API MCP Server?
You need to install Python and the required dependencies listed in the requirements.txt file.
Can I customize the API base URL?
Yes, you can set a custom API base URL by exporting the HEX_API_BASE_URL environment variable.
How do I handle errors?
The server will raise appropriate HTTP errors based on the responses from the Hex API, so ensure your API key has the necessary permissions.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":1910,"uuid":"c330abd5-e3f2-4891-960e-ee71a87fb3a4","name":"hex-mcp","title":"hex-mcp MCP server","description":"A MCP server to interact with Hex projects","avatar_url":"https://avatars.githubusercontent.com/u/6962824?v=4","created_at":"$D2025-03-05T06:03:28.425Z","updated_at":"$D2025-03-12T10:21:40.894Z","status":"created","author_name":"franccesco","author_avatar_url":"https://avatars.githubusercontent.com/u/6962824?v=4","tags":"[]","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/franccesco/hex-mcp","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"0\",\"license\":\"AGPL-3.0 license\",\"language\":\"Python\",\"is_official\":false,\"latest_commit_time\":\"2025-03-20 06:24:27\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]