Skip to contents

Load all MCP elements from a directory

Usage

mcp_source_directory(server, path, pattern = "\\.R$", recursive = TRUE)

Arguments

server

MCPServer instance

path

Directory path

pattern

File pattern to match

recursive

Whether to scan subdirectories

Value

The server (invisibly) for chaining