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.4 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:-}
amap:
Appkey: ""
juhe:
SimpleWeather_ApiKey: ""
Finance_ApiKey: ""
Toutiao_ApiKey: ""
spotify:
ClientID: ""
ClientSecret: ""
RedirectURI: "http://localhost:8080/callback"
musicobj:
ApiBaseUrl: https://hw.music.ideapsound.com
bravesearch:
ApiKey: ""
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