PluginBench
MCP Server

HAPI MCP Server MCP Server

ai.com.mcp/hapi-mcp

RepositoryRegistry
How to choose

What this kind of tool is for

  • Automate a build, test, or deployment step you repeat by hand.
  • Review or refactor code in an existing repository without leaving your agent.
  • Bridge an internal service or CLI into the agent toolset.

How to compare servers like this

Scope of control:
Repos and CI are hard to undo; prefer tools that ask before anything irreversible.
Environment fit:
Match the runtime it expects (Node, Python, a container) to what you actually run.
Maintenance signal:
Check the last-commit date — dev tooling that lags upstream breaks first.
Config surface:
Prefer tools whose environment-variable or config keys are documented plainly.

This page carries your copy-paste config: pick your MCP client in the install section on this page and use the copy button.

What is the HAPI MCP Server MCP server?

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

How to install HAPI MCP Server

Copy-paste configuration for popular MCP clients.

transport: stdio
Config generated by PluginBench — verify against the source before use.
Environment / auth
  • 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.

~/Library/Application Support/Claude/claude_desktop_config.json
JSON config
{
  "mcpServers": {
    "hapi-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/hapimcp/hapi-cli:0.6.0",
        "-p",
        "-v",
        "serve",
        "petstore",
        "--port",
        "--headless",
        "--mcp",
        "--dev",
        "--url",
        "--openapi",
        "--cors",
        "--filename",
        "--cert",
        "--key"
      ],
      "env": {
        "HAPI_FQDN": "<YOUR_HAPI_FQDN>",
        "HAPI_HOME": "<YOUR_HAPI_HOME>",
        "PROJECT_NAME": "<YOUR_PROJECT_NAME>",
        "HAPI_OPENAPI": "<YOUR_HAPI_OPENAPI>",
        "HAPI_URL": "<YOUR_HAPI_URL>",
        "HAPI_PORT": "<YOUR_HAPI_PORT>",
        "HAPI_HEADLESS": "<YOUR_HAPI_HEADLESS>",
        "HAPI_MCP": "<YOUR_HAPI_MCP>",
        "HAPI_DEV": "<YOUR_HAPI_DEV>",
        "HAPI_CORS": "<YOUR_HAPI_CORS>",
        "HAPI_CONFIG_FILES": "<YOUR_HAPI_CONFIG_FILES>",
        "NODE_ENV": "<YOUR_NODE_ENV>"
      }
    }
  }
}

Related MCP servers

Transform OpenAPI specs into MCP tools instantly—no rewrites, no parallel codebases.

9
HTML
MIT
View repository →

Turn LinkedIn's API into AI-ready MCP tools—retrieve profiles and publish content instantly.

9
HTML
MIT
View repository →

Transform OpenAPI specs into MCP tools instantly—no rewrites, no parallel codebases.

9
HTML
MIT
View repository →

Transform OpenAPI specs into MCP tools instantly—no rewrites, no sidecar servers.

9
HTML
MIT
View repository →

Official MCP Registry: publish and discover MCP servers like an app store for AI agents.

7.3k
Go
View repository →

Search and discover Agent Skills — reusable AI agent capability packages — from the skills.sh registry.

21k
Python
Apache-2.0
View repository →