{
"mcpServers": {
"file-system": {
"args": [
"-jar",
"/absolute/path/to/file-mcp-server-1.0.0.jar"
],
"command": "java"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
A Spring Boot MCP server that exposes local file system and shell tools to Claude (or any MCP-compatible client).
Is it safe?
No package registry to scan.
No authentication — any process on your machine can connect.
License not specified.
Is it maintained?
Last commit 3 days ago.
Will it work with my client?
Transport: stdio. Works with Claude Desktop, Cursor, Claude Code, and most MCP clients.
Context cost
8 tools. ~300 tokens (0.1% of 200K).
A Spring Boot MCP server that exposes local file system and shell tools to Claude (or any MCP-compatible client).
| Tool | Description |
|---|---|
readFile | Read the full contents of a file |
writeFile | Write (or overwrite) a file |
appendFile | Append text to a file |
deleteFile | Delete a file |
listDirectory | List files and subdirectories |
fileInfo | Get metadata (size, dates, type) |
searchFiles | Recursively search by filename substring |
runCommand | Execute a shell command |
mvn clean package -DskipTests
The fat jar is produced at target/file-mcp-server-1.0.0.jar.
mvn test
Add the following to your Claude Desktop config file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"file-system": {
"command": "java",
"args": ["-jar", "/absolute/path/to/file-mcp-server-1.0.0.jar"]
}
}
}
Restart Claude Desktop. The tools will appear in the tools panel automatically.
src/
main/
java/com/example/filemcp/
FileMcpServerApplication.java ← entry point
FileSystemTools.java ← all @Tool methods
McpConfig.java ← registers tools with MCP
resources/
application.properties ← STDIO transport config
test/
java/com/example/filemcp/
FileSystemToolsTest.java ← unit tests
@Tool-annotated method to FileSystemTools (or create a new @Service class).MethodToolCallbackProvider in McpConfig.The runCommand tool executes arbitrary shell commands. For anything beyond personal/local use, consider restricting it to an allowlist of safe commands or removing it entirely.
No automated test available for this server. Check the GitHub README for setup instructions.
readFileRead the full contents of a file
writeFileWrite (or overwrite) a file
appendFileAppend text to a file
deleteFileDelete a file
listDirectoryList files and subdirectories
fileInfoGet metadata (size, dates, type)
searchFilesRecursively search by filename substring
runCommandExecute a shell command
No known vulnerabilities.
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Persistent memory using a knowledge graph
Hash-verified file editing MCP server with token efficiency hook. 11 tools for AI coding agents.
Privacy-first. MCP is the protocol for tool access. We're the virtualization layer for context.
Monitor browser logs directly from Cursor and other MCP compatible IDEs.
MCP Security Weekly
Get CVE alerts and security updates for File Mcp Server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.