Skip to main content
Glama

Flint Remote

简体中文 · Security · Roadmap

Self-hosted, consent-based remote workspace MCP.

One gateway. One foreground device command. Standard MCP tools.

Preview · v0.2.0 — read-only device and workspace inspection, not a full Desktop Commander Remote replacement. The gateway deliberately listens on loopback only. No remote shell, file writing, silent enrollment, or customer firewall bypass.

Quick start

Requires Node.js 22.12+ and npm. From the repository:

npm ci --ignore-scripts
node src/cli.mjs help

1. Start the gateway

Run these commands once on the gateway host, and leave the gateway running.

node src/cli.mjs init
node src/cli.mjs gateway

Configuration is generated locally in your private user directory. No default or hard-coded credentials.

2. Authorize a device

Open the local device dashboard at http://127.0.0.1:8787/ and authorize it using the admin token from your private configuration. The dashboard does not persist the token in browser storage. You can create a pairing code, refresh the device list and revoke a device. Alternatively, in a second terminal on the gateway host, generate a single-use code:

node src/cli.mjs enroll

Install the pinned upstream engine on the test device, then choose an existing isolated, non-sensitive directory you own (create ./demo first for this example):

npm install --no-save --package-lock=false --ignore-scripts @wonderwhy-er/desktop-commander@0.3.4
node src/cli.mjs connect --relay http://127.0.0.1:8787 --workspace ./demo

Type YES and enter the short-lived code when prompted. Ctrl+C requests immediate session revocation. If disconnected from the network before revocation is acknowledged, ask the gateway owner to revoke the device. This version is for same-host loopback testing, not cross-network production operation.

3. Connect an MCP client

Use the MCP Streamable HTTP endpoint at http://127.0.0.1:8787/mcp and the controller bearer token in your private gateway configuration. Your client must support custom HTTP authorization.

Tool

Purpose

list_devices

List enrolled devices and their recent connection state

device_status

Check an enrolled device

list_workspace

List the locally selected directory using Desktop Commander

Device management: flint-remote devices and flint-remote revoke --device ID (use node src/cli.mjs in a checkout).

Related MCP server: branchlift

Architecture

flowchart TD
  A["MCP client"] <-->|"MCP / controller authorization"| B["Flint gateway"]
  C["Foreground device adapter"] <-->|"Device-initiated requests / separate identity"| B
  C -->|"Fixed read-only tool"| D["DesktopCommanderMCP"]
  D --> E["Locally selected workspace"]

The project reuses the Desktop Commander local MCP engine and the official MCP TypeScript SDK. No official Desktop Commander Remote account, cloud service or session is reused.

Security and scope

  • A user selects the workspace and explicitly authorizes a foreground session.

  • Separate admin, controller and device credentials. Single-use enrollment codes expire after five minutes.

  • The gateway and device permit only fixed read-only tools; the remote peer cannot supply arbitrary paths or commands.

  • Revocation invalidates the device credential and pending requests. Configuration and logs must remain private.

  • No production claim: TLS termination, durable identity, independent security review, cross-network integration and full cross-platform validation remain open.

See security policy, requirements, architecture decision and verification.

Installation check

Run node src/cli.mjs doctor --workspace ./demo to check the Node runtime, local tool engine and workspace before pairing.

Development

npm test

To test a real installed upstream executor, set the FLINT_TEST_DC_ENTRY environment variable to its local JavaScript entry point. The fixture is created and removed within the repository's ignored runtime directory. Otherwise the integration test uses a fake executor. Run npm run test:upstream after installing the pinned upstream package to explicitly exercise the real tool engine.

MIT · Independent project; not affiliated with Desktop Commander.

Device package preview

The Device package preview workflow builds a standalone npm archive with the pinned local execution engine. After that workflow passes, download the archive from its GitHub Actions artifacts and extract it. With Node.js 22.12+ installed, inspect the package locally using:

npm exec --yes --ignore-scripts --package=./flint-remote-device-preview-0.2.0.tgz -- flint-remote doctor

The archive is a read-only local preview, not a production installer. Review it before use. A published npm registry package and signed release are not yet available.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      C
      maintenance
      A read-only MCP server for Microsoft Intune and Entra ID that enables list, get, search, and reporting operations for tenant visibility, audits, troubleshooting, and health reporting without write actions. It includes authentication helpers, report exports, and metadata discovery tools.
      36
      1
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables local MCP access to attach to isolated backend environments, monitor runtime health/logs, check security posture, manage snapshots and diffs, audit events, and view sanitized remote inventory.
      12 npm
      Apache 2.0
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI clients to perform safe, read-only IT diagnostics and retrieve local runbooks, asset records, and knowledge articles through MCP, with allowlisted network checks and audit logging.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables owner-controlled local file operations, read-only Git inspection, and exact preconfigured command profiles through MCP for secure remote computer workflows.
      MIT