serverRecord

tcmts.cli.mcp.serverRecord · #xacggb7l · term · runs on the server

uses node:path

The record of the MCP server whose process is pid.

import { serversDir } from "#codebase/tcmts/cli/mcp";
import path from "node:path";

export const serverRecord = (root: string, pid: number) =>
  path.join(serversDir(root), `${pid}.json`)

uses

used by