MCP Catalogs
Home

filesystem vs pctx

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

filesystem
by modelcontextprotocol
pctx
by portofcontext
Stars★ 85,748★ 252
30d uses
Score7749
Official
Categories
File SystemDeveloper ToolsProductivity
AI / LLM ToolsDeveloper ToolsSecurity
LanguageTypeScriptRust
Last committhis monththis month

filesystem · Summary

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

pctx · Summary

pctx is a Rust-based framework that connects AI agents to tools and MCP servers through Code Mode for secure, token-efficient workflows.

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

pctx · Use cases

  • Building AI agents with reduced token consumption through Code Mode
  • Aggregating multiple MCP servers behind a single interface
  • Secure execution of LLM-generated code in isolated environments

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.

pctx · Install

# Homebrew
brew install portofcontext/tap/pctx

# cURL
curl --proto '=https' --tlsv1.2 -LsSf https://raw.githubusercontent.com/portofcontext/pctx/main/install.sh | sh

# npm
npm i -g @portofcontext/pctx

For Claude Desktop:

{
  "mcpServers": {
    "pctx": {
      "command": "pctx",
      "args": ["mcp", "start", "--stdio"]
    }
  }
}
Comparison generated from public README + GitHub signals. Last updated automatically.