rlang-mcp-server

rlang-mcp-server

3.4

If you are the rightful owner of rlang-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

R-Server MCP is a specialized server that enables AI models to generate data visualizations using R's ggplot2 library and execute R scripts.

R-Server MCP provides a streamlined interface for creating statistical visualizations and executing R scripts without requiring direct access to an R environment. It exposes two MCP tools: 'render_ggplot' for generating visualizations from R code containing ggplot2 commands, and 'execute_r_script' for executing any R script and returning the text output. This server is designed to facilitate the integration of R's powerful data visualization capabilities into AI workflows, ensuring that users can leverage R's extensive library ecosystem without needing to manage an R environment directly. The server supports multiple output formats, customization options, and includes robust error handling to ensure smooth operation.

Features

  • ggplot2 Rendering: Execute R code containing ggplot2 commands and return the resulting visualization
  • R Script Execution: Execute any R script and return the text output
  • Format Options: Support for PNG, JPEG, PDF, and SVG output formats
  • Customization: Control image dimensions and resolution
  • Error Handling: Clear error messages for invalid R code or rendering failures

Tools

  1. render_ggplot

    Generate visualization from R code containing ggplot2 command

  2. execute_r_script

    Execute any R script and return text output