Skip to main content
Glama
aywengo

MCP Kafka Schema Reg

bulk_configuration_update

Update security policies, retention settings, and access controls across multiple schemas or contexts using a single tool, with optional dry-run functionality for testing.

Instructions

Update configuration settings across multiple schemas or contexts.

Supports security policies, retention settings, and access controls.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
config_typeNosecurity
dry_runNo
patternNo
settingsNo
target_typeNoschemas

Implementation Reference

  • Handler logic for the 'bulk_configuration_update' tool. Dispatches to the BulkOperationsWizard's start_wizard method with BulkOperationType.CONFIGURATION.
    elif tool_name == "bulk_configuration_update":
        # Direct configuration update
        return await wizard.start_wizard(BulkOperationType.CONFIGURATION)
  • Input schema definition for the 'bulk_configuration_update' tool, including parameters like config_type, target_type, pattern, settings, and dry_run.
    Tool(
        name="bulk_configuration_update",
        description=(
            "Update configuration settings across multiple schemas or contexts. "
            "Supports security policies, retention settings, and access controls."
        ),
        inputSchema={
            "type": "object",
            "properties": {
                "config_type": {
                    "type": "string",
                    "enum": ["security", "retention", "mode", "compliance"],
                    "description": "Type of configuration to update",
                },
                "target_type": {
                    "type": "string",
                    "enum": ["schemas", "contexts", "global"],
                    "description": "What to apply configuration to",
                },
                "pattern": {"type": "string", "description": "Pattern to match targets (for schemas/contexts)"},
                "settings": {"type": "object", "description": "Configuration settings to apply"},
                "dry_run": {"type": "boolean", "default": True, "description": "Preview changes without applying"},
            },
            "required": ["config_type", "target_type"],
        },
    )
  • Registration of the 'bulk_configuration_update' tool in the create_bulk_operations_tools function by appending a Tool instance to the tools list.
    tools.append(
        Tool(
            name="bulk_configuration_update",
            description=(
                "Update configuration settings across multiple schemas or contexts. "
                "Supports security policies, retention settings, and access controls."
            ),
            inputSchema={
                "type": "object",
                "properties": {
                    "config_type": {
                        "type": "string",
                        "enum": ["security", "retention", "mode", "compliance"],
                        "description": "Type of configuration to update",
                    },
                    "target_type": {
                        "type": "string",
                        "enum": ["schemas", "contexts", "global"],
                        "description": "What to apply configuration to",
                    },
                    "pattern": {"type": "string", "description": "Pattern to match targets (for schemas/contexts)"},
                    "settings": {"type": "object", "description": "Configuration settings to apply"},
                    "dry_run": {"type": "boolean", "default": True, "description": "Preview changes without applying"},
                },
                "required": ["config_type", "target_type"],
            },
        )
    )
Install Server

Other Tools

Related Tools

Latest Blog Posts

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/aywengo/kafka-schema-reg-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server