Skip to main content
Glama

FlexFS MCP

A Model Context Protocol (MCP) that provides secure file system, web fetching, and Google Cloud Storage access for AI IDEs.

Features

  • Local File Access - Read, write, and list local files with path security

  • Web Fetching - Fetch web articles and pages

  • Google Cloud Storage - Read and list files in GCS buckets (requires credentials)

Related MCP server: MCP Workspace Server

Prerequisites

  • Node.js 18+

  • npm or yarn

Installation

1. Clone and Install Dependencies

cd C:\Projects\flexfs-mcp
npm install

2. Build the Project

npm run build

This compiles TypeScript to JavaScript in the dist/ folder.

3. Start the Server (Development)

npm run dev

This runs the server with hot-reload using nodemon.

4. Start the Server (Production)

npm start

This runs the compiled server from dist/server.js.

IDE Setup

Codex

Edit C:\Users\<YourName>\.codex\config.toml:

[mcp_servers.flexfs-mcp]
command = "node"
args = ["C:/Projects/flexfs-mcp/dist/server.js"]

Cursor

Edit C:\Users\<YourName>\.cursor\mcp.json:

{
  "mcpServers": {
    "flexfs-mcp": {
      "command": "node",
      "args": ["C:/Projects/flexfs-mcp/dist/server.js"]
    }
  }
}

Kiro

Edit C:\Users\<YourName>\.kiro\config\mcp.json:

{
  "servers": {
    "flexfs-mcp": {
      "command": "node",
      "args": ["C:/Projects/flexfs-mcp/dist/server.js"]
    }
  }
}

Claude Desktop

Edit C:\Users\<YourName>\AppData\Roaming\Claude\mcp_servers.json:

{
  "flexfs-mcp": {
    "command": "node",
    "args": ["C:/Projects/flexfs-mcp/dist/server.js"]
  }
}

VS Code (with MCP Extension)

Edit C:\Users\<YourName>\.vscode\extensions\modelcontextprotocol\mcp_servers.json:

{
  "flexfs-mcp": {
    "command": "node",
    "args": ["C:/Projects/flexfs-mcp/dist/server.js"]
  }
}

Available Tools

Tool

Description

Parameters

read_local_file

Read a local file

path: string

list_folder

List files in a folder

folder: string

write_local_file

Write content to a file

path: string, content: string

fetch_web_article

Fetch a web page

url: string

read_gcs_file

Read a file from GCS

bucketName: string, fileName: string

list_gcs_files

List files in a GCS bucket

bucketName: string, prefix?: string

Project Structure

flexfs-mcp/
├── src/
│   ├── server.ts           # Main MCP server
│   ├── config/
│   │   └── env.ts          # Environment config
│   ├── services/
│   │   ├── fileService.ts  # Local file operations
│   │   ├── gcsService.ts   # GCS operations
│   │   └── webService.ts   # Web fetch operations
│   ├── tools/
│   │   ├── Local/          # Local file tools
│   │   ├── GCS/            # GCS tools
│   │   └── Web/            # Web tools
│   └── utils/
│       └── pathSecurity.ts # Path validation
├── dist/                   # Compiled JavaScript
├── package.json
└── tsconfig.json

Security

  • Path validation blocks access to system directories (Windows, macOS, Linux)

  • Case-insensitive path matching on Windows

  • File existence checks before access

Troubleshooting

"Access Denied" on Windows

Make sure you've rebuilt after any changes:

npm run build

Then restart the MCP server.

IDE Not Recognizing MCP Server

Restart the IDE after updating the config file.

Install Server
F
license - not found
C
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    -
    quality
    D
    maintenance
    Provides secure file system operations for AI assistants including directory listing, file reading/writing, deletion, searching, and copying. Features safety controls like path validation, permission checks, and file size limits.
  • A
    license
    -
    quality
    C
    maintenance
    Provides secure, sandboxed file system access for AI assistants to read, write, and manage project files with controlled command execution capabilities, all confined to a designated workspace directory.
    MIT
  • A
    license
    -
    quality
    B
    maintenance
    Provides safe filesystem access for AI clients with root confinement, read-only mode, and file operations like read, write, search, copy, move, delete.
    MIT

View all related MCP servers

Related MCP Connectors

  • Securely search and manage workspace context files for AI agents and teams.

  • Reliable web access for AI agents: smart HTTP, rotating proxies, and full-browser rendering.

  • OCR, transcription, file extraction, and image generation for AI agents via MCP.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Linn-Latt/flexfs-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server