filesystem vs mcp-java-sdk-examples
Side-by-side comparison to help you pick between these two MCP servers.
filesystem by modelcontextprotocol | mcp-java-sdk-examples by thought2code | |
|---|---|---|
| Stars | ★ 85,748 | ★ 32 |
| 30d uses | — | — |
| Score | 77 | 38 |
| Official | ✓ | — |
| Categories | File SystemDeveloper ToolsProductivity | Developer ToolsFile SystemOther |
| Language | TypeScript | Java |
| Last commit | this month | 7 mo ago |
filesystem · Summary
A feature-rich MCP server for filesystem operations with dynamic directory access control.
mcp-java-sdk-examples · Summary
A collection of MCP server examples demonstrating different Java SDK implementations.
filesystem · Use cases
- Enable AI models to read and write project files during development
- Allow Claude or other MCP clients to browse and analyze codebases
- Provide secure sandboxed access to specific directories for content generation
mcp-java-sdk-examples · Use cases
- Developers learning how to implement MCP servers using Java SDKs
- Organizations standardizing LLM integrations with Java applications
- Testing and prototyping file system operations through MCP
filesystem · Install
Installation
Using NPX
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"/path/to/allowed/directory"
]
}
}
}Using Docker
{
"mcpServers": {
"filesystem": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"--mount", "type=bind,src=/path/to/allowed/dir,dst=/projects/allowed/dir",
"mcp/filesystem",
"/projects"
]
}
}
}VS Code Extension
Click the installation buttons in the README to install directly in VS Code.
mcp-java-sdk-examples · Install
Installation
This is a collection of examples, not a server itself. Each example has its own setup requirements. For the filesystem example:
- Clone the repository
- Navigate to the example directory:
cd mcp-server-filesystem - Build the project:
mvn package - Run the server:
java -jar target/mcp-server-filesystem-*.jar
Claude Desktop Configuration
Add to your claude_desktop_config.json:
{
"mcpServers": {
"mcp-java-sdk-examples": {
"command": "java",
"args": ["-jar", "/path/to/mcp-server-filesystem/target/mcp-server-filesystem-*.jar"]
}
}
}