filesystem vs mcptools
Side-by-side comparison to help you pick between these two MCP servers.
filesystem by modelcontextprotocol | mcptools by posit-dev | |
|---|---|---|
| Stars | ★ 85,748 | ★ 174 |
| 30d uses | — | — |
| Score | 77 | 48 |
| Official | ✓ | — |
| Categories | File SystemDeveloper ToolsProductivity | Developer ToolsAI / LLM Tools |
| Language | TypeScript | R |
| Last commit | this month | 2 mo ago |
filesystem · Summary
A feature-rich MCP server for filesystem operations with dynamic directory access control.
mcptools · Summary
mcptools implements the Model Context Protocol in R, enabling R to act as both MCP server and client for AI integration.
filesystem · Use cases
- Enable AI models to read and write project files during development
- Allow Claude or other MCP clients to browse and analyze codebases
- Provide secure sandboxed access to specific directories for content generation
mcptools · Use cases
- Allowing Claude Desktop to analyze data in active R sessions by executing R code
- Integrating third-party MCP servers like GitHub with R-based applications through ellmer
- Enabling AI assistants to access and manipulate R environments and package documentation
filesystem · Install
Installation
Using NPX
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"/path/to/allowed/directory"
]
}
}
}Using Docker
{
"mcpServers": {
"filesystem": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"--mount", "type=bind,src=/path/to/allowed/dir,dst=/projects/allowed/dir",
"mcp/filesystem",
"/projects"
]
}
}
}VS Code Extension
Click the installation buttons in the README to install directly in VS Code.
mcptools · Install
Install mcptools from CRAN:
install.packages("mcptools")Or install the development version:
pak::pak("posit-dev/mcptools")To use R as an MCP server with Claude Desktop, add this to your Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"r-mcptools": {
"command": "Rscript",
"args": ["-e", "mcptools::mcp_server()"]
}
}
}To use R as an MCP client, create a configuration file at ~/.config/mcptools/config.json with your desired MCP servers.