HAPI MCP server: Dynamically exposes OpenAPI REST APIs as MCP tools for AI assistants
To add HAPI MCP Server to Claude, run the install command below. Restart Claude Code after adding it and its tools show up in your next conversation. It declares 12 environment variables, listed below.
Install
docker run -i --rm docker.io/hapimcp/hapi-cli:0.6.0Environment variables
HAPI_FQDNSet in your MCP configHAPI_HOMESet in your MCP configPROJECT_NAMESet in your MCP configHAPI_OPENAPISet in your MCP configHAPI_URLSet in your MCP configHAPI_PORTSet in your MCP configHAPI_HEADLESSSet in your MCP configHAPI_MCPSet in your MCP configHAPI_DEVSet in your MCP configHAPI_CORSSet in your MCP configHAPI_CONFIG_FILESSet in your MCP configNODE_ENVSet in your MCP configSet only if the maker requires them; this listing does not flag any of them as required.
What this does
HAPI MCP Server exposes a set of tools to Claude over the Model Context Protocol. After you add it to claude_desktop_config.json (snippet above) and restart Claude Desktop, those tools become callable inside any conversation.
Requirements
This server declares the following environment variables. Set only the ones the maker requires for your setup; this listing does not flag any of them as required:
HAPI_FQDN HAPI_HOME PROJECT_NAME HAPI_OPENAPI HAPI_URL HAPI_PORT HAPI_HEADLESS HAPI_MCP HAPI_DEV HAPI_CORS HAPI_CONFIG_FILES NODE_ENV
Set these via the env object in your MCP config (see claude_desktop_config.json snippet above).
Frequently asked questions
How do I install HAPI MCP Server?
The install section on this page carries the maker's install command for HAPI MCP Server, as submitted. Restart your client afterwards and the tools appear in your next conversation.
Which clients work with HAPI MCP Server?
This page carries setup and config for Claude Code. Any other MCP client that accepts a standard server config can connect to HAPI MCP Server as well.
Does HAPI MCP Server need an API key?
This listing does not flag an API key as required. The server can use these environment variables: HAPI_FQDN, HAPI_HOME, PROJECT_NAME, HAPI_OPENAPI, HAPI_URL, HAPI_PORT, HAPI_HEADLESS, HAPI_MCP, HAPI_DEV, HAPI_CORS, HAPI_CONFIG_FILES, NODE_ENV; the maker's docs say which of them your setup needs. They go in the env block of your MCP config.
Imported from the Official MCP Registry. The details above come from the registry entry; the maker can claim this listing to correct them, add docs, and see its traffic.
Is this your MCP server?
Claim this listing to see its traffic, fix details yourself, and skip the review queue on future updates.
Add this badge to your README
Show visitors this server is listed in the ClaudeRules directory. The badge links straight to this listing.
[](https://clauderules.net/mcp/ai-com-mcp-hapi-mcp)<a href="https://clauderules.net/mcp/ai-com-mcp-hapi-mcp" target="_blank" rel="noopener noreferrer"><img src="https://clauderules.net/api/badge/ai-com-mcp-hapi-mcp" alt="Listed on clauderules.net" /></a>More AI MCP servers
GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Serena MCP: the IDE for your agent
A powerful toolkit for coding, providing semantic retrieval and editing capabilities.
MCP Toolbox for Databases
MCP Toolbox for Databases enables your agent to connect to your database.
Inbox Zero
Search Gmail and Outlook, save drafts, manage email rules, and view email stats.
