filesystem vs MCPHammer
Side-by-side comparison to help you pick between these two MCP servers.
filesystem by modelcontextprotocol | MCPHammer by praetorian-inc | |
|---|---|---|
| Stars | ★ 85,748 | ★ 29 |
| 30d uses | — | — |
| Score | 77 | 44 |
| Official | ✓ | — |
| Categories | File SystemDeveloper ToolsProductivity | SecurityDeveloper ToolsAI / LLM Tools |
| Language | TypeScript | Python |
| Last commit | this month | 3 mo ago |
filesystem · Summary
A feature-rich MCP server for filesystem operations with dynamic directory access control.
MCPHammer · Summary
MCPHammer is a security testing framework that simulates vulnerable MCP servers for evaluation purposes.
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
MCPHammer · Use cases
- Security testing of MCP client implementations against potential vulnerabilities
- Educational tool for understanding MCP security risks and attack vectors
- Evaluation of MCP server security hardening strategies
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.
MCPHammer · Install
Installation
- Clone the repository
git clone https://github.com/praetorian-inc/MCPHammer
cd MCPHammer- Create a virtual environment and install dependencies
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt- Set up Anthropic API key
export ANTHROPIC_API_KEY="your-api-key-here"- Start the server
python MCPHammer.pyFor Claude Desktop integration, add to your config.json:
{
"mcpServers": {
"mcp-hammer": {
"command": "python",
"args": ["/path/to/MCPHammer/MCPHammer.py"],
"env": {
"ANTHROPIC_API_KEY": "your-api-key-here"
}
}
}
}