HAPI MCP
This server has a remotely hosted endpoint. Open its connector listing for connection details, authentication requirements, and setup instructions:
HAPI MCP
Turn an OpenAPI-described API into an MCP server, or expose an Arazzo workflow as a higher-level MCP tool.
This is the public distribution repository for HAPI binaries, packages, and end-user release artifacts. HAPI is a La Rebelion Labs product, alongside mcp.com.ai, clawne.me, and rebelion.la.
HAPI v1 beta
HAPI v1 is a major upgrade from the production-ready HAPI MCP 0.x release line, which remains available in the legacy repository. Version 1 adds a plugin-based CLI and introduces HAPI Workflows: Arazzo workflows served as MCP tools.
Use v1 beta releases for evaluation and integration testing. Keep using the
0.x latest Docker tag for production workloads until v1 reaches stable
release. Pin a 1.0.0-beta.* version whenever repeatability matters.
Need | HAPI v1 capability |
Expose API operations as MCP tools | OpenAPI / HAPI MCP |
Expose a business outcome as one MCP tool | Arazzo / HAPI Workflows |
Use either document type from one entry command |
|
Related MCP server: mcp-server
How it works
OpenAPI document ──> HAPI ──> one MCP tool per API operation
Arazzo document ───> HAPI ──> one MCP tool per workflowId
└─ workflow steps call their documented APIsWith OpenAPI, an operation such as getPet becomes an MCP tool. HAPI can
proxy to an existing backend, so your API remains the source of truth for its
business logic, authentication, and data.
With HAPI Workflows, an Arazzo workflowId becomes an MCP tool. A workflow
can coordinate multiple documented OpenAPI operations—such as finding a
provider, checking availability, and booking an appointment—behind one
intentional tool call.
Choose an installation
Docker — recommended for trying HAPI v1
The workflows and arazzo tags point to the same HAPI v1 beta image.
docker pull hapimcp/hapi-cli:workflows
docker run --rm hapimcp/hapi-cli:workflows versionUse a pinned version instead of a moving tag in CI or shared environments:
docker pull hapimcp/hapi-cli:1.0.0-beta.0823Packages
Install the CLI and the document plugins you want to use:
bun add -g @mcp-com-ai/hapi @mcp-com-ai/plugin-openapi @mcp-com-ai/plugin-arazzo
# npm also works
npm install -g @mcp-com-ai/hapi @mcp-com-ai/plugin-openapi @mcp-com-ai/plugin-arazzoConfirm the installed capabilities:
hapi version
hapi plugins list
hapi doctorNative binaries
Install the HAPI MCP CLI in one line, try MCP for your APIs in 5 seconds
Linux / macOS
curl -fsSL https://get.mcp.com.ai/hapi.sh | bash -s -- --version v1Windows
irm https://get.mcp.com.ai/hapi.ps1 | iex -Version v1Manual installation
Download the binary for your operating system from
Releases, make it executable,
and place it on your PATH. Linux releases include portable baseline and musl
variants; prefer the baseline or musl-baseline variant when CPU compatibility
is more important than maximum optimization.
Verify the accompanying checksum before executing a downloaded binary:
sha256sum -c <artifact>.sha256Quick start: OpenAPI to MCP
Serve a local OpenAPI document and proxy MCP tool calls to its backend:
hapi openapi serve --specs ./openapi.yaml \
--url https://api.example.com \
--headless \
--port 3000The MCP endpoint is http://localhost:3000/mcp.
--specs accepts a local path, a file: or path: URL, an HTTP(S) URL, or a
document stored under $HAPI_HOME/specs. If --url is omitted, HAPI uses the
server URL declared in the OpenAPI document.
# Let HAPI detect an OpenAPI document automatically
hapi serve --specs https://api.example.com/openapi.yaml --port 3000Quick start: HAPI Workflows (Arazzo)
Validate first, then serve an Arazzo document:
hapi workflows validate --specs ./workflow.yaml
hapi workflows serve --specs ./workflow.yaml \
--port 3000 \
--host 0.0.0.0 \
--public-host http://localhost:3000hapi arazzo serve and hapi workflows serve are exact aliases. The general
hapi serve command also detects an Arazzo document automatically.
By default, each workflow step uses the server URL from the OpenAPI document
referenced by its Arazzo sourceDescription. This supports workflows that
coordinate multiple APIs. Use --url https://staging.example.com only when
every step should use the same replacement backend.
Run a workflow with Docker
docker run --name hapi-workflows --rm -d \
-p 3000:3000 \
-v "$PWD:/specs:ro" \
hapimcp/hapi-cli:workflows \
workflows serve --specs /specs/workflow.yaml \
--port 3000 \
--host 0.0.0.0 \
--public-host http://localhost:3000--host 0.0.0.0 is required for a server that must be reached through Docker
port publishing.
Useful commands
Command | Purpose |
| Detect and serve an OpenAPI or Arazzo document. |
| Explicitly serve an OpenAPI API as MCP tools. |
| Explicitly serve Arazzo workflows as MCP tools. |
| Alias for |
| Validate an Arazzo document before serving it. |
| List installed or bundled plugins. |
| Check the local HAPI configuration and plugin compatibility. |
Run hapi help or append --help to a command to see every option.
Documentation and support
License
HAPI MCP is distributed under the La Rebelion Labs Community License.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Host any HTTP API as MCP tools with a tamper-evident cross-agent settlement ledger.
MCP federation gateway: route, govern and observe agent tools across clouds and MCP servers.
Host any HTTP API as a standard MCP server; auto-distribute to 12+ mainstream agent platforms.
Governed MCP gateway: one endpoint for your tools, with credential custody and audit log.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA stateless gateway that turns any OpenAPI spec into MCP tools on the fly.1MIT
- FlicenseNot gradedqualityDmaintenanceA universal MCP server for registering internal, external, and OpenAPI-based APIs as MCP tools. It exposes them to MCP clients via Streamable HTTP and provides admin portal, RBAC/session auth, credential injection, and audit logging.-
- AlicenseNot gradedqualityBmaintenanceEnables connecting any number of OpenAPI, GraphQL, and MCP servers to MCP clients through a single local endpoint, with a web UI for management, unified tool exposure, and policy controls.1Apache 2.0
- FlicenseNot gradedqualityAmaintenanceEnables LLMs to dynamically search for, add, configure, enable/disable, and aggregate tools from multiple MCP servers at runtime, with persistent configuration and proxying.-