Skip to content
Scalekit Docs
Talk to an Engineer Dashboard

Connect AI agents to the Mintlify MCP server

Vendor MCP
Open markdown

The Mintlify MCP connector routes your AI agent's tool calls to Mintlify's own MCP server through Scalekit. Each user signs in to Mintlify once, and Scalekit stores and refreshes their tokens, so your agent never handles credentials. It comes with 19 tools.

Tools
19
What they doRead · write · destructive
8 · 7 · 48 read7 write4 destructive
Users sign in with
OAuth app
Scalekit's or your own

Setup

  1. Install the SDK

    Terminal window
    npm install @scalekit-sdk/node dotenv
  2. Set your credentials

    Add your Scalekit credentials to your .env file. Find values in app.scalekit.com > Developers > API Credentials.

    .env
    SCALEKIT_ENVIRONMENT_URL=<your-environment-url>
    SCALEKIT_CLIENT_ID=<your-client-id>
    SCALEKIT_CLIENT_SECRET=<your-client-secret>
  3. Create the Mintlify MCP connection

    In AgentKit > Connections, create a Mintlify MCP connection. The name you give it is the connection_name your code passes. See Configure connections.

    Scalekit credentials are available for Mintlify MCP server, so you don't need to register an OAuth app.

  4. Authorize a user and make your first call

    quickstart.mts
    import { ScalekitClient } from '@scalekit-sdk/node'
    import 'dotenv/config'
    import { createInterface } from 'node:readline/promises'
    const scalekit = new ScalekitClient(
    process.env.SCALEKIT_ENVIRONMENT_URL,
    process.env.SCALEKIT_CLIENT_ID,
    process.env.SCALEKIT_CLIENT_SECRET,
    )
    const actions = scalekit.actions
    const connector = 'mintlifymcp'
    const identifier = 'user_123'
    // Generate an authorization link for the user
    const { link } = await actions.getAuthorizationLink({ connectionName: connector, identifier })
    console.log('Authorize Mintlify MCP:', link)
    const rl = createInterface({ input: process.stdin, output: process.stdout })
    await rl.question('Press Enter after authorizing...')
    rl.close()
    // Make your first call
    const result = await actions.executeTool({
    connector,
    identifier,
    toolName: 'mintlifymcp_diff',
    toolInput: {},
    })
    console.log(result)
    Terminal window
    npx tsx quickstart.mts

    Each user signs in once. See Authorize a user for the full flow and statuses.

Tools

Pass the exact name to execute_tool
Try in PlaygroundRequest a tool
  • mintlifymcp_diffReturn the list of changes between the current session branch and the main branch.Read-only

    Diff

    Return the list of changes between the current session branch and the main branch.

    Inputs

    This tool takes no inputs.

  • mintlifymcp_get_session_stateReturn the current session state including the active branch name, edited files, and navigation diff.Read-only

    Get Session State

    Return the current session state including the active branch name, edited files, and navigation diff.

    Inputs

    This tool takes no inputs.

  • mintlifymcp_list_branchesList all git branches available for the current deployment, optionally filtered by a query string.Read-only

    List Branches

    List all git branches available for the current deployment, optionally filtered by a query string.

    Inputs

    querystring
    No description.
  • mintlifymcp_list_deploymentsList the deployments this connection is authorized for, returning each subdomain and name.Read-only

    List Deployments

    List the deployments this connection is authorized for, returning each subdomain and name. Use this to discover which subdomain to checkout before editing.

    Inputs

    This tool takes no inputs.

  • mintlifymcp_list_nodesList navigation nodes from the current branch tree with optional filters for parent, type, language, version, tab, anchor, or product.Read-only

    List Nodes

    List navigation nodes from the current branch tree with optional filters for parent, type, language, version, tab, anchor, or product.

    Inputs

    anchorstring
    No description.
    cursorstring
    No description.
    dropdownstring
    No description.
    itemstring
    No description.
    languagestring
    No description.
    limitinteger
    No description.
    parentIdstring
    No description.
    productstring
    No description.
    recursiveboolean
    No description.
    tabstring
    No description.
    typestring
    No description.
    versionstring
    No description.
  • mintlifymcp_readRead the full MDX content of a single page on the current branch by path, reflecting any in-session edits.Read-only

    Read

    Read the full MDX content of a single page on the current branch by path, reflecting any in-session edits.

    Inputs

    pathstringrequired
    No description.
  • mintlifymcp_search_code_operationsLexical (BM25) search over the Admin MCP code-mode SDK to find the right SDK method for a task before writing an execute_code script.Read-only

    Search Code Operations

    Lexical (BM25) search over the Admin MCP code-mode SDK to find the right SDK method for a task before writing an execute_code script.

    Inputs

    querystringrequired
    No description.
    limitinteger
    No description.
    namespacestring
    No description.one of workflowsdeploymentmembersbillingintegrationsanalytics