Skip to main content

get_mcp_client_configs

Function get_mcp_client_configs 

Source
pub async fn get_mcp_client_configs(
    token: String,
) -> Result<McpClientConfigs, ServerFnError>
Expand description

根据明文令牌生成各客户端配置片段(含 syntect 高亮 HTML)。

配置生成与高亮均在服务端完成(crate::mcp::config / crate::highlight 均为 server-only),返回给前端展示。APP_BASE_URL 环境变量也只在服务端读取。仅 admin。

§Handler information

  • Method: post
  • Path: <auto>