MCP Catalogs
Home

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
Score7738
Official
Categories
File SystemDeveloper ToolsProductivity
Developer ToolsFile SystemOther
LanguageTypeScriptJava
Last committhis month7 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:

  1. Clone the repository
  2. Navigate to the example directory: cd mcp-server-filesystem
  3. Build the project: mvn package
  4. 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"]
    }
  }
}
Comparison generated from public README + GitHub signals. Last updated automatically.