Skip to content

Conversation

@vibegui
Copy link
Contributor

@vibegui vibegui commented Dec 30, 2025

CleanShot 2025-12-29 at 23 31 21 CleanShot 2025-12-29 at 23 31 58

this adds a local mcp server - after we publish it will default to npx @decocms/mcp-local-fs

CleanShot 2025-12-29 at 23 32 15 CleanShot 2025-12-29 at 23 32 52 CleanShot 2025-12-29 at 23 33 05

in the future: S3, R2, etc etc


Summary by cubic

Adds an Add Binding modal and a Files menu, and implements the File Storage binding with a local MCP (STDIO) option plus a full file browser/editor UI.

  • New Features

    • File Storage binding: FILES/FOLDERS collections, schemas, and tools definitions.
    • Local FS MCP: well-known connection, stable STDIO transport, /mcp/local-fs and /api/files routes; defaults to npx @decocms/mcp-local-fs after publish.
    • Files experience: new /$org/files page, drag-and-drop uploads, previews, and Monaco-based text editor; per-connection storage selector.
    • Add Binding modal: quick setup for common bindings, including file storage.
    • STDIO connections: new type with encrypted env vars; fetch-tools and proxy support; settings UI for NPX/STDIO/HTTP; disabled in production unless UNSAFE_ALLOW_STDIO_TRANSPORT=true.
    • Sidebar: shows a Files menu when a storage connection exists.
    • Dev quality: optional rate limit toggle (DISABLE_RATE_LIMIT), lefthook pre-commit, and local storage gitignore.
  • Migration

    • Install dependencies (includes @monaco-editor/react) and lefthook: npx lefthook install.
    • To use STDIO in production, set UNSAFE_ALLOW_STDIO_TRANSPORT=true.
    • For local storage, create a Local FS connection via Add Binding and use NPX once the package is published.

Written for commit 7da18af. Summary will update on new commits.

@github-actions
Copy link
Contributor

🧪 Benchmark

Should we run the MCP Gateway benchmark for this PR?

React with 👍 to run the benchmark.

Reaction Action
👍 Run quick benchmark (10 & 128 tools)

Benchmark will run on the next push after you react.

@github-actions
Copy link
Contributor

Release Options

Should a new version be published when this PR is merged?

React with an emoji to vote on the release type:

Reaction Type Next Version
👍 Prerelease 1.0.0-alpha.42
🎉 Patch 1.0.1
❤️ Minor 1.1.0
🚀 Major 2.0.0

Current version: 1.0.0-alpha.41

Deployment

  • Deploy to production (triggers ArgoCD sync after Docker image is published)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants