Skip to content
Grok

HAPI MCP Server for Grok

ai.com.mcp/hapi-mcp

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

client:Grok transport:streamable-http runtime:oci

Install HAPI MCP Server in Grok

.mcp.json (in your project root)

{
  "mcpServers": {
    "hapi-mcp": {
      "type": "http",
      "url": "https://{HAPI_FQDN}:{HAPI_PORT}/mcp"
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

HAPI MCP Server in other clients