MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / constructor

Method constructor

src/mcp/session.ts:210–216  ·  view source on GitHub ↗
(
    private transport: JsonRpcTransport,
    private engine: MCPEngine,
    opts: MCPSessionOptions = {},
  )

Source from the content-addressed store, hash-verified

208 private readonly indexVersionWarnings = new IndexVersionWarningState();
209
210 constructor(
211 private transport: JsonRpcTransport,
212 private engine: MCPEngine,
213 opts: MCPSessionOptions = {},
214 ) {
215 this.explicitProjectPath = opts.explicitProjectPath ?? null;
216 }
217
218 /**
219 * Start handling messages from the transport. Returns immediately — the

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected