Give Claude controlled access to read and write files on your local filesystem within specified directories.
MCP (Model Context Protocol) servers extend Claude's capabilities with external tools and data sources. They provide access to databases, APIs, file systems, and more. Configure MCP servers in .mcp.json or add them via `claude mcp add` command.
Option 1 - CLI Command: claude mcp add filesystem -- npx -y @anthropic-ai/mcp-server-filesystem /path/to/directory Option 2 - Add to .mcp.json Important: Claude can only access directories you explicitly allow. You can specify multiple directories by adding more paths to the args array.
claude mcp add filesystem -- npx -y @anthropic-ai/mcp-server-filesystem ~/projects{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"@anthropic-ai/mcp-server-filesystem",
"/path/to/allowed/directory"
]
}
}
}Claude can read and create files: "Read the package.json" or "Create a new config file"
Manage Docker containers and images. List, start, stop containers, view logs, and inspect container configurations.