HAPI MCP Server

ai.com.mcp/hapi-mcp

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

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "hapi-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/hapimcp/hapi-cli:0.6.0"
      ],
      "env": {
        "HAPI_FQDN": "localhost",
        "HAPI_HOME": "/app/.hapi",
        "HAPI_PORT": "3030",
        "HAPI_HEADLESS": "true",
        "HAPI_MCP": "true",
        "NODE_ENV": "production"
      }
    }
  }
}
Environment variables
  • HAPI_FQDNFully Qualified Domain Name for the HAPI server (used in MCP tool URLs)
  • HAPI_HOMEDirectory path for HAPI configuration and specs. Should be mounted as a volume in Docker
  • HAPI_PORTServer port (alternative to --port flag) - this is the internal container port
  • HAPI_HEADLESSEnable headless mode (alternative to --headless flag)
  • HAPI_MCPEnable MCP mode (alternative to --mcp flag)
  • NODE_ENVNode environment (development, production). 'development' enables verbose logging and debugging features.

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
AI & ML
Version
0.6.0
Registry
active
Published
1/7/2026

Remotes

  • streamable-httphttps://{HAPI_FQDN}:{HAPI_PORT}/mcp
Browse all AI & ML →

Add the badge to your site

Show visitors that HAPI MCP Server is listed here — it’s also the link we check for a free listing.

HAPI MCP Server — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/ai-com-mcp-hapi-mcp?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="HAPI MCP Server — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![HAPI MCP Server — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/ai-com-mcp-hapi-mcp?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.