
Filesystem MCP Server
by bytedanceio.github.bytedance/mcp-server-filesystemv1.0.0
MCP server for filesystem access
context tax
~1,222 tok/turn11 tools
security
100/100
cold start
113 ms
freshness
Active33d ago
Our reading of Filesystem, from the data
Filesystem is a file system MCP server from bytedance, listed in the official MCP Registry.
Its 11 tools add about 1,222 tokens to every model turn (measured 2026-10-23).
Maintenance is active: the last public signal was 33 days ago (2026-10-09). For comparison, 58% of file system servers are active or maintained.
With 39,318 GitHub stars it ranks #3 of 129 file system servers we index.
It runs either locally over stdio or as a hosted endpoint.
Install Filesystem MCP server
Install in Claude Code
claude mcp add filesystem-bytedance -- npx -y @agent-infra/mcp-server-filesystem allowed-directories '<allowed-directories>'Install in Cursor
{
"mcpServers": {
"filesystem-bytedance": {
"command": "npx",
"args": [
"-y",
"@agent-infra/mcp-server-filesystem",
"allowed-directories",
"<allowed-directories>"
]
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"filesystem-bytedance": {
"command": "npx",
"args": [
"-y",
"@agent-infra/mcp-server-filesystem",
"allowed-directories",
"<allowed-directories>"
]
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"filesystem-bytedance": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@agent-infra/mcp-server-filesystem",
"allowed-directories",
"<allowed-directories>"
]
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"filesystem-bytedance": {
"command": "npx",
"args": [
"-y",
"@agent-infra/mcp-server-filesystem",
"allowed-directories",
"<allowed-directories>"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Try it in a sandbox first: this installs it with scripts off and starts it with no network, then lists its tools and token cost. How it works
npx mcpskillhub test @agent-infra/mcp-server-filesystem
Context tax
Connecting this server adds ~1,222 tokens of tool definitions to every model turn (moderate, 11 tools). Measured 2026-10-23 via a sandboxed run; o200k tokenizer, worst case for clients that load all tools up front. How we measure
| Model | Per 1,000 turns | With prompt caching |
|---|---|---|
| Claude Opus 5.5 | $4.89 | $0.244 |
| Claude Sonnet 5.5 | $2.44 | $0.244 |
| Claude Haiku 5.5 | $0.122 | — |
Input prices as of 2026-10-06. Excludes your own prompt and output.
Tools (11)
edit_filefile write173 tokMake line-based edits to a text file. Each edit replaces exact line sequences with new content. Returns a git-style diff showing the changes made. Only works within allowed directories.
search_files134 tokRecursively search for files and directories matching a pattern. Searches through all subdirectories from the starting path. The search is case-insensitive and matches partial names. Returns full paths to all matching items. Great for finding files when you don't know their exact location. Only searches within allowed directories.
directory_tree121 tokGet a recursive tree view of files and directories as a JSON structure. Each entry includes 'name', 'type' (file/directory), and 'children' for directories. Files have no children array, while directories always have a children array (which may be empty). The output is formatted with 2-space indentation for readability. Only works within allowed directories.
move_filefile write115 tokMove or rename files and directories. Can move files between directories and rename them in a single operation. If the destination exists, the operation will fail. Works across different directories and can be used for simple renaming within the same directory. Both source and destination must be within allowed directories.
read_multiple_files114 tokRead the contents of multiple files simultaneously. This is more efficient than reading files one by one when you need to analyze or compare multiple files. Each file's content is returned with its path as a reference. Failed reads for individual files won't stop the entire operation. Only works within allowed directories.
list_directory102 tokGet a detailed listing of all files and directories in a specified path. Results clearly distinguish between files and directories with [FILE] and [DIR] prefixes. This tool is essential for understanding directory structure and finding specific files within a directory. Only works within allowed directories.
create_directoryfile write100 tokCreate a new directory or ensure a directory exists. Can create multiple nested directories in one operation. If the directory already exists, this operation will succeed silently. Perfect for setting up directory structures for projects or ensuring required paths exist. Only works within allowed directories.
read_file99 tokRead the complete contents of a file from the file system. Handles various text encodings and provides detailed error messages if the file cannot be read. Use this tool when you need to examine the contents of a single file. Only works within allowed directories.
write_filefile write97 tokCreate a new file or completely overwrite an existing file with new content. Use with caution as it will overwrite existing files without warning. Handles text content with proper encoding. Only works within allowed directories.
get_file_info97 tokRetrieve detailed metadata about a file or directory. Returns comprehensive information including size, creation time, last modified time, permissions, and type. This tool is perfect for understanding file characteristics without reading the actual content. Only works within allowed directories.
list_allowed_directories68 tokReturns the list of directories that this server is allowed to access. Use this to understand which directories are available before trying to access files.
Security signals
100/100 — no known issues found as of 2026-10-23, from the checks below. This is not a guarantee of safety; review what a server can do before connecting it.
Deductions
No findings from the checks that ran.
Checks
- ✓Repository hygiene (archived, activity, license, security policy)
- ✓Tool descriptions (prompt-injection and hidden-text heuristics)
- ○Package metadata (install scripts, provenance) — pending
- ○Source scan (secrets, CVEs, risky code) by vectra-guard — pending
Scan it yourself before installing with vectra-guard, the open-source agent security CLI (made by NavyaAI, which also runs MCPSkillHub). Scoring rules
Freshness
Active — last maintenance signal 33d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-09 · 33d ago · GitHub
Latest release
2026-10-08 · 33d ago · GitHub · v0.3.1
Package published
no data · npm/PyPI
Registry entry updated
2025-09-09 · 14mo ago · official registry · v1.0.0
How it compares in File System
Against the most-starred file system servers we index. Token cost is per model turn, measured from each server's live tool list.
| Server | Stars | Tools | Tokens / turn | Freshness | Runs |
|---|---|---|---|---|---|
| Filesystem (this) | 39,318 | 11 | 1,222 | Active | local + hosted |
| Markitdown | 190,947 | — | not measured | Active | — |
| Filesystemcompare | 91,356 | 14 | 1,680 | Active | local |
| Plg Handler | 14,805 | — | not measured | Active | — |
| Filesystem | 692 | — | not measured | Stale | — |
| Everything Search | 366 | — | not measured | Active | local |
FAQ
›How do I install the Filesystem MCP server in Claude Code?
Run: claude mcp add filesystem-bytedance -- npx -y @agent-infra/mcp-server-filesystem allowed-directories '<allowed-directories>'. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Filesystem require an API key?
No required environment variables are declared in its published metadata.
›Can I use Filesystem as a remote (hosted) MCP server?
Yes — it offers both a hosted endpoint and a local stdio package.
›Is Filesystem in the official MCP registry?
Yes, as io.github.bytedance/mcp-server-filesystem.
›How many tokens does Filesystem add to my context?
Its tool definitions total about 1,222 tokens, resent on every turn.
Sources and method
- Official MCP Registry entry
- updated 2025-09-09
- GitHub repository
- fetched 2026-10-19
- Package registry (npm / PyPI)
- listed
- Tool list (tools/list), measured by us
- 2026-10-23
- Security signals, computed by us
- 2026-10-23
- Last checked against all sources
- 2026-10-19
The description, packages and links come from the maintainer's own published metadata. Token cost, security signals, freshness and the reading above are MCPSkillHub's own measurements; see the methodology. Editorial standards are owned by Ramachandra Vikas Chamarthi, Founder & AI HPC Architect. Spot an error? Request a correction or claim the listing.
Alternatives to Filesystem
Other file system MCP servers.