Connect to local MCP servers over stdioUse
stdio(...) for new applications. It creates a StdioTransport that launches a local MCP server process and communicates over stdio.
Quick Start
Options
command
Executable to spawn.
args
Argument list passed to the spawned process.
env
Extra environment variables for the upstream process.
stderr
How to handle stderr from the spawned process.
Allowed values:
inheritpipeoverlappedignore
clientName
MCP client name.
Default: fentaris-core
clientVersion
MCP client version.
Default: 0.1.0
Methods
listTools(params?)
Lists tools exposed by the MCP server.
callTool(params)
Calls a tool on the MCP server.
close()
Closes the underlying client connection.
Low-Level Constructor
The class constructor is available for advanced integrations:stdio(options).