The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

mcptools: Model Context Protocol Servers and Clients

Implements the Model Context Protocol (MCP). Users can start 'R'-based servers, serving functions as tools for large language models to call before responding to the user in MCP-compatible apps like 'Claude Desktop' and 'Claude Code', with options to run those tools inside of interactive 'R' sessions. On the other end, when 'R' is the client via the 'ellmer' package, users can register tools from third-party MCP servers to integrate additional context into chats.

Version: 0.1.0
Depends: R (≥ 4.1.0)
Imports: cli, ellmer (≥ 0.2.0), jsonlite, nanonext (≥ 1.6.0), processx, promises, rlang
Suggests: knitr, rmarkdown, testthat (≥ 3.0.0), withr
Published: 2025-07-18
DOI: 10.32614/CRAN.package.mcptools
Author: Simon Couch ORCID iD [aut, cre], Winston Chang [aut], Charlie Gao ORCID iD [aut], Posit Software, PBC ROR ID [cph, fnd]
Maintainer: Simon Couch <simon.couch at posit.co>
BugReports: https://github.com/posit-dev/mcptools/issues
License: MIT + file LICENSE
URL: https://github.com/posit-dev/mcptools, https://posit-dev.github.io/mcptools/
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: mcptools results

Documentation:

Reference manual: mcptools.html , mcptools.pdf
Vignettes: R as an MCP server (source, R code)

Downloads:

Package source: mcptools_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): mcptools_0.1.0.tgz, r-oldrel (x86_64): mcptools_0.1.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=mcptools to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.