MCPcopy Create free account
hub / github.com/anus-dev/ANUS / getPortFromEnv

Method getPortFromEnv

packages/core/src/ide/ide-client.ts:294–300  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

292 }
293
294 private getPortFromEnv(): string | undefined {
295 const port = process.env['ANUS_CLI_IDE_SERVER_PORT'];
296 if (!port) {
297 return undefined;
298 }
299 return port;
300 }
301
302 private async getPortFromFile(): Promise<string | undefined> {
303 try {

Callers 1

connectMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected