Interface: PackedMcpSessionOptions
Properties
args?
readonlyoptionalargs?: readonlystring[]
Extra argv appended after the entry path.
cwd?
readonlyoptionalcwd?:string
Working directory for the spawned process; defaults to the entry's directory.
deletedSource?
readonlyoptionaldeletedSource?:DeletedSourceReceipt
Receipt whose paths must still be absent and whose project root must contain the entry and any explicit cwd before this session may claim deleted-source proof.
entry
readonlyentry:string
Absolute path of the generated stdio entry (<artifact>/<target>/mcp/<server>.mjs).
env?
readonlyoptionalenv?:Readonly<Record<string,string>>
Environment for the spawned process; defaults to the current one.
execPath?
readonlyoptionalexecPath?:string
Node binary to spawn; defaults to the running one.
name?
readonlyoptionalname?:string
Client identity sent in initialize.