MCP ServerHTTPOfficialv0.6.0

HAPI MCP Server MCP Server

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

ai.com.mcp/hapi-mcp

Hosted URL

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

Transport

HTTP

Auth

No auth required

Connect to HAPI MCP Server

Hosted endpoint — paste into any MCP client.

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

Environment variables

Configuration this server reads at startup.

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

Resources

Where to find authoritative docs and source for HAPI MCP Server.

Try HAPI MCP Server with 30+ AI models

Open MCP Agent Studio and connect this server to Claude, GPT, Gemini, DeepSeek and more — no install required.

Open Agent Studio

Related servers

More on MCP Playground