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 [aut,
cre],
Winston Chang [aut],
Charlie Gao [aut],
Posit Software, PBC [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:
Downloads:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=mcptools
to link to this page.