Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/modelcontextprotocol/servers
/ index.ts
File
index.ts
src/filesystem/index.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
#!/usr/bin/env node
2
3
import
{ McpServer } from
"@modelcontextprotocol/sdk/server/mcp.js"
;
4
import
{ StdioServerTransport } from
"@modelcontextprotocol/sdk/server/stdio.js"
;
Callers
nothing calls this directly
Calls
14
expandHome
Function · 0.85
normalizePath
Function · 0.85
setAllowedDirectories
Function · 0.85
validatePath
Function · 0.85
readFileAsBase64Stream
Function · 0.85
readFileContent
Function · 0.85
writeFileContent
Function · 0.85
applyFileEdits
Function · 0.85
formatSize
Function · 0.85
buildTree
Function · 0.85
searchFilesWithValidation
Function · 0.85
getFileStats
Function · 0.85
Tested by
no test coverage detected