Skip to main content
Connect your coding agent to Mintlify Index so it can retrieve current technical documentation and web context while it plans and writes code. Index supports Claude Code, Cursor, VS Code, Codex, OpenCode, Windsurf, and Zed.
You do not need a Mintlify account or API key to connect to the public Index MCP server.

Set up with the CLI

Run the Index setup command to configure one or more coding agents in a single step:
The command detects which supported coding agents you have installed and prompts you to choose which ones to configure. For each agent you select, it adds the Index MCP server to that agent’s configuration and installs a rule telling the agent when to use the context tool. To skip the picker, pass one or more agent flags instead:
Add --yes to configure every detected agent without prompting, or --project to write the configuration to the current project instead of your global agent settings. Not every agent supports project-level configuration. Those agents always receive the global configuration.
Run the command again to update an existing setup or add another agent.

Set up manually

To configure Claude Code or Cursor manually, or to verify what the CLI changed, follow the steps for your agent.
1

Add the server

Run the following command:
2

Verify the connection

List your configured MCP servers:
The output should include mintlify-index with a connected status.

Use Index in a session

Ask an implementation question and tell your agent to use Index when you want to ensure it retrieves current sources. For example:
The agent calls the Index context tool when it needs technical context and includes the returned source links in its work.

Remove the connection

Run the following command:
For VS Code, Codex, OpenCode, Windsurf, or Zed, remove the mintlify-index entry from that agent’s MCP server configuration. See the Index MCP reference for tool inputs and rate limits.