---
title: Connect Codex, Gemini CLI and other MCP apps · Docs
url: https://htmlannotate.com/docs/mcp/other-apps
description: Set up the HTMLAnnotate MCP server in Codex, Gemini CLI or any app that supports remote MCP servers over Streamable HTTP.
---

# 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#

TerminalCopy

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

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

~/.codex/config.tomlCopy

```
[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#

TerminalCopy

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

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

~/.gemini/settings.jsonCopy

```
{
"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#

| Setting | Value |
|---|---|
| Transport | Streamable HTTP |
| Address, no account | `https://mcp.htmlannotate.com` |
| Address, signed in | `https://mcp.htmlannotate.com/account` |
| Authentication | None 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 clientCopy

```
{
"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#

- Discovery file: [/.well-known/mcp.json](https://htmlannotate.com/.well-known/mcp.json)  and a server card at `/.well-known/mcp/server-card.json`.
- The server also offers one prompt, [fix_open_comments](https://htmlannotate.com/docs/mcp/fix-open-comments), through `prompts/list`.
- How sign-in works for agents: [auth.md](https://htmlannotate.com/auth.md).

## Check it works#

Try askingShare a simple test page on HTMLAnnotate.

Written by the HTMLAnnotate team · Updated 23 November 2026 · [View as Markdown](https://htmlannotate.com/docs/mcp/other-apps.md)  · Something unclear? [Tell us](https://htmlannotate.com/help#contact)
