H

HAPI MCP Server

MCP server · by com

Web APIs DockerStreamable HTTP v0.6.0

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

View source ↗ Website ↗ Generate config for multiple servers More servers

Install

unavailable — the image reference already carries a tag

Docker
docker run -i --rm docker.io/hapimcp/hapi-cli:0.6.0
Streamable HTTP
https://{HAPI_FQDN}:{HAPI_PORT}/mcp

Setup by client

Pick your client — the config below is generated for this server (both local and hosted-endpoint forms). Copy respects the “Pin version” switch above.

claude_desktop_config.json

{
  "mcpServers": {
    "hapi-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/hapimcp/hapi-cli:0.6.0"
      ]
    }
  }
}

Remote (hosted) endpoint

https://{HAPI_FQDN}:{HAPI_PORT}/mcp

Claude Desktop: Settings → Connectors → Add custom connector, paste this URL.

Format verified against the official Claude Desktop docs ↗.

Environment variables

Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.

  • 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)

About this server

Distributed as Docker, Streamable HTTP, listed under Web APIs. Review our MCP security guide before granting access to real data.

Frequently asked questions

How do I install HAPI MCP Server?

Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.

Is HAPI MCP Server free to use?

The MCP server itself is free to install. The source is public on https://github.com/larebelion/hapimcp. Any third-party service it calls may require its own API key and account.

Which clients support HAPI MCP Server?

Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.

Add this badge

Publish this server? Link back with a badge on your README or site — copy either snippet.

Listed on MCPNav

Markdown

[![Listed on MCPNav](https://mcpnav.net/badge/hapi-mcp.svg)](https://mcpnav.net/server/hapi-mcp/)

HTML

<a href="https://mcpnav.net/server/hapi-mcp/"><img src="https://mcpnav.net/badge/hapi-mcp.svg" alt="Listed on MCPNav" height="20"></a>