# Model Context Protocol (MCP) Server Configuration Fragment
# Used by: kogral-config form

[[elements]]
border_top = true
border_bottom = false
name = "mcp_section_header"
title = "🔌 MCP Server"
type = "section_header"

[[elements]]
default = "kogral-mcp"
help = "MCP server name identifier"
name = "mcp_server_name"
nickel_path = ["mcp", "server", "name"]
prompt = "Server Name"
type = "text"

[[elements]]
default = "1.0.0"
help = "MCP server version"
name = "mcp_server_version"
nickel_path = ["mcp", "server", "version"]
placeholder = "1.0.0"
prompt = "Server Version"
type = "text"

[[elements]]
default = "stdio"
help = "Transport protocol for MCP communication"
name = "mcp_server_transport"
nickel_path = ["mcp", "server", "transport"]
options = ["stdio", "sse"]
prompt = "Transport"
type = "select"

[[elements]]
border_top = false
border_bottom = false
name = "mcp_tools_header"
title = "Available Tools"
type = "section_header"

[[elements]]
default = true
help = "Enable kb/search tool"
name = "mcp_tools_search"
nickel_path = ["mcp", "tools", "search"]
prompt = "Search Tool"
type = "boolean"

[[elements]]
default = true
help = "Enable kb/add_note tool"
name = "mcp_tools_add_note"
nickel_path = ["mcp", "tools", "add_note"]
prompt = "Add Note Tool"
type = "boolean"

[[elements]]
default = true
help = "Enable kb/add_decision tool"
name = "mcp_tools_add_decision"
nickel_path = ["mcp", "tools", "add_decision"]
prompt = "Add Decision Tool"
type = "boolean"

[[elements]]
default = true
help = "Enable kb/link tool"
name = "mcp_tools_link"
nickel_path = ["mcp", "tools", "link"]
prompt = "Link Tool"
type = "boolean"

[[elements]]
default = true
help = "Enable kb/get_guidelines tool"
name = "mcp_tools_get_guidelines"
nickel_path = ["mcp", "tools", "get_guidelines"]
prompt = "Get Guidelines Tool"
type = "boolean"

[[elements]]
default = true
help = "Enable kb/export tool"
name = "mcp_tools_export"
nickel_path = ["mcp", "tools", "export"]
prompt = "Export Tool"
type = "boolean"

[[elements]]
border_top = true
border_bottom = false
name = "mcp_resources_header"
title = "Resource Exposure"
type = "section_header"

[[elements]]
default = true
help = "Expose project-specific knowledge graphs"
name = "mcp_resources_expose_project"
nickel_path = ["mcp", "resources", "expose_project"]
prompt = "Expose Project Resources"
type = "boolean"

[[elements]]
default = true
help = "Expose shared organizational knowledge graphs"
name = "mcp_resources_expose_shared"
nickel_path = ["mcp", "resources", "expose_shared"]
prompt = "Expose Shared Resources"
type = "boolean"
