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 Server Toolkit

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.

Available Tools

6 tools
fetch_web_articleD

Fetches a web article

ParametersJSON Schema
NameRequiredDescriptionDefault
urlYes

TDQS

D1.8/5.0
Behavior1/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations provided; description fails to disclose behavioral traits such as error handling, rate limits, or output format. With zero annotation coverage, the description carries full burden and is silent.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Extremely concise (1 sentence) but at the expense of clarity. Under-specification makes it inadequate, not effectively concise.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With one parameter, no output schema, and no annotation context, the description leaves critical gaps: output format, error behavior, and scope of 'article'. Incomplete for agent decision-making.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Parameter 'url' has schema format 'uri', but description adds no meaning beyond the schema. Schema description coverage is 0%, and the description does not compensate for missing parameter details.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description uses verb 'Fetches' and resource 'web article', indicating a retrieval action. It distinguishes from sibling file tools, but 'fetch' is vague and could imply various output formats.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this tool versus alternatives like read_gcs_file or read_local_file. Lacks context for appropriate usage scenarios.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

list_folderC

Lists files in a folder

ParametersJSON Schema
NameRequiredDescriptionDefault
folderYes

TDQS

C2.3/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description is minimal and does not disclose behavioral traits such as recursion, hidden files, sorting, or error handling. Since no annotations are provided, the description should carry the burden but fails to do so.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is very short (5 words) but lacks essential details. It is under-specified, not concisely informative. A concise description should still provide enough context for correct usage.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the lack of output schema, annotations, and parameter descriptions, a complete description is critical. The current description does not cover return format, behavior, or edge cases, leaving the agent under-informed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has a required 'folder' parameter with no description (0% coverage). The description does not clarify the expected format, path type, or any constraints, adding no value beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('lists') and resource ('files in a folder'), providing a basic understanding of the tool's function. However, it does not distinguish the tool from sibling tools like 'list_gcs_files', which also lists files but in a different storage context.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives such as 'list_gcs_files' or 'read_local_file'. There is no mention of use cases, prerequisites, or limitations.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

list_gcs_filesC

Lists files in a GCS bucket

ParametersJSON Schema
NameRequiredDescriptionDefault
bucketNameYes
prefixNo

TDQS

C2.4/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description bears full burden but only states 'lists files' without disclosing read-only nature, output format, or side effects. This leaves significant ambiguity.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

At five words, it is very concise but may be too brief, omitting helpful context. It is not verbose but sacrifices completeness.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the presence of siblings with similar names, the description should clarify what is listed (e.g., full metadata vs. names) and any constraints like pagination. It fails to provide a complete picture.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the description does not explain the meaning or use of bucketName or prefix. The prefix parameter's purpose (filtering) is entirely absent.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb 'lists' and the resource 'files in a GCS bucket', distinguishing it from siblings like read_gcs_file. However, it lacks specificity on what is returned (names vs metadata).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives like read_gcs_file or list_folder. The description does not mention context or prerequisites.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

read_gcs_fileC

Reads a file from Google Cloud Storage

ParametersJSON Schema
NameRequiredDescriptionDefault
bucketNameYes
fileNameYes

TDQS

C2.4/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, and the description only says 'reads a file'. It does not disclose permissions, size limits, encoding, or whether it returns text or binary data, leaving significant behavioral gaps.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence, which is concise, but it is too sparse and could benefit from additional context without becoming overly long.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no output schema and simple parameters, the description lacks details on return format, behavior, and error cases. It is incomplete for a tool that likely returns file contents.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 0% description coverage for parameters, and the description adds no meaning beyond parameter names (bucketName, fileName). No clarification on format or constraints.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it reads a file from Google Cloud Storage, using a verb+resource structure. It distinguishes from siblings like read_local_file and fetch_web_article by specifying the storage system.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit guidance on when to use this tool versus alternatives (e.g., list_gcs_files, read_local_file). The name implies its use, but the description does not provide context or exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

read_local_fileC

Reads a local file

ParametersJSON Schema
NameRequiredDescriptionDefault
pathYes

TDQS

C2.3/5.0
Behavior1/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description bears full responsibility for disclosing behavior. It fails to mention what happens if the file does not exist, the encoding (binary/text), or whether the file is read entirely. This lack of transparency significantly hinders correct usage.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence, which is concise, but it omits critical information. While not wasteful, it is under-specified for a useful tool description.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the simple interface (one parameter, no output schema), the description should at minimum state that the tool returns file contents. Without this, the agent cannot predict the output, making the description incomplete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has one parameter 'path' with 0% description coverage, and the tool description adds no additional meaning (e.g., expected format, relative vs absolute). The agent must infer path semantics from the name alone.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb 'Reads' and the resource 'local file', which aligns with the tool's name and distinguishes it from siblings like read_gcs_file. However, it lacks specificity about what is returned (e.g., contents of the file), which would enhance clarity.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives like read_gcs_file or fetch_web_article. It also omits prerequisites such as file existence or permissions, leaving the agent without context for appropriate invocation.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

write_local_fileC

Writes content to a local file

ParametersJSON Schema
NameRequiredDescriptionDefault
pathYes
contentYes

TDQS

C2.7/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description must disclose behavior but only says 'writes content'. It does not specify overwrite behavior, directory creation, errors, or permissions, leaving significant gaps.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence, which is concise but arguably too minimal given the tool's complexity. It earns its place but lacks necessary detail.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given two required parameters and no output schema, the description fails to cover expected behavior, such as return values or error handling, making it incomplete for reliable use.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, but the description offers no additional meaning for 'path' or 'content' beyond their names. No format, encoding, or constraints are mentioned.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Writes content to a local file' clearly states the action (write) and the resource (local file), and distinguishes it from sibling tools like 'read_local_file'.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool, prerequisites, or alternatives. The description does not mention when not to use it or any constraints.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 6 tool updatesv1.0.0
    • First observedfetch_web_article
    • First observedlist_folder
    • First observedlist_gcs_files
    • First observedread_gcs_file
    • First observedread_local_file
    • First observedwrite_local_file

TDQS

C2.7/5.0
Disambiguation4/5

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.

Naming Consistency5/5

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.

Tool Count5/5

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.

Completeness2/5

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

ActivityInactive
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

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

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    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
    Not graded
    quality
    B
    maintenance
    Exposes local file system operations to AI assistants via Streamable HTTP with security features like auth, path whitelisting, and audit logging.
    347
    2
    MIT

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