MCPcopy Index your code
hub / github.com/ChromeDevTools/chrome-devtools-mcp / constructor

Method constructor

tests/server.ts:35–38  ·  view source on GitHub ↗
(port: number)

Source from the content-addressed store, hash-verified

33 {};
34
35 constructor(port: number) {
36 this.#port = port;
37 this.#server = http.createServer((req, res) => this.#handle(req, res));
38 }
39
40 get baseUrl(): string {
41 return `http://localhost:${this.#port}`;

Callers

nothing calls this directly

Calls 1

#handleMethod · 0.95

Tested by

no test coverage detected