chore: sync current WechatHookBot workspace
This commit is contained in:
48
plugins/MCPManager/config.toml
Normal file
48
plugins/MCPManager/config.toml
Normal file
@@ -0,0 +1,48 @@
|
||||
# MCPManager 插件配置
|
||||
# MCP (Model Context Protocol) 服务器管理
|
||||
|
||||
[mcp]
|
||||
# 是否启用 MCP 功能
|
||||
enabled = true
|
||||
|
||||
# 工具超时时间(秒)
|
||||
tool_timeout = 60
|
||||
|
||||
# 服务器启动超时(秒)
|
||||
server_start_timeout = 30
|
||||
|
||||
# 是否在启动时自动连接所有服务器
|
||||
auto_connect = true
|
||||
|
||||
# ==================== MCP 服务器配置 ====================
|
||||
# 每个 [[mcp.servers]] 定义一个 MCP 服务器
|
||||
#
|
||||
# 支持两种类型:
|
||||
# 1. stdio 类型(本地子进程):需要 command 和 args
|
||||
# 2. http 类型(远程 HTTP):需要 url 和 headers
|
||||
#
|
||||
# 参数说明:
|
||||
# name: 服务器名称(唯一标识)
|
||||
# type: 传输类型,"stdio" 或 "http"(可选,自动检测)
|
||||
# command: 启动命令(stdio 类型)
|
||||
# args: 命令参数列表(stdio 类型)
|
||||
# url: HTTP 端点 URL(http 类型)
|
||||
# headers: HTTP 请求头(http 类型)
|
||||
# env: 环境变量(可选)
|
||||
# enabled: 是否启用(可选,默认 true)
|
||||
# tool_prefix: 工具名前缀(可选,避免冲突)
|
||||
# working_dir: 工作目录(可选,stdio 类型)
|
||||
|
||||
# ==================== 已启用的 MCP 服务器 ====================
|
||||
|
||||
# ---------- 智谱 AI Web Reader(网页阅读) ----------
|
||||
[[mcp.servers]]
|
||||
name = "web-reader"
|
||||
type = "http"
|
||||
url = "https://open.bigmodel.cn/api/mcp/web_reader/mcp"
|
||||
headers = { Authorization = "6dcaa11f2bd94941b46a5ceb3cf2b3ce.UWjeg6FHezV0WSUz" }
|
||||
enabled = true
|
||||
tool_prefix = "web"
|
||||
|
||||
# ==================== 示例配置(取消注释后使用) ====================
|
||||
|
||||
Reference in New Issue
Block a user