HAPI MCP server: Dynamically exposes OpenAPI REST APIs as MCP tools for AI assistants
Install
Run one of the commands below, then add the client config underneath.
docker run -i --rm docker.io/hapimcp/hapi-cli:0.6.0https://{HAPI_FQDN}:{HAPI_PORT}/mcpClient configuration
Paste into Claude Desktop, Cursor (mcp.json), VS Code or any MCP client, then restart the client.
{
"mcpServers": {
"hapi-mcp": {
"url": "https://{HAPI_FQDN}:{HAPI_PORT}/mcp"
}
}
}About this server
HAPI MCP Server is listed in the Other Tools category of the MCPNav directory. It is distributed as Docker, Streamable HTTP and can be loaded by any client that speaks the Model Context Protocol.
Typical uses include giving your assistant scoped access to the corresponding service so it can answer questions and take actions with real data instead of guessing. Always review what a server can access before you enable it — see our MCP security guide.
Frequently asked questions
What is the HAPI MCP Server MCP server?+
HAPI MCP Server is an MCP server by com. HAPI MCP server: Dynamically exposes OpenAPI REST APIs as MCP tools for AI assistants
How do I install HAPI MCP Server?+
Install it with: docker run -i --rm docker.io/hapimcp/hapi-cli:0.6.0. Then add the JSON config to your client's 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 API it calls (such as a search or maps API) may require its own key and billing.
Which clients support HAPI MCP Server?+
Any MCP-compatible client can use it, including Claude Desktop, Cursor, VS Code, Windsurf and custom agents.