# AI Service MCP Integration Fragment

[[elements]]
border_top = true
border_bottom = false
name = "ai_mcp_header"
title = "🔧 MCP Integration"
type = "section_header"

[[elements]]
default = false
help = "Enable MCP (Model Context Protocol) integration"
name = "ai_mcp_enabled"
nickel_path = ["ai_service", "mcp", "enabled"]
prompt = "Enable MCP"
type = "confirm"

[[elements]]
condition = "ai_mcp_enabled == true"
default = "http://localhost:8084"
help = "MCP service URL"
name = "ai_mcp_service_url"
nickel_path = ["ai_service", "mcp", "mcp_service_url"]
prompt = "MCP Service URL"
required = true
type = "text"

[[elements]]
condition = "ai_mcp_enabled == true"
default = 30000
help = "MCP request timeout in milliseconds"
max = 300000
min = 1000
name = "ai_mcp_timeout"
nickel_path = ["ai_service", "mcp", "timeout"]
prompt = "Timeout (ms)"
type = "number"
