Install HAPI MCP Server for Claude Desktop
Claude Desktop reads mcpServers from claude_desktop_config.json. Restart the app after saving.
- Open ~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows, or ~/.config/Claude/claude_desktop_config.json on Linux.
- Paste the JSON config below.
- Replace placeholder secrets, then restart the client if it does not reload on its own.
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"larebelion-hapimcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"docker.io/hapimcp/hapi-cli:0.6.0"
],
"env": {
"HAPI_FQDN": "localhost",
"HAPI_HOME": "/app/.hapi",
"PROJECT_NAME": "",
"HAPI_OPENAPI": "",
"HAPI_URL": "",
"HAPI_PORT": "3030",
"HAPI_HEADLESS": "true",
"HAPI_MCP": "true",
"HAPI_DEV": "",
"HAPI_CORS": "",
"HAPI_CONFIG_FILES": "",
"NODE_ENV": "production"
}
}
}
}