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

Method constructor

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

Source from the content-addressed store, hash-verified

167 private readonly indexVersionWarnings = new IndexVersionWarningState();
168
169 constructor(
170 private transport: JsonRpcTransport,
171 private engine: MCPEngine,
172 opts: MCPSessionOptions = {},
173 ) {
174 this.explicitProjectPath = opts.explicitProjectPath ?? null;
175 }
176
177 /**
178 * Start handling messages from the transport. Returns immediately — the

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected