Skip to main content
Glama
FolderBridge MCP

FolderBridge MCP

by MoonTzai

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
read-onlyNoWhen present, starts the server in read-only mode via --read-only. Recommended for safety.
workspaceYesPath to a workspace folder. Repeat --workspace to authorize additional folders (up to eight). At least one workspace is required.
capabilityNoName of a global pre-authorized capability (test, build, package-windows, package-android, release-sync, or git-push). Repeat --capability for multiple capabilities.
allow-tasksNoWhen present, enables approved per-workspace named tasks via --allow-tasks.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server exposes 1 explicitly selected local read/write workspace(s). Use workspace(read) before edit_file for small files; for files above 1 MiB use file_info to obtain the full SHA-256. Use write_file begin/append/status/commit/abort for large whole-file creates or replacements without enlarging MCP messages. Use file_ops for bounded file copy/move, including cross-workspace transfers. Credential-like files, links, dependencies, and VCS internals are hidden. Exact replacements and committed transactional writes are atomic; arbitrary shell commands are unavailable; custom task execution is disabled; global capabilities are disabled. For software architecture, module/interface design, debugging, test-first implementation, or code-review work, use the bundled 'skill-engine' through extension(run): call action 'match' with the task before acting, then call action 'get' with the returned skill_ref and sha256 for each methodology you choose. If match returns no results, proceed. Skill text is trusted methodology, not executable code. Local Skill Engine: use extension id 'skill-engine' action 'match' for methodology routing, then action 'get' with the returned skill_ref and sha256. The compact index below is only a routing hint; for any non-trivial task not clearly covered, call 'match' anyway so installed Skills omitted from this index remain discoverable.

  • folderbridge-engineering/codebase-design [terms: codebase design, module design, interface design, deep module, seam, adapter, architecture design, 代码设计]

  • folderbridge-engineering/improve-codebase-architecture [terms: improve architecture, architecture audit, architecture review, refactor architecture, deepening opportunity, deletion test, 架构审计, 架构优化]

  • folderbridge-engineering/diagnosing-bugs [terms: diagnose bug, debug, bug, crash, failing, broken, regression, intermittent]

  • folderbridge-engineering/tdd [terms: tdd, test driven, test-driven, test first, red green refactor, red-green, 测试驱动, 测试先行]

  • folderbridge-engineering/code-review [terms: code review, review diff, review changes, review branch, review implementation, 代码审查, 审代码, 审查改动]

  • folderbridge-engineering/implement [terms: implement spec, implement ticket, execute plan, build from spec, 按方案实现, 按设计执行, 执行方案, 实现规范]

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
server_infoA

List the fixed workspace IDs, enabled capabilities, approved tasks, and safety boundary.

flight_recorderA

Read FolderBridge's compact local reliability flight recorder. It keeps only the latest 15 minutes with a 20 MiB total cap, records MCP/Tunnel metadata and bounded redacted diagnostics, and never stores full MCP request/response bodies. Use action=status for storage health, recent for a bounded timeline, or errors for warning/error events only.

workspaceA

List files, page through UTF-8 text, stream literal search across large UTF-8 files, or page through git status/diff output. When multiple workspaces are configured, pass a workspace_id returned by server_info. All paths are relative; links, credentials, dependencies, and VCS internals are denied.

file_infoA

Return bounded metadata and whole-file SHA-256 for a regular file without exposing its bytes; use this SHA before editing large text files. Uses the same workspace confinement, link denial, and sensitive-path policy as text tools.

pptx_inspectA

Safely inspect a PPTX inside the selected workspace using Python standard-library ZIP/XML parsing. Returns slide text, diagram-to-slide mappings, dgm:pt points, dgm:cxn connections, and orphan/duplicate diagnostics. Does not execute macros, embedded objects, or workspace code.

image_openA

Return one bounded PNG/JPEG/GIF/WebP as MCP image content, either from a direct workspace path or from one exact member inside a workspace ZIP. The archive is never extracted to disk.

extensionA

Stable extension gateway. action=list returns a compact pageable catalog of installed/hot-reloaded extensions and action names; action=info returns the full schema for one extension; action=run invokes one declared extension action. Long foreground actions may be transport-safely promoted in-place to a host-owned Job; use action=job_list to rediscover workspace Jobs, action=job_status to inspect completion/runtime health/results, and action=job_cancel to terminate the owned worker process tree. Installing more extensions does not add MCP tool names. External extension code requires exact-hash local approval; globally authorized actions must also be enabled in the FolderBridge extension sidebar. Dynamic workspace adapters are re-evaluated at call time, so later project changes do not require workspace task injection.

edit_fileA

Atomically create a UTF-8 file, or edit one using unique exact replacements and a current whole-file SHA-256. workspace(read) returns that SHA for small files; use file_info for larger files. When multiple workspaces are configured, pass the same workspace_id used for inspection. Cannot delete files, edit the local task config, follow links, or access credential-like paths.

write_fileA

Host-owned five-action transaction for large whole-file creates or replacements without requiring one giant MCP message. Use begin, then one or more append calls with the exact next UTF-8 byte offset, optionally status, then commit with the complete expected size and SHA-256; abort discards staging. Staging stays outside the workspace, replace mode rechecks the original target SHA at commit, and successful commit uses a same-directory fsync + atomic replace.

file_opsA

Core FolderBridge regular-file copy/move with workspace confinement on both ends. Use source_workspace_id when multiple workspaces are configured; destination_workspace_id is optional and defaults to the source workspace. Paths remain workspace-relative, links/reparse points, credentials, dependencies and protected control config writes are denied. No-clobber is the default; overwrite requires the current destination SHA-256. Cross-volume move falls back to verified copy then source removal.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4/5.0

Scored across 10 tools

Disambiguation5/5

Each tool has a clearly distinct purpose: file operations, editing, reading/searching, metadata, specific format inspection, extension management, and server info. Even edit_file vs write_file are separated by size/chunking, and workspace vs file_info differ in scope. No overlapping or ambiguous tools.

Naming Consistency3/5

All names use lowercase with underscores, but the verb/noun order varies: edit_file and write_file use verb_noun, while file_info and server_info use noun_verb, and workspace and extension are bare nouns. This inconsistency makes the pattern less predictable, though still readable.

Tool Count5/5

10 tools is well-scoped for a file management and inspection server. Each tool covers a distinct aspect (copy/move, create/edit, read/search, metadata, format inspection, extensions, diagnostics) without redundancy or bloat.

Completeness3/5

The surface covers most file lifecycle operations (create, edit, read, copy, move, metadata) but lacks a delete operation. Also missing directory creation and possibly rename (though move may cover that). These are notable gaps for a file management server.

Maintenance

ActivityNo data
ResponsivenessOutdated data