Back to Directory

HAPI MCP Server

by com.mcp

v0.6.0
active
Unknown

HAPI MCP server: Dynamically exposes OpenAPI REST APIs as MCP tools for AI assistants

MCP Config

claude_desktop_config.json / .cursor/mcp.json
{
  "mcpServers": {
    "hapi-mcp-server": {
      "type": "streamable-http",
      "url": "https://{HAPI_FQDN}:{HAPI_PORT}/mcp"
    }
  }
}

Remote Endpoints

Available Tools

Tools are discovered at runtime via the MCP protocol. Connect to this server to see available tools.

Installation Packages

Environment Variables

HAPI_FQDN
Fully Qualified Domain Name for the HAPI server (used in MCP tool URLs)
default: localhost
HAPI_HOME
Directory path for HAPI configuration and specs. Should be mounted as a volume in Docker
default: /app/.hapi
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
default: 3030
HAPI_HEADLESS
Enable headless mode (alternative to --headless flag)
default: true
HAPI_MCP
Enable MCP mode (alternative to --mcp flag)
default: true
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.
default: production

Details

Publishercom.mcp
Latest version0.6.0
Views0
Registry updatedJan 7, 2026
Last syncedNov 20, 2026