feat: hrp mcphost

This commit is contained in:
lilong.129
2025-05-16 13:37:52 +08:00
parent ce38ef3be0
commit f8b7a42560
36 changed files with 564 additions and 55 deletions
+1
View File
@@ -99,6 +99,7 @@ func LoadMCPConfig(configPath string) (*MCPConfig, error) {
}
configPath = filepath.Join(homeDir, ".mcp.json")
}
configPath = os.ExpandEnv(configPath)
// Check if config file exists
if _, err := os.Stat(configPath); os.IsNotExist(err) {