MCPcopy Create free account
hub / github.com/Alorse/copilot-to-api / constructor

Method constructor

server.js:7–12  ·  view source on GitHub ↗
(configPath = './config.json')

Source from the content-addressed store, hash-verified

5
6class CopilotAPI {
7 constructor(configPath = './config.json') {
8 this.configPath = configPath;
9 this.config = this.loadConfig();
10 this.copilotToken = null;
11 this.tokenExpiry = null;
12 }
13
14 loadConfig() {
15 try {

Callers

nothing calls this directly

Calls 1

loadConfigMethod · 0.95

Tested by

no test coverage detected