Use Confluent Documentation with AI Tools

Confluent documentation integrates with AI-powered workflows and IDEs. This enables agents to maintain persistent access to accurate, current documentation throughout their interaction.

This page describes the formats and tools Confluent provides for AI workflows, from copying Markdown to running a documentation Model Context Protocol (MCP) server.

Markdown source content

Confluent documentation pages are available in both HTML and Markdown formats. Language models and AI-powered tools parse Markdown more efficiently than HTML.

Use the Copy Markdown or Open as Markdown buttons to share a documentation page’s content with AI agents or provide it as context in development tools and IDEs for faster, more accurate responses.

MCP server for documentation

You can search Confluent documentation from your coding agent, with no Confluent account or API key required. The open source Confluent MCP server runs on your machine and works with any MCP-compatible client, such as Claude Code, Grok Build (formerly Cursor), and VS Code. By using the MCP server your coding agent can get answers from the latest Confluent documentation instead of from its training data. It gives your assistant two documentation tools:

  • search-product-docs searches docs.confluent.io, developer.confluent.io, and support.confluent.io.

  • get-product-doc-page retrieves the full Markdown content of a documentation page.

You can use the following steps to configure the Confluent documentation tools. This minimal setup does not require a configuration file or credentials.

Prerequisite: Node.js 22.23.4 or later, which provides the npx command.

Run this command:

claude mcp add confluent-docs -- npx -y @confluentinc/mcp-confluent --allow-tools search-product-docs,get-product-doc-page

Add this entry to ~/.cursor/mcp.json to use the server in every project, or to .cursor/mcp.json in a project’s root to use it in that project only:

{
  "mcpServers": {
    "confluent-docs": {
      "command": "npx",
      "args": [
        "-y",
        "@confluentinc/mcp-confluent",
        "--allow-tools",
        "search-product-docs,get-product-doc-page"
      ]
    }
  }
}

Add this entry to .vscode/mcp.json in your workspace root:

{
  "servers": {
    "confluent-docs": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@confluentinc/mcp-confluent",
        "--allow-tools",
        "search-product-docs,get-product-doc-page"
      ]
    }
  }
}

Configure your client to start the server with this command:

npx -y @confluentinc/mcp-confluent --allow-tools search-product-docs,get-product-doc-page

Most clients accept the same mcpServers entry shown in the Grok Build tab.

To verify, you can ask your coding agent a question about Confluent, such as “Search the Confluent docs for how to set up Tableflow with AWS Glue.” Your client shows that the assistant called search-product-docs to find the answer.

Use the server with your Confluent resources

The same server also has tools that work with your Confluent Cloud and Confluent Platform resources, such as topics, connectors, and Flink statements. For full setup, authentication, and configuration details, see Build with the Open-Source MCP Server for Confluent.

Compressed documentation index for coding agents

Confluent provides a compressed documentation index that you can add to your project rules file, for example CLAUDE.md or AGENTS.md. This index provides a persistent context to AI coding agents by mapping documentation topics to their source files. This can reduce hallucinations and ensure agents reference the live documentation rather than relying on training knowledge. Place the index file in your project root.

Download the Confluent documentation index

llms.txt and llms-full.txt standard files

llms.txt and llms-full.txt use a standard format that makes documentation discoverable to AI tools and language models (LLMs). These files list key documentation pages and resources in a format that LLMs can easily parse and reference.

Context7 integration

Unlike the Confluent MCP server, Context7 is a third-party MCP server that aggregates documentation from many sources.

Context7 is an MCP server that provides up-to-date documentation directly into your AI-powered Integrated Development Environment (IDE), such as VS Code and Grok Build. Confluent registers its documentation with Context7 and updates it regularly.