HostMentor Docs

Use with AI assistants (MCP)

Install the HostMentor docs MCP server in Claude Code, Cursor, VS Code, Windsurf, Gemini CLI, Codex, Claude or ChatGPT, so your AI assistant can search and read these docs while it writes your integration.

The docs have an MCP server. Connect it to your AI coding assistant and it can search these docs and read any page or endpoint specification while it helps you build, instead of guessing.

https://docs.hostmentor.com/mcp

Free, public and read-only

No sign-in or API key is needed. The server only reads these public docs; it never sees your API keys, your messages or your code. Keep your hm_live_… keys out of chats with AI tools too.

What your assistant gets

  • search_docs: finds pages by keywords, such as "send a template" or "error 131047".
  • read_doc: reads a page in full. For an API reference page, it returns the endpoint with its full specification: parameters, request body and responses, plus the names of its examples. It can then fetch any one example.
  • list_docs: lists every page.

Install

Pick your assistant. Each one needs the server's URL and the name hostmentor-docs.

Claude Code

claude mcp add --transport http hostmentor-docs https://docs.hostmentor.com/mcp

That adds it to the current project. Add --scope user to use it in every project. Check it with claude mcp list, or type /mcp inside Claude Code.

Cursor

Add to Cursor installs it in one click.

Or add it by hand to .cursor/mcp.json in your project, or to ~/.cursor/mcp.json for every project:

{
  "mcpServers": {
    "hostmentor-docs": { "url": "https://docs.hostmentor.com/mcp" }
  }
}

It then shows up in Cursor's MCP settings with its three tools.

VS Code (GitHub Copilot)

Install in VS Code installs it in one click.

Or run MCP: Add Server from the Command Palette, choose HTTP and paste the URL. Or add it to .vscode/mcp.json in your project:

{
  "servers": {
    "hostmentor-docs": { "type": "http", "url": "https://docs.hostmentor.com/mcp" }
  }
}

Copilot uses MCP tools in Agent mode, so switch Copilot Chat to Agent.

Windsurf

Add it to ~/.codeium/windsurf/mcp_config.json, then refresh the MCP servers in Cascade:

{
  "mcpServers": {
    "hostmentor-docs": { "serverUrl": "https://docs.hostmentor.com/mcp" }
  }
}

Gemini CLI

Add it to ~/.gemini/settings.json:

{
  "mcpServers": {
    "hostmentor-docs": { "httpUrl": "https://docs.hostmentor.com/mcp" }
  }
}

OpenAI Codex

Add it to ~/.codex/config.toml:

[mcp_servers.hostmentor-docs]
url = "https://docs.hostmentor.com/mcp"

Claude (web and desktop apps)

In Settings → Connectors, add a custom connector named HostMentor docs with the URL above. Leave authentication empty. Then turn it on for your chat from the tools menu.

ChatGPT

Custom connectors need developer mode: turn it on in ChatGPT's settings, then create a connector with the URL above and no authentication.

Other tools

If your tool can only start local (stdio) servers, connect through mcp-remote. It needs Node.js 18 or later:

{
  "mcpServers": {
    "hostmentor-docs": { "command": "npx", "args": ["-y", "mcp-remote", "https://docs.hostmentor.com/mcp"] }
  }
}

Check that it works

Ask your assistant:

Use hostmentor-docs to find how to verify the webhook signature, then show me the code for Node.js.

It should call search_docs, then read_doc, and link to pages on docs.hostmentor.com in its answer.

Things to ask

  • Send an order confirmation template from my Node.js app with the HostMentor WhatsApp API.
  • What does error 131047 mean, and how do I handle it?
  • Write a Python webhook that verifies X-HostMentor-Signature and stores delivery statuses.
  • Upload an image and send it to a customer with a caption.

Troubleshooting

  • Opening the URL in a browser shows an error (405). That's expected: the URL is for MCP clients, not browsers.
  • Your tool asks you to sign in. Choose no authentication, or leave it empty. The server is public.
  • The tools don't appear. Restart or reload your editor after changing its settings file, and check the JSON is valid (no trailing commas).
  • Your network blocks it. Allow HTTPS to docs.hostmentor.com.

Prefer a single file? llms.txt lists every page for AI tools that read it.

On this page