You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

59 lines
1.7 KiB

tag: "${CLUSTER_TAG:-voitrans-a11}" #服务集群标签,按 .env 的 CLUSTER_TAG 隔离不同部署
type: "mcp"
version: 1.0
exte: #RPCX 相关配置
Port: 7004
Addr: 127.0.0.1:7004
ETCDServers: ["${ETCD_SERVERS:-etcd:2379}"]
UpdateInterval: 5
sys:
log:
FileName: "./log/mcp.log"
Loglevel: 5
MaxAgeTime: 7
IsDebug: ${LOG_DEBUG:-false}
mysql: #mcp 仅用业务库读写 allhelp_task / user 表
MySQLDsn: ${DB_ADMIN_DSN:-root:li13451234@tcp(mysql:3306)/voitrans?charset=utf8mb4&parseTime=True&loc=Local}
amap:
Appkey: c653e53f94ee88a43cc979a08deae883
juhe:
SimpleWeather_ApiKey: efd8f9f391d73d7337344d26ee93d173
Finance_ApiKey: 50a101c9c5ff7c967598cea4bcc8ebbd
Toutiao_ApiKey: 035a1d052001f6f87358a159e7c44575
spotify:
ClientID: "c111d7aa47ef4fb8a60c705f117200b0"
ClientSecret: "27d9a850f1fe4d749103eec4d5a2a106"
RedirectURI: "http://localhost:8080/callback"
musicobj:
ApiBaseUrl: https://hw.music.ideapsound.com
bravesearch:
ApiKey: BSAyKXEKw6ftwPHD5HaTX4Ybr3Bfd6b
modules:
mcp:
Port: 7300
Addr: "${MCP_ADDR:-http://localhost:7300}"
TLSCertFile: ""
TLSKeyFile: ""
Groups:
GLOBAL:
- hefeng_weather
- music_search
- music_play
- add_user_task
- get_user_tasks
- cancel_user_task
OVERSEAS:
- google_map_nearbysearch
- google_map_geocode
- google_map_regeocode
- google_map_route_navigation
- tavily_web_search
CHINA:
- gaode_map_around_search
- gaode_map_geocode
- gaode_map_regeocode
- gaode_map_route_navigation
- gaode_map_search_place
- bocha_web_search