Interface: RunMcpOptions
Extends
Properties
artifact?
readonlyoptionalartifact?:string
Inherited from
ArtifactOperationOptions.artifact
configPath?
readonlyoptionalconfigPath?:string
Inherited from
ArtifactOperationOptions.configPath
envFiles?
readonlyoptionalenvFiles?: readonlystring[]
Explicit .env files replacing the conventional project-root set.
Loaded in order, later files winning on collision; relative paths
resolve from the working directory.
loadEnvFiles?
readonlyoptionalloadEnvFiles?:boolean
Set false to launch the server without any .env layer.
logger?
readonlyoptionallogger?:StructuredLogger
Inherited from
ArtifactOperationOptions.logger
mode?
readonlyoptionalmode?:string
Inherited from
pluginRoot?
readonlyoptionalpluginRoot?:string
Root the env-declared plugin-root anchors (for example
AGENT_BUNDLE_PLUGIN_ROOT) expand to. Defaults to the project root so
durable server state survives artifact rebuilds; point it at the
artifact target root for a byte-faithful rehearsal of a copied-artifact
launch.
registry?
readonlyoptionalregistry?:TargetRegistry
Advanced adapter registry used for every source, artifact, and runtime operation.
Inherited from
ArtifactOperationOptions.registry
root
readonlyroot:string
Inherited from
server
readonlyserver:string
spawnProcess?
readonlyoptionalspawnProcess?: (command,args,options) =>ChildProcess
Injectable only to make foreground process behavior deterministic in tests.
Parameters
command
string
args
readonly string[]
options
cwd
string
env
Readonly<Record<string, string>>
stdio
"inherit"
Returns
ChildProcess
target
readonlytarget:string
targets?
readonlyoptionaltargets?: readonlystring[]