HAPI MCP Server
by larebelionai.com.mcp/hapi-mcpv0.6.0
HAPI MCP server: Dynamically exposes OpenAPI REST APIs as MCP tools for AI assistants
context tax
queued
security
queued
cold start
queued
freshness
Stale9mo ago
Install HAPI MCP server
Install in Claude Code
claude mcp add --transport http hapi-larebelion https://{HAPI_FQDN}:{HAPI_PORT}/mcpInstall in Cursor
{
"mcpServers": {
"hapi-larebelion": {
"url": "https://{HAPI_FQDN}:{HAPI_PORT}/mcp"
}
}
}Install in Claude Desktop
{
"mcpServers": {
"hapi-larebelion": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://{HAPI_FQDN}:{HAPI_PORT}/mcp"
]
}
}
}Or add it as a custom connector under Settings → Connectors. The config above bridges via mcp-remote.
Install in VS Code
{
"servers": {
"hapi-larebelion": {
"type": "http",
"url": "https://{HAPI_FQDN}:{HAPI_PORT}/mcp"
}
}
}Install in Windsurf
{
"mcpServers": {
"hapi-larebelion": {
"serverUrl": "https://{HAPI_FQDN}:{HAPI_PORT}/mcp"
}
}
}Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| HAPI_FQDN | — | — | Fully Qualified Domain Name for the HAPI server (used in MCP tool URLs) |
| HAPI_HOME | — | — | Directory path for HAPI configuration and specs. Should be mounted as a volume in Docker |
| PROJECT_NAME | — | — | The name of the project/API (alternative to positional argument) |
| HAPI_OPENAPI | — | — | OpenAPI spec URL or path (alternative to --openapi flag) |
| HAPI_URL | — | — | Backend API base URL (alternative to --url flag) |
| HAPI_PORT | — | — | Server port (alternative to --port flag) - this is the internal container port |
| HAPI_HEADLESS | — | — | Enable headless mode (alternative to --headless flag) |
| HAPI_MCP | — | — | Enable MCP mode (alternative to --mcp flag) |
| HAPI_DEV | — | — | Enable development mode (alternative to --dev flag) |
| HAPI_CORS | — | — | Comma-separated allowed CORS origins (alternative to --cors flag) |
| HAPI_CONFIG_FILES | — | — | Comma-separated configuration files (alternative to --filename flag) |
| NODE_ENV | — | — | Node environment (development, production). 'development' enables verbose logging and debugging features. |
Remote endpoints
- streamable-http
https://{HAPI_FQDN}:{HAPI_PORT}/mcp
Freshness
Stale — last maintenance signal 9mo ago. The newest of the signals below sets the band.
Last commit (default branch)
no data · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-01-07 · 9mo ago · official registry · v0.6.0
FAQ
›How do I install the HAPI MCP server in Claude Code?
Run: claude mcp add --transport http hapi-larebelion https://{HAPI_FQDN}:{HAPI_PORT}/mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does HAPI require an API key?
No required environment variables are declared in its published metadata.
›Can I use HAPI as a remote (hosted) MCP server?
Yes. It is a hosted MCP server; connect to its URL with any client that supports remote MCP.
›Is HAPI in the official MCP registry?
Yes, as ai.com.mcp/hapi-mcp.