mcp-confluent: Instructions file for Claude Code

CLAUDE.md

mcp-confluent CLAUDE.md is an instructions file for Claude Code from confluentinc/mcp-confluent. It costs 3,414 tokens per session, scanned A, original, MIT.

A project guide for Claude Code covering a Confluent Cloud MCP server. Confluent Cloud provides managed services such as Kafka, Flink, and Schema Registry.

In plain words
What is it for?
It helps with building, developing, linting, formatting, and running unit or integration tests.
Why use it?
It gives the coding agent the repository context, development commands, and startup details needed to work safely in the project.

Instructions file for Claude Code ✓ vendor

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions Claude Code.

This is confluentinc/mcp-confluent's own configuration. It tells Claude Code how to work on mcp-confluent itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything mcp-confluent configures →

About the project

Confluent MCP Server is an open-source Model Context Protocol server that lets AI assistants interact with Confluent Cloud, Confluent Platform, and standalone Apache Kafka through natural language. Its tools cover Kafka, Flink SQL, Schema Registry, connectors, and Tableflow. The catalogue add-ons help agents operate and configure the server.

confluentinc/mcp-confluent · 168 stars · on GitHub

Reuse

Borrowing it

Nothing to install: this file belongs to confluentinc/mcp-confluent. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/confluentinc/mcp-confluent/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/confluentinc/mcp-confluent

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mcp-confluent CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/confluentinc/mcp-confluent/claude-md/github.svg)](https://agentmods.dev/instructions/confluentinc/mcp-confluent/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/confluentinc/mcp-confluent/claude-md"><img src="https://agentmods.dev/badge/instructions/confluentinc/mcp-confluent/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mcp-confluent CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/confluentinc/mcp-confluent/claude-md"><img src="https://agentmods.dev/badge/instructions/confluentinc/mcp-confluent/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,414 This file is loaded in full into every session.
When invoked 3,414 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.03414 $0.03414
Opus 5.5 $0.01366 $0.01366
Sonnet 5.5 $0.00683 $0.00683
Haiku 4.5 $0.00341 $0.00341

Measured yesterday against content hash 8494f8eac09e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mcp-confluent CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

CLAUDE.md · 124 lines

How it starts

The opening of the file, as written. The whole thing — 124 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Project Overview

MCP (Model Context Protocol) server that exposes Confluent Cloud resources (Kafka, Flink, Schema Registry, Connectors, Tableflow, Billing) as tools for AI assistants. Built with TypeScript, Node.js ≥22.23.4, and the @modelcontextprotocol/sdk.

Build & Development Commands

pnpm run build          # tsc && tsc-alias (compile + resolve path aliases)
pnpm run dev            # watch mode: tsc + tsc-alias in parallel
pnpm run lint           # eslint
pnpm run lint:fix       # eslint --fix
pnpm run format         # prettier --write
pnpm run test                       # unit + integration (live CCloud, builds first)
pnpm run test:unit                  # unit tests only (fast, no build)
pnpm run test:unit:watch            # unit tests in watch mode
pnpm run test:unit:coverage         # unit tests with coverage
pnpm run test:integration           # integration tests only (live CCloud, builds first)
pnpm run test:integration:coverage  # integration tests with coverage
pnpm run test:coverage              # unit + integration with coverage
pnpm run typecheck                  # tsc --noEmit (type-check only, includes test suite)
pnpm run start          # node dist/index.js --env-file .env (stdio transport)
pnpm run start:http     # HTTP transport
pnpm run start:all      # all transports (http, sse, stdio)
pnpm run inspector      # launch MCP inspector for manual testing
pnpm run print:schema   # print tool schemas as markdown

Pre-commit hook runs pnpm exec prettier and pnpm exec eslint automatically via Husky on staged files only. Pre-push hook runs pnpm run lint and pnpm run typecheck in parallel.

Architecture

Entry Point & Startup Flow

src/index.ts is a thin preflight shim: it gates on the Node.js runtime version (via src/preflight.ts) and, only once that passes, dynamically imports src/server-main.ts — so an unsupported old Node fails with a clear version message instead of a cryptic parse error on our modern imports (issue #455). src/server-main.ts is the real entry: parseCliArgs() → initEnv() → branch on cliOptions.config: when -c <path> is supplied, loadConfigFromYaml(path, process.env) parses + interpolates + validates the YAML; otherwise buildConfigFromEnvAndCli(env, ...) synthesizes the same MCPServerConfiguration shape from env vars + CLI args. Both branches converge into ServerRuntime.fromConfig(), which constructs a DirectClientManager per connection → iterates ToolName enum to build enabled tool set → registers tools on McpServer → starts transports.

Read the full file on GitHub · 124 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday Changed 8494f8eac09e
  2. 1mo ago First seen · 124 lines · 3,414 tokens per session scan A 131a1bdc5627

Subscribe to this mod's changes

mcp-confluent CLAUDE.md is an instructions file published in the GitHub repository confluentinc/mcp-confluent (168 stars, last pushed yesterday), licensed MIT. It adds 3,414 tokens to every session, about $0.0137 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories