mcpr

mcpr

3.5

If you are the rightful owner of mcpr 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.

mcpr is an R implementation of the Model Context Protocol (MCP), enabling R applications to expose capabilities to AI models through a standard JSON-RPC 2.0 interface.

mcpr is a powerful R package that implements the Model Context Protocol (MCP), allowing R applications to expose their capabilities, such as tools, resources, and prompts, to AI models via a standardized JSON-RPC 2.0 interface. This package facilitates both server and client functionalities, enabling seamless interaction with MCP servers. By leveraging mcpr, R developers can create and manage MCP servers that provide various computational tools and resources, making it easier to integrate R-based functionalities into AI workflows. The package also supports automatic generation of MCP servers from existing R functions using special documentation tags, streamlining the process of exposing R functions as MCP tools. Additionally, mcpr offers integration with other platforms like Claude Code, Cursor, and VS Code Agent Mode, enhancing its versatility and applicability in diverse development environments.

Features

  • R implementation of the Model Context Protocol (MCP) for exposing capabilities to AI models.
  • Supports both server and client functionalities for seamless interaction with MCP servers.
  • Automatic generation of MCP servers from R functions using special documentation tags.
  • Integration with platforms like Claude Code, Cursor, and VS Code Agent Mode.
  • Provides a standard JSON-RPC 2.0 interface for communication.

Tools

  1. calculator

    Performs basic arithmetic operations

  2. add_numbers

    Add two numbers together