Starts an MCP server (through the mcptools package) offering the tools
from dragon_ellmer_tools(), so Claude Desktop, Claude Code, or another
MCP client can search and ask your document sets and check your runs.
Point the client at a command such as
Rscript -e "dragonfarm::dragon_mcp_server()".
Usage
dragon_mcp_server(
agent = NULL,
tools = NULL,
runs_dir = dragon_runs_dir(),
...
)Arguments
- agent
Name the caller as an agent in the policy (for example
"answer"), so its calls are checked against what that agent may do.NULL(the default) means a person acting directly.- tools
Which tools to include, by name.
NULLincludes all.- runs_dir
Where document sets and runs live.
- ...
Passed to
mcptools::mcp_server().
