HAPI MCP server: Dynamically exposes OpenAPI REST APIs as MCP tools for AI assistants
https://{HAPI_FQDN}:{HAPI_PORT}/mcp{
"HAPI_FQDN": "localhost",
"HAPI_HOME": "/app/.hapi",
"PROJECT_NAME": "YOUR_VALUE_HERE",
"HAPI_OPENAPI": "YOUR_VALUE_HERE",
"HAPI_URL": "YOUR_VALUE_HERE",
"HAPI_PORT": "3030",
"HAPI_HEADLESS": "true",
"HAPI_MCP": "true",
"HAPI_DEV": "YOUR_VALUE_HERE",
"HAPI_CORS": "YOUR_VALUE_HERE",
"HAPI_CONFIG_FILES": "YOUR_VALUE_HERE",
"NODE_ENV": "production"
}Variables: HAPI_FQDN, HAPI_PORT
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
{
"mcpServers": {
"ai-com-mcp-hapi-mcp": {
"url": "https://{HAPI_FQDN}:{HAPI_PORT}/mcp"
}
}
}~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonNo remote HTTP endpoint is advertised. Use the package or stdio setup shown in Install.
HAPI MCP Server is an MCP server for HAPI MCP server: Dynamically exposes OpenAPI REST APIs as MCP tools for AI assistants. It supports HTTP transport.
Use the generated config in Install. It points your client at the advertised remote endpoint shown on this page.
Choose the Claude Desktop tab in Install, copy the config, and add it to Claude Desktop's MCP server settings. Endpoint: https://{HAPI_FQDN}:{HAPI_PORT}/mcp.
Choose the Claude Code tab in Install, copy the config, and add it to Claude Code's MCP server settings. Endpoint: https://{HAPI_FQDN}:{HAPI_PORT}/mcp.
Choose the Codex tab in Install, copy the config, and add it to Codex's MCP server settings. Endpoint: https://{HAPI_FQDN}:{HAPI_PORT}/mcp.
Choose the Cursor or VS Code tab in Install, copy the config, and add it to Cursor or VS Code's MCP server settings. Endpoint: https://{HAPI_FQDN}:{HAPI_PORT}/mcp.
HAPI MCP Server uses HTTP transport. Endpoint: https://{HAPI_FQDN}:{HAPI_PORT}/mcp.
HAPI MCP Server inventory is listed when the MCP endpoint exposes tools, resources, or prompts. Some servers require auth first.
HAPI MCP Server is marked with Auth required by registry metadata auth. You may need provider login, an API key, a bearer token, or a session header.
| Package | Registry | Version | Inputs |
|---|---|---|---|
docker.io/hapimcp/hapi-cli:0.6.0streamable-http | oci | Not captured | Argument: serve Argument: projectName Argument: --port Argument: --headless Argument: --mcp Argument: --dev Argument: --url Argument: --openapi Argument: --cors Argument: --filename Argument: --cert Argument: --key Env: HAPI_FQDN Env: HAPI_HOME Env: PROJECT_NAME Env: HAPI_OPENAPI Env: HAPI_URL Env: HAPI_PORT Env: HAPI_HEADLESS Env: HAPI_MCP Env: HAPI_DEV Env: HAPI_CORS Env: HAPI_CONFIG_FILES Env: NODE_ENV |