Works with Gemini
Gemini answers
from your docs
Each Gemini product connects to outside tools in its own way. This page shows how the Gemini app, Gemini CLI, Antigravity and the Gemini API read a Revdoku docs site.
- Publishes from GitHub on every push
- Works with Mintlify repositories
- API console from your OpenAPI file
- MCP server and llms.txt for AI agents
- Ask AI and support tickets
- Analytics for people and AI agents
Which Gemini product can read your docs
Google offers several products under the Gemini name. Most of them use MCP, a standard way for AI apps to use outside tools. Each public Revdoku docs site has its own MCP server at /mcp. It is read-only and needs no sign-in.
| Gemini product | How it reads your docs | Who can use it |
|---|---|---|
| Gemini app, web and mobile | A custom app with the MCP address of the docs site | Personal Google Accounts in the US, age 18 or over, in English, with Keep Activity on |
| Gemini CLI | An MCP server in settings.json | Organizations with a Gemini Code Assist Standard or Enterprise license, and users of paid Gemini API keys |
| Antigravity and Antigravity CLI | An MCP server, or the Revdoku skill | Everyone. On June 18, 2026, Google moved Google AI Pro and Ultra users and free Gemini Code Assist users to Antigravity CLI. |
| Gemini API | Your own code calls the search of the docs site or the Revdoku API | Developers who build their own app |
Google states these limits in its custom apps guide and in its Gemini CLI transition notice.
Add a docs site to the Gemini app
You can add a custom app only on gemini.google.com. After that, it also works in the Gemini mobile app. A public docs site needs no Revdoku account.
- On your computer, go to gemini.google.com.
- At the bottom, click Settings, then Connected Apps.
- Under Custom apps, click Add a custom app.
- In the MCP server URL field, type the site address with
/mcpat the end, for examplehttps://docs.example.com/mcp. - Do not open Advanced features. The docs server needs no sign-in, so you have no credentials to type.
- Click Next and follow the instructions on the screen.
- In a new chat, type
@and select the docs app. Then type your question.
To connect your Revdoku account too, add one more custom app with the URL https://mcp.revdoku.com. Do not open Advanced features for it either, because Revdoku supports automatic client registration. Sign in to Revdoku in the window that opens, then select the buckets and an access level. A bucket holds the files of one docs site, the site and its support tickets. Choose Read & write if Gemini must reply to support tickets, or Full access if it must publish the site. If you have no account, sign up first.
With a work or school account, outside the US, or with Keep Activity off, you cannot add a custom app. Use Gemini CLI or Antigravity instead. Or open the Markdown copy of a docs page and paste its text into a chat. Each page links its Markdown copy in the For AI agents footer.
What Gemini can do with your docs
With the docs app, Gemini answers questions about your product from the published pages. It can write code from the API reference and name the pages that it used. With your account app, Gemini can list new support tickets and say which docs page answers each question.
In the Gemini app, a custom app works next to the Google apps that Gemini already uses, such as Gmail and Google Calendar. For example, Gemini can find a release date in your docs and add it to Google Calendar. Google asks you to approve each write action in a custom app, such as a reply. Example request after you select the docs app with @:
Which Acme API endpoint creates a refund? Write a curl call with its required parameters and name the docs page.
Gemini can share information from your chat and from other connected apps with a custom app. To stop this, turn off the app under Settings → Connected Apps. To unlink it from your Google Account, click More details → Disconnect. To delete it, click More details → Remove app.
Connect Gemini CLI or Antigravity
Gemini CLI keeps MCP servers in settings.json. The gemini mcp add command writes the entry for you. Gemini CLI starts a sign-in only when a server asks for one.
- To add a docs site for all your projects, run this command. The docs server needs no sign-in, so it needs no more steps.
gemini mcp add --scope user --transport http acme-docs https://docs.example.com/mcp - To add your Revdoku account, run:
gemini mcp add --scope user --transport http revdoku https://mcp.revdoku.com - Start
gemini. Run/mcp auth revdoku. - Sign in to Revdoku in the browser window that opens. Select the buckets for this terminal agent.
- To let Gemini read support tickets and the site status, but not reply or publish, use this entry in
~/.gemini/settings.json:{ "mcpServers": { "revdoku": { "httpUrl": "https://mcp.revdoku.com", "includeTools": [ "bucket_list", "bucket_publication_get", "bucket_ticket_list", "bucket_ticket_get" ] } } }
Gemini CLI asks before each MCP tool call. Do not set "trust": true for Revdoku. That setting removes every confirmation, also the one before a reply or a publish. The Revdoku sign-in needs a browser on the same computer. It does not work on a headless server, in a container without a browser, or over SSH without X11 forwarding. The docs server needs no sign-in, so it also works in those places. To remove a server, run gemini mcp remove --scope user revdoku.
If Google moved you to Antigravity, follow the Antigravity steps. For Antigravity CLI, install the Revdoku skill (a folder of instructions and a CLI for the agent):
npx skills add revdoku/revdoku --skill revdoku -g --agent antigravity-cli
Apps you build on the Gemini API
If your own code calls the Gemini API, give Gemini your docs with function calling. Declare a function such as search_docs to Gemini. When Gemini asks for it, your code calls the search of the docs site and returns the result:
GET https://docs.example.com/_revdoku/search?q=refunds
The answer is JSON with the matching pages, the matching sections and a snippet of each. The site limits the number of search requests from one network in a minute.
For support tickets, your backend talks to Revdoku with an API key. Revdoku has a REST API and SDKs for TypeScript (npm install revdoku) and Python (pip install revdoku). To act on a new support ticket at once, set a webhook (an HTTPS call to your server) on the bucket. After Revdoku stores a new message of a ticket, it posts a ticket.created or ticket.message_received event to that URL.
Gemini custom apps ·
Gemini CLI MCP servers · Docs for AI agents · Revdoku API