Kubiya MCP Tools Reference
Complete documentation for all 21+ MCP tools exposed by the Kubiya MCP server. Each tool provides specific capabilities for automation, infrastructure management, and AI-powered workflows.🔧 Core Execution Tools
execute_tool
Execute any tool with live streaming output and comprehensive parameter support. Parameters:tool_name
(string, required): Name of the tool to executeargs
(object, optional): Tool-specific argumentsrunner
(string, optional): Runner to use (auto
,default
, or specific runner name)env
(object, optional): Environment variables as key-value pairswith_file
(array, optional): File mappings in[{source, destination}]
formatwith_volume
(array, optional): Volume mappings for containersskip_policy_check
(boolean, optional): Skip policy validation (default: false)
- Execute Kubernetes commands with kubectl
- Run data analysis scripts with Python/pandas
- Deploy infrastructure with terraform/ansible
- Process files with custom Docker containers
create_on_demand_tool
Create and execute tools from definitions on-the-fly. Parameters:name
(string, required): Tool namedescription
(string, optional): Tool descriptiontype
(string, required): Tool type (docker
,python
,bash
, etc.)image
(string, optional): Docker image for containerized toolscontent
(string, required): Tool script/contentargs
(object, optional): Tool argumentsrunner
(string, optional): Runner selectionenv
(object, optional): Environment variablesintegrations
(array, optional): Integration templates to apply
- Create custom monitoring tools
- Build one-time data analysis scripts
- Prototype new automation workflows
- Execute ad-hoc system administration tasks
execute_workflow
Execute complete workflows from YAML or JSON definitions. Parameters:workflow_definition
(object, required): Complete workflow definitionvariables
(object, optional): Workflow variables as key-value pairsrunner
(string, optional): Runner for workflow executionskip_policy_check
(boolean, optional): Skip policy validation
- Multi-step deployment pipelines
- Data processing workflows
- Infrastructure provisioning sequences
- Automated testing and validation
execute_whitelisted_tool
Execute pre-approved tools from configuration with enhanced security. Parameters:tool_name
(string, required): Name of whitelisted toolargs
(object, optional): Tool argumentsrunner
(string, optional): Runner selection
🏃 Platform Management Tools
list_runners
List all available execution runners with health and status information. Parameters:health_filter
(string, optional): Filter by health status (healthy
,unhealthy
,unknown
)include_load
(boolean, optional): Include current load metrics (default: true)
check_runner_health
Get detailed health information for specific runners. Parameters:runner_name
(string, optional): Specific runner name (if omitted, checks all)include_metrics
(boolean, optional): Include detailed metrics (default: false)
find_available_runner
Auto-select the best available runner based on health, load, and requirements. Parameters:requirements
(object, optional): Resource requirementspreferred_type
(string, optional): Preferred runner type (cloud
,self-hosted
)region_preference
(string, optional): Geographic preference
list_agents
List all available AI agents with their capabilities. Parameters:filter
(string, optional): Filter agents by capability or typeinclude_status
(boolean, optional): Include agent status (default: true)
chat_with_agent
Initiate conversational interaction with AI agents. Parameters:agent_name
(string, required): Name of the agent to chat withmessage
(string, required): Message to send to the agentconversation_id
(string, optional): Continue existing conversationcontext
(object, optional): Additional context for the conversation
🛠️ Tool & Source Management
list_sources
List all available tool sources and repositories. Parameters:source_type
(string, optional): Filter by source type (git
,registry
,local
)include_tools
(boolean, optional): Include tool count per source (default: true)
execute_tool_from_source
Execute tools directly from specific sources without adding them permanently. Parameters:source_uuid
(string, required): UUID of the sourcetool_name
(string, required): Name of the tool in the sourceargs
(object, optional): Tool argumentsrunner
(string, optional): Runner selection
discover_source
Explore and preview tools in a source before execution. Parameters:source_url
(string, required): URL or identifier of the sourcepreview_limit
(number, optional): Maximum tools to preview (default: 50)
list_integrations
List available integration templates for connecting to external services. Parameters:integration_type
(string, optional): Filter by type (aws
,k8s
,database
, etc.)include_credentials
(boolean, optional): Include credential requirements (default: true)
📚 Knowledge & Security Tools
search_kb
Search the organizational knowledge base with intelligent queries. Parameters:query
(string, required): Search query or questionlimit
(number, optional): Maximum results to return (default: 10)source_filter
(array, optional): Filter by specific knowledge sources
list_kb
Browse and list knowledge base entries by category or source. Parameters:category
(string, optional): Filter by categorysource
(string, optional): Filter by knowledge sourcelimit
(number, optional): Maximum entries to return (default: 50)
list_secrets
List available secrets and credentials with proper access control. Parameters:secret_type
(string, optional): Filter by secret type (api-key
,certificate
,password
)environment
(string, optional): Filter by environment (dev
,staging
,prod
)
🚀 Advanced Platform Tools
create_runner (Requires —allow-platform-apis)
Create new execution runners for the platform. Parameters:name
(string, required): Runner nametype
(string, required): Runner type (docker
,kubernetes
,vm
)configuration
(object, required): Runner-specific configurationenvironment
(string, optional): Target environment
delete_runner (Requires —allow-platform-apis)
Remove execution runners from the platform. Parameters:runner_name
(string, required): Name of runner to deleteforce
(boolean, optional): Force deletion even if running tasks (default: false)
create_integration (Requires —allow-platform-apis)
Create new integration templates for external services. Parameters:name
(string, required): Integration nametype
(string, required): Integration typeconfiguration
(object, required): Integration configurationsecrets
(array, optional): Required secret mappings
create_source (Requires —allow-platform-apis)
Add new tool sources to the platform. Parameters:name
(string, required): Source nameurl
(string, required): Source URL (Git repository, registry, etc.)type
(string, required): Source type (git
,registry
,local
)authentication
(object, optional): Authentication configuration
🔧 Tool Usage Patterns
Basic Tool Execution
Infrastructure Management
Data Processing Pipeline
Agent Conversations
Knowledge Base Search
🚨 Error Handling
All tools return standardized error responses:ValidationError
: Invalid parameters or configurationAuthorizationError
: Insufficient permissionsExecutionError
: Tool execution failedResourceError
: Runner or resource unavailablePolicyError
: Blocked by OPA policies
🔒 Security Considerations
Policy Enforcement
All tools respect OPA policies whenKUBIYA_OPA_ENFORCE=true
:
Runner Selection
Use appropriate runners for security:auto
: Let Kubiya choose the best available runnerkubiya-hosted
: Use Kubiya’s managed infrastructureprod-runner
: Use specific self-hosted runner for productiondev-runner
: Use development runner for testing
Credential Management
Integrations handle credentials securely:📊 Monitoring & Observability
Tool Execution Metrics
- Execution time and resource usage
- Success/failure rates
- Runner utilization
- Policy compliance
Audit Trails
Complete logging of:- Who executed what tool
- When and where execution occurred
- What parameters were used
- Policy decisions and outcomes
Ready to build powerful AI applications? These 21+ MCP tools provide everything needed to create enterprise-grade AI assistants that can manage infrastructure, process data, and automate complex workflows with security and reliability.