Skip to contents

Create a tool configuration for Model Context Protocol server integration. Allows the AI to access external tools and data through MCP servers.

Usage

tool_mcp(srv_lab, srv_url, allowed_tools = NULL)

Arguments

srv_lab

Label for the MCP server

srv_url

URL of the MCP server

allowed_tools

Optional character vector of allowed tool names

Value

Tool configuration list