MCP Catalogs
Home

filesystem vs mcp

Side-by-side comparison to help you pick between these two MCP servers.

filesystem
by modelcontextprotocol
mcp
by xp-forge
Stars★ 85,748★ 0
30d uses
Score7733
Official
Categories
File SystemDeveloper ToolsProductivity
Developer ToolsAI / LLM Tools
LanguageTypeScriptPHP
Last committhis month3 mo ago

filesystem · Summary

A feature-rich MCP server for filesystem operations with dynamic directory access control.

mcp · Summary

PHP implementation of Model Context Protocol for XP Framework with client and server components.

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 · Use cases

  • Building MCP servers in PHP for integration with existing PHP applications
  • Connecting PHP systems to MCP-compatible AI models and tools
  • Creating custom tools and resources for AI workflows using PHP

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 · Install

Install via Composer:

composer require xp-forge/mcp

To use as a server in XP Framework:

class Test extends Application {
  public function routes() {
    return new McpServer('com.example.api');
  }
}

To connect to an MCP server:

use io\modelcontextprotocol\McpClient;

$client = new McpClient('http://localhost:3001');
$response = $client->call('tools/list');
Comparison generated from public README + GitHub signals. Last updated automatically.