Builds an mcp_servers list entry that launches an R subprocess running
mcptools::mcp_server() over stdio.
Arguments
- tools_script
Character(1) or NULL. Path to an
.Rscript that yields alist()ofellmer::tool()objects.- session_tools
Logical. Whether to expose built-in mcptools session management tools. Default
FALSE.- rscript
Character(1). Path to the
Rscriptbinary.