📂 MCP server for filesystem operations - read, create, and edit files
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add filesystem -- npx -y filesystem-mcp~/.codex/config.toml
[mcp_servers.filesystem]
command = "npx"
args = ["-y", "filesystem-mcp"]
# codex mcp add filesystem -- npx -y filesystem-mcp~/.cursor/mcp.json
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"filesystem-mcp"
]
}
}
}.vscode/mcp.json
{
"servers": {
"filesystem": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"filesystem-mcp"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"filesystem-mcp"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"filesystem-mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"filesystem-mcp"
]
}
}
}