Setting Up KLogic MCP for AI Assistant Integration
Use the Model Context Protocol (MCP) to connect AI assistants like Claude, VS Code Copilot, and Cursor directly to your Kafka clusters via KLogic.
What is MCP & How Does It Work?
MCP enables AI assistants to call structured tools that fetch real-time data from your systems
Model Context Protocol
MCP is an open protocol that allows AI assistants to call external tools with structured inputs and outputs. KLogic implements an MCP server that exposes Kafka operations as callable tools.
Available MCP Tools
The KLogic MCP server exposes a comprehensive set of Kafka operations that AI assistants can invoke during conversations.
Security & Permissions
MCP access uses your existing KLogic API key with configurable permission scopes. Read-only mode is recommended for AI assistants to prevent unintended mutations.
Claude Desktop Configuration
Connect KLogic to Claude Desktop in under 5 minutes
Setup Steps
Generate an API Key
In KLogic, navigate to Settings → API Access and create a new API key with read scope.
Open Claude Desktop Config
Edit ~/Library/Application Support/Claude/claude_desktop_config.json on macOS.
Add MCP Server Entry
Paste the KLogic MCP configuration (see right panel) into the mcpServers object.
Restart Claude Desktop
Fully quit and relaunch Claude Desktop. A hammer icon in the bottom-left confirms MCP tools are loaded.
claude_desktop_config.json
Replace your-instance.klogic.io with your KLogic instance URL and update the API key.
VS Code & Cursor Setup
Integrate KLogic MCP into your development environment
VS Code with GitHub Copilot
GitHub Copilot in VS Code supports MCP servers through the.vscode/mcp.json workspace file.
Using input variables keeps secrets out of source control. VS Code will prompt you for values on first use.
Cursor IDE
Cursor has built-in MCP support. Configure KLogic in the Cursor settings panel under Features → MCP Servers.
Open Cursor Settings (Cmd/Ctrl + Shift + J)
Navigate to Features → MCP Servers → Add New MCP Server
Set type to "stdio" and command to npx -y @klogic/mcp-server
Add environment variables KLOGIC_API_URL and KLOGIC_API_KEY
Save and verify the green dot appears next to the KLogic server in the MCP panel
Example AI Prompts
What you can ask your AI assistant once KLogic MCP is connected
Bring AI to Your Kafka Operations
KLogic MCP turns your AI assistant into a Kafka expert with real-time access to your cluster data, metrics, and operational history.
Free 14-day trial • Claude, Copilot & Cursor support • Secure API key auth