Codex, Gemini CLI and other apps

Any app that can add a remote MCP server over HTTP works with HTMLAnnotate. Here are the exact steps for Codex and Gemini CLI, and the settings for everything else.

Codex#

Terminal
codex mcp add htmlannotate --url https://mcp.htmlannotate.com

Or add these two lines to ~/.codex/config.toml:

~/.codex/config.toml
[mcp_servers.htmlannotate]
url = "https://mcp.htmlannotate.com"

To sign in, use https://mcp.htmlannotate.com/account in place of the address, then run codex mcp login htmlannotate, sign in and press Allow.

Gemini CLI#

Terminal
gemini mcp add --transport http --scope user htmlannotate https://mcp.htmlannotate.com

Or add it to ~/.gemini/settings.json:

~/.gemini/settings.json
{
  "mcpServers": {
    "htmlannotate": { "httpUrl": "https://mcp.htmlannotate.com" }
  }
}

Start Gemini CLI and run /mcp to see HTMLAnnotate listed. To sign in, use the /account address and run /mcp auth htmlannotate.

Any other MCP app#

SettingValue
TransportStreamable HTTP
Address, no accounthttps://mcp.htmlannotate.com
Address, signed inhttps://mcp.htmlannotate.com/account
AuthenticationNone for the first. OAuth 2.1 for the second: the app finds the sign-in on its own from the server's first reply.
Any MCP client
{
  "mcpServers": {
    "htmlannotate": { "type": "http", "url": "https://mcp.htmlannotate.com" }
  }
}

The signed-in address only accepts Claude, ChatGPT, Cursor, VS Code and apps on your own computer. Other apps can use the no-account address.

For developers#

Check it works#

Try askingShare a simple test page on HTMLAnnotate.

Written by the HTMLAnnotate team · Updated 23 November 2026 · View as Markdown · Something unclear? Tell us