FlexFS MCP
Provides tools to read and list files in Google Cloud Storage buckets.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@FlexFS MCP list files in /home/user/projects"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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 Server Toolkit
Prerequisites
Node.js 18+
npm or yarn
Installation
1. Clone and Install Dependencies
cd C:\Projects\flexfs-mcp
npm install2. Build the Project
npm run buildThis compiles TypeScript to JavaScript in the dist/ folder.
3. Start the Server (Development)
npm run devThis runs the server with hot-reload using nodemon.
4. Start the Server (Production)
npm startThis 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 a local file |
|
| List files in a folder |
|
| Write content to a file |
|
| Fetch a web page |
|
| Read a file from GCS |
|
| List files in a GCS bucket |
|
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.jsonSecurity
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 buildThen restart the MCP server.
IDE Not Recognizing MCP Server
Restart the IDE after updating the config file.
Available Tools
6 toolsfetch_web_articleD
Fetches a web article
Inputs: url (required).
list_folderC
Lists files in a folder
Inputs: folder (required).
list_gcs_filesC
Lists files in a GCS bucket
Inputs: bucketName (required), prefix.
read_gcs_fileC
Reads a file from Google Cloud Storage
Inputs: bucketName (required), fileName (required).
read_local_fileC
Reads a local file
Inputs: path (required).
write_local_fileC
Writes content to a local file
Inputs: path (required), content (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Tools are mostly distinct, targeting different resources (web articles, local files, GCS files). However, 'list_folder' could be ambiguous as to whether it lists local or remote folders, and 'read_local_file' vs 'list_folder' might cause minor confusion.
All tools follow a consistent verb_noun pattern in snake_case (e.g., fetch_web_article, list_gcs_files), making them predictable and easy to distinguish.
Six tools is well-scoped for a file system server covering web fetching, local file operations, and GCS operations. Each tool serves a clear purpose without redundancy.
The tool set lacks critical operations for a 'flexible file system': no write to GCS, no delete operations for any storage, and no update or move operations. This leaves agents unable to perform basic lifecycle tasks beyond reading and local writing.
Maintenance
Related MCP Connectors
Securely search and manage workspace context files for AI agents and teams.
Artifact store for AI agents — read, write, and search files by path; share by rendered URL.
Persistent cloud workspaces for AI agents: run commands, edit files, use git and a browser.
Prompt-injection scanning and safe webpage fetching for AI agents reading untrusted content.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides 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
- AlicenseAqualityDmaintenanceProvides filesystem, web search, SQLite, and system tools for AI assistants like Claude, enabling secure access to local resources and the web.6MIT
- AlicenseNot gradedqualityBmaintenanceExposes local file system operations to AI assistants via Streamable HTTP with security features like auth, path whitelisting, and audit logging.280 npm2MIT
- AlicenseNot gradedqualityCmaintenanceProvides AI clients with safe, structured access to local filesystem, Git repositories, and project contexts, featuring file operations, git status/diff, project management, and built-in code review/bug analysis prompts.2,530 npmMIT