Connector guide2-minute read5 MCP toolsEnglish · Deutsch · Italiano

How to Connect Mintlify to Gemini — via MCP

Trigger Mintlify documentation updates, query analytics, and manage assistant queries via the Mintlify API. 5 tools, Bearer-token auth.

HCBy HelpCode teamUpdated 2 min read Open source on GitHub

No credit card · 7-day trial · Self-host alternative available

MCP connector

Mintlify

Trigger Mintlify documentation updates, query analytics, and manage assistant queries via the Mintlify API. 5 tools, Bearer-token auth.

Tools

5

Region

INTL

Category

publishing

Authentication

Bearer Token

Required env vars

MINTLIFY_API_KEY
Install in one click on Cloud

7-day free trial · No credit card

  • 7-day free trial
    No credit card required
  • GDPR & SOC 2 ready
    EU data residency, audit logs
  • Open-source on GitHub
    Source-available BSL-1.1
  • Works with ChatGPT, Claude, Gemini
    Any MCP-compatible client

No install? Use cloud.anythingmcp.com directly.

Sign in, install the Mintlify in one click, paste the credentials, mint an MCP API key — done. No Docker, no git clone, no local server to run.

Open Cloud

TL;DR

Trigger Mintlify documentation updates, query analytics, and manage assistant queries via the Mintlify API. 5 tools, Bearer-token auth.

💡 No install? Use cloud.anythingmcp.com directly. Sign in, click Connectors → Mintlify, paste your credentials, mint an MCP API key — done. No Docker, no git clone, no local server.

Mintlify + Gemini

Trigger Mintlify documentation updates, query analytics, and manage assistant queries via the Mintlify API. 5 tools, Bearer-token auth.

Prerequisites

See the full setup instructions baked into the connector (visible in the in-app store when you select the connector). The required environment variables for this connector are:

MINTLIFY_API_KEY

Step 1 — Get credentials

com/docs/api-reference).

Setup:

  1. Sign in to https://dashboard.mintlify.comSettings → API Keys → Create API key.
  2. Copy the key (starts with mint_). Set MINTLIFY_API_KEY.

Authentication: Authorization: Bearer ${MINTLIFY_API_KEY}.

Mintlify's API is scoped: most write operations (trigger update, manage content) are not exposed because Mintlify expects content to live in a git repo and update on push. The API focuses on:

  • Triggering re-deploys
  • Querying assistant (chat) interactions
  • Pulling analytics / search data

Out of scope here: page/content CRUD (manage via the git repo), team management, OAuth user actions.

Step 2 — Install the adapter

git clone https://github.com/HelpCode-ai/anythingmcp.git
cd anythingmcp && docker compose up -d

Step 3 — Add the connector in Gemini

Gemini CLI reads MCP servers from ~/.gemini/settings.json (or %APPDATA%\gemini\settings.json on Windows). Add:

{
  "mcpServers": {
    "anythingmcp": {
      "httpUrl": "https://cloud.anythingmcp.com/mcp",
      "headers": { "Authorization": "Bearer YOUR_MCP_API_KEY" }
    }
  }
}
  1. Get your MCP API key from AnythingMCP → Profile → MCP API Keys → New Key.
  2. Save the file and restart gemini.
  3. Run /mcp inside the Gemini CLI — Mintlify should be listed as available.
  4. Vertex AI Studio: pass https://cloud.anythingmcp.com/mcp to the tools array of your request with the same Bearer header.

Available tools

ToolWhat it does
mintlify_trigger_updateTrigger a re-deploy of the documentation site (forces Mintlify to pull from the connected git repo and re-build)
mintlify_get_project_infoGet project metadata: name, repo, deployment status, custom domain
mintlify_list_assistant_conversationsList user conversations with the Mintlify AI assistant on your docs site
mintlify_list_search_queriesList user search queries on the docs site (analytics)
mintlify_get_analyticsRetrieve site analytics aggregations (pageviews, unique visitors, top pages) for a date range

FAQ

Does Gemini 1.5 Pro or 2.x support MCP? Yes — Gemini CLI ≥ 0.4 and Vertex AI tools API both accept MCP httpUrl connectors with Bearer headers.

Next steps

Was this guide helpful?

Ready to ship

Your Mintlify agent is one click away.

Install the connector, paste the key, prompt Gemini. Free for 7 days, no credit card.

Related guides