mcp-debezium
mcp-debezium
一个 Model Context Protocol 服务器,用于 Debezium(通过 Kafka Connect REST API)。它让支持 MCP 的客户端(Claude Desktop、Claude Code 等)监控和管理变更数据捕获连接器——状态、配置、重启、生命周期——其行为完全由标志控制。
默认安全:它以只读模式启动,可将作用范围限定为连接器允许列表,保护关键连接器不被修改,对连接器配置中的凭据进行脱敏,并将删除操作置于显式选择启用之后。
功能
监控 — worker/集群信息、连接器列表、插件、各连接器配置、状态(含失败任务跟踪)以及主题。
管理 — 创建/更新、暂停/恢复、重启连接器或单个任务。
生命周期 — 删除连接器(admin)。
访问模式 —
read-only→read-write→admin,分层设计,因此某个模式绝不会暴露其级别以上的工具。凭据脱敏 —
database.password及其他形似机密的配置值会在结果返回前被替换为***REDACTED***。安全标志 — 连接器允许列表、受保护连接器、删除门控、dry-run 和 JSON 审计日志(见下文)。
Related MCP server: Kafka MCP Server
安全模型
关注点 | 标志 | 默认值 | 效果 |
服务器能做什么? |
|
|
|
哪些连接器在范围内? |
| (全部) | 设置后,对其他连接器的操作将被拒绝。 |
哪些连接器永久只读? |
| (无) | 可查看,但永远不会被暂停/重新配置/删除。 |
是否可删除? |
|
|
|
避免触碰 Connect 的预览 |
|
| 写入/管理员工具会先验证并记录意图,然后直接返回。 |
审计日志 |
|
| 每次受保护的操作都会向 stderr 输出一行 JSON。 |
凭据脱敏 | (始终开启) | — | 形似机密的配置值会在返回前被脱敏。 |
工具
读取(read-only+):cluster_info、list_connectors、list_connector_plugins、get_connector、get_connector_config、get_connector_status、get_connector_topics
写入(read-write+):create_connector、update_connector_config、pause_connector、resume_connector、restart_connector、restart_task
管理(admin):delete_connector(需要 DEBEZIUM_ALLOW_DELETE)
与你的 MCP 客户端配合使用
支持 Claude Code、Claude Desktop、Cursor、OpenAI Codex CLI、Windsurf、VS Code(Copilot)以及任何其他 MCP 客户端——详见 docs/CLIENTS.md 了解各客户端的设置。
安装
npm install
npm run build使用 Claude Desktop / Claude Code 运行
{
"mcpServers": {
"debezium": {
"command": "node",
"args": ["/absolute/path/to/mcp-debezium/dist/index.js"],
"env": {
"CONNECT_URL": "http://connect:8083",
"DEBEZIUM_MODE": "read-only",
"DEBEZIUM_PROTECTED_CONNECTORS": "pg-prod-orders"
}
}
}
}示例提示
“哪些连接器处于 FAILED 状态?为什么?”
“重启
pg-orders上失败的任务。”(需要read-write)“显示
mysql-inventory的配置。”(凭据返回时会被脱敏)
开发
npm run dev
npm test # security policy + config redaction
npm run typecheck发布
本服务器提供一份 server.json 用于官方 MCP 注册表,以及一个 mcpName 用于 npm 所有权验证。关于发布到 npm 以及上架 MCP 注册表、Smithery、Glama、Cursor 和 PulseMCP,请参阅 PUBLISHING.md。
许可证
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage and monitor Apache Kafka clusters through natural language, providing real-time operations, health monitoring, consumer lag analysis, and temporal trend detection for intelligent cluster management.
- AlicenseNot gradedqualityDmaintenanceEnables interaction with Kafka clusters via MCP, supporting topic management (list, create, delete, inspect), connection initialization, and more through natural language.1Apache 2.0
- FlicenseCqualityBmaintenanceExposes Kafka administration operations as MCP tools, enabling AI agents to inspect Kafka clusters using natural language.1
- FlicenseNot gradedqualityDmaintenanceEnables AI-powered MCP clients to interact with data lakehouse components including Kafka, Flink, and Trino/Iceberg for managing topics, jobs, catalogs, and executing queries.2
Related MCP Connectors
GibsonAI MCP server: manage your databases with natural language
Official Microsoft MCP Server to query Microsoft Entra data using natural language
Remote MCP for GenAI span mapping, provider normalization, dashboard schemas, and receipts.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/dockndevai/mcp-debezium'
If you have feedback or need assistance with the MCP directory API, please join our Discord server