Back to Home
brianmsm icon

btwExtra

by brianmsm

Overview

Provides an MCP server for R, allowing LLMs to execute arbitrary R code and access additional R-specific tools.

Installation

Run Command
Rscript -e "btwExtra::btwExtra_mcp_server()"

Security Notes

The primary security risk is the `btwExtra_tool_env_run_r_code` tool, which explicitly allows running arbitrary R code in the connected R session. This means an LLM or a malicious actor could execute system commands (e.g., `system('rm -rf /')`), access/modify files, or perform network operations through the R interpreter without any apparent sandboxing mechanisms described. While this is an intended 'escape hatch' feature, it carries significant inherent security risks if the LLM's output is not strictly controlled or audited.

Similar Servers

Stats

Interest Score0
Security Score2
Cost ClassMedium
Avg Tokens300
Stars0
Forks0
Last Update2025-11-24

Tags

RLLMMCPToolingCode Execution