MCPcopy Create free account
hub / github.com/diillson/chatcli / DefaultConfigPath

Function DefaultConfigPath

cli/mcp/manager.go:181–184  ·  view source on GitHub ↗

DefaultConfigPath returns the default MCP config file path.

()

Source from the content-addressed store, hash-verified

179
180// DefaultConfigPath returns the default MCP config file path.
181func DefaultConfigPath() string {
182 home, _ := os.UserHomeDir()
183 return filepath.Join(home, ".chatcli", "mcp_servers.json")
184}
185
186// StartAll starts all configured MCP servers.
187//

Callers 3

resolveMCPConfigPathFunction · 0.92
initMCPManagerFunction · 0.92
TestDefaultConfigPathFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestDefaultConfigPathFunction · 0.68