33 lines
869 B
Django/Jinja
33 lines
869 B
Django/Jinja
# MCP Server Configuration
|
|
# Generated by TypeDialog - Edit via configure-mcp-server.sh
|
|
# Rust struct: platform/crates/mcp-server/src/config.rs::Config
|
|
|
|
{
|
|
provisioning_path = "{{ provisioning_path }}",
|
|
|
|
ai = {
|
|
enabled = {{ ai_enabled }},
|
|
provider = "{{ ai_provider }}",
|
|
{% if ai_api_endpoint %}
|
|
api_endpoint = "{{ ai_api_endpoint }}",
|
|
{% endif %}
|
|
{% if ai_api_key %}
|
|
api_key = "{{ ai_api_key }}",
|
|
{% endif %}
|
|
{% if ai_model %}
|
|
model = "{{ ai_model }}",
|
|
{% endif %}
|
|
max_tokens = {{ ai_max_tokens }},
|
|
temperature = {{ ai_temperature }},
|
|
timeout = {{ ai_timeout }},
|
|
},
|
|
|
|
server = {
|
|
name = "{{ server_name }}",
|
|
version = "{{ server_version }}",
|
|
enable_resources = {{ server_enable_resources }},
|
|
enable_tool_notifications = {{ server_enable_tool_notifications }},
|
|
},
|
|
|
|
debug = {{ debug }},
|
|
}
|