MCPcopy Create free account
hub / github.com/echoVic/blade-code / getDefaultConfig

Method getDefaultConfig

src/mcp/config/MCPConfig.ts:64–81  ·  view source on GitHub ↗

* 获取默认配置

()

Source from the content-addressed store, hash-verified

62 * 获取默认配置
63 */
64 private getDefaultConfig(): MCPConfigFile {
65 return {
66 servers: {},
67 client: {
68 timeout: 30000,
69 retryAttempts: 3,
70 retryDelay: 1000,
71 },
72 server: {
73 port: 3001,
74 host: 'localhost',
75 transport: 'ws',
76 auth: {
77 enabled: false,
78 },
79 },
80 };
81 }
82
83 /**
84 * 添加服务器配置

Callers 3

loadConfigMethod · 0.95
importConfigMethod · 0.95
resetMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected