Repository avatar
AI Tools
v0.1.2
active

fintether

io.github.finogeeks/fintether

Self-hosted bridge that lets an AI agent use allowlisted tools and files on one paired computer.

Documentation

English · 简体中文 · 繁體中文

FinTether: a remote control for your AI agent

Your agent runs in the cloud. Your files, repos and command-line tools are on your computer. FinTether connects the two, and never opens a port on your home or office network.

Think of FinTether as a remote control for your AI agent. Through it, the agent can use the tools and run commands on one of your computers, and those can be virtually anything. You decide which tools and commands it may use and which actions wait for your OK, every action is written down, and you can add FinShield on that computer to protect it.

What you can let the agent doWhat happens
Read files (fs_read) in the one folder you sharedRuns right away, if your policy allows reads
Run a command you declared (for example pytest or make build)Runs right away if you marked it a harmless read; otherwise waits for your approval
Write files (fs_write) in the one folder you allowedAlways waits for you to click Approve in your browser
Other tools and commands on that computerYou can add them as declared commands, so the agent can use them under the same approval rules

Every action is recorded in a tamper-evident log on both the gateway and the device.

Example. A cloud coding agent fixes a bug, but the integration tests only run on your office workstation. It calls your declared run_tests command through FinTether, the agent passes you the approval link, you click Approve, and the test output goes back to the agent. The agent never got a shell, and nothing else on the workstation was reachable.

License: Apache-2.0 Works with FinShield

https://github.com/user-attachments/assets/bb398df7-f7fa-46fa-a0a5-3e933f0a02b6

Watch the 47-second overview — narrated motion graphic, drawn in code and SVG (not generated images, and not a recording of customer or user data). If the player does not load, download the MP4 (English captions).

Next: understand the pieces · see the first successful task · set it up

Who holds the remote?

The agent does, and you decide what is on it. That is the opposite direction from phone "remote control" features such as Claude Code Remote Control, where you use your phone to steer one vendor's agent session that runs on your computer. If all you need is to keep an eye on that session from your phone, those features are simpler: no gateway, domain or certificate.

FinTether is for the case where the agent runs somewhere else (a cloud agent, a server, another laptop) and needs to reach into your machine for a few specific things. It works with any agent that speaks MCP over HTTPS, whatever model it uses, through a gateway you host yourself.

Why not just SSH, a VPN, or a tunnel?

Those connect machines. FinTether limits what an agent may do once they are connected.

SSH key for the agentVPN or tunnel + your own MCP serverFinTether
What the agent can reachA full shell as that userWhatever your server exposesOnly the tools you listed, inside the folders you chose
Asks you before a writeNoOnly if you build itAlways, with an Approve click in the browser
Access per agent, per device, revocablePer keyOnly if you build itOAuth grant per agent and device; revoke on the owner page
Record of every callShell history, if keptOnly if you build itHash-chained audit logs on gateway and device
Inbound port on the device's networkUsually, or a VPNDepends on the toolNone: the device dials out

How it works

You're away from your desk, but the work you need is on a computer at home or in the office: the repo you never pushed, the export still on disk, the command-line tool that only runs locally. FinTether lets you send an agent, running in the cloud or on another computer, to that machine to carry on the work there with its files and tools. It works only when that computer is online, paired with you, and the action is allowed.

There are three pieces, and you run all of them yourself:

PieceWhat it isWhere it runs
Gateway (fintether-gateway)Your own small server. Agents talk to it, you sign in to it, and devices connect out to it.A Linux server or cloud VM with a domain name and an HTTPS certificate
Device daemon (fintetherd)A background program on the computer that has the files and tools. It dials out to your gateway, so nothing needs to be opened on that computer's network.The Mac (Apple silicon) or Linux x86_64 computer you want the agent to reach. See platforms for Windows.
Your agentAny AI agent that speaks MCP over HTTPS: Cursor, Codex, your own harness. FinTether does not include a chat app or a model.Anywhere: the cloud, your laptop, another server

And one person: you, the owner. You set one password on your gateway, pair each device, decide which agent may use which tools, and click Approve before anything is written on a device.

FinTether architecture: agents and operators call the gateway; the enrolled device dials out; policy, approval, and allowlisted tools run on-device; optional FinShield execution guard; audit logs are local on gateway and device.

How a request travels: the agent calls your gateway's MCP address → the gateway checks the agent's permission and forwards the request over the connection the device opened → fintetherd checks your local policy, runs the allowed tool inside the folders you chose (optionally inside FinShield), and sends only the result back. Reads you allowed run straight away. Writes wait for your click in the browser. Both the gateway and the device keep their own tamper-evident audit log on disk.

What you need before you start

  • A Linux server with a domain name and a TLS certificate for the gateway (a small cloud VM and a free Let's Encrypt certificate are enough). This is the biggest setup step; there is no hosted gateway in the open-source edition.
  • The device: a Mac with Apple silicon or a Linux x86_64 computer, which has to be online while the agent works. If it is asleep or fintetherd connect is not running, that tool call fails right away; there is no offline queue.
  • Your own agent and model. FinTether does not ship a chat UI or a model.
  • A plan for the limits. Folders, policy, approvals and FinShield are how you keep the agent's reach small. Connecting two machines does not by itself protect anything.

Get started

The five steps, at a glance

  1. Gateway: put fintether-gateway on a server that has a domain name and a TLS certificate. → gateway-setup
  2. Owner: open the gateway's one-time setup page and choose your owner password. → gateway-setup § Create the owner
  3. Device: on your Mac or Linux computer, run fintetherd pair, type the gateway address and the pairing code from your owner page, then keep fintetherd connect running with the folders you want to share. → fintetherd
  4. Agent: register your agent with the gateway once, then sign in from the agent and choose which tools it may use. → connect-an-agent
  5. Work: the agent reads files you allowed, and asks you before it writes. → pairing-and-approvals

Install from the release tag, not from main, and read each script before you run it:

# Device (Mac with Apple silicon, or Linux x86_64)
curl -fsSLO https://raw.githubusercontent.com/finogeeks/fintether/v0.1.2/install.sh
env FINTETHER_VERSION=0.1.2 sh install.sh

# Gateway (Linux server, as root)
curl -fsSLO https://raw.githubusercontent.com/finogeeks/fintether/v0.1.2/install-gateway.sh
sudo FINTETHER_VERSION=0.1.2 sh install-gateway.sh

Setup

I want to…Go to
Pass setup to my agent (no Rust; gateway + device on two machines)Agent setup overview — skills on gateway · device (on tag v0.1.2; pin that tag for binaries and installers)
Understand the words (owner origin, TLS certificate, pairing, PKCE…)Concepts and glossary
See the whole journey before I startGetting started
Read one fixture file on my deviceFirst successful task
Optional same-machine trial (Linux x64 binaries only)Getting started → Try it locally
Put a real gateway on a cloud server, with a TLS certificateSet up the gateway
Install the gateway on Linux (root)gateway-setup → automated install
Optional Standard gateway in Docker (build from this repo; not the primary install)packaging/gateway/README.md
Install and run fintetherd on my device, and know every optionfintetherd guide
Let a device connect to my gateway, and approve what agents doPairing and approvals

Agents

I want to…Go to
Point Cursor, Codex or my own agent at the gatewayConnect an agent

Hardening

I want to…Go to
Add FinShield on the deviceUse FinShield with fintetherd

Maintain and develop

I want to…Go to
Update fintetherd or the gatewayUpdating
Compile from source (developers only — not for agents)Build from source (advanced)

Security at a glance

ControlWhat happens
EncryptionAgents, browsers and devices all reach the gateway over HTTPS/TLS. The device also remembers ("pins") your gateway's identity when it pairs.
Device joins only with your codeA one-time pairing code from your owner page, valid 15 minutes, plus a yes/no confirmation on the device
Agent accessOAuth 2.1 with PKCE. Each agent gets only the tools you type in on the consent page, for one device. Revoke any time.
WritesAlways wait for your Approve click in the browser
On the deviceYour policy.json, the folders you passed, optional FinShield
RecordsHash-chained audit logs on the gateway and on the device; check them with fintether-cli audit-verify

Details: security checklist, SECURITY.md.

Recommended: run with FinShield

FinShield sets limits on what AI tools can do on your computer: which files, programs and network connections they may use. It is free to download, optional, and highly recommended.

FinTether lets the agent use the tools and commands on your computer. FinShield contains how those tools run, with operating-system-level confinement. When you turn on the FinShield backend and FinShield is missing or broken, fintetherd refuses to run tools instead of running them unguarded.

Built-in backend (default)With FinShield
How tools runLimited to the folders you chose; writes need your approval. Not a hardened sandbox.Each tool run is wrapped by FinShield's OS confinement
If the guard is missingNot applicableFails closed: the tool does not run
InstallNothing extraInstall FinShield, then add --execution-backend finsafe to fintetherd connect

Step by step: docs/finshield.md.

Release status and platforms

FinTether is pre-1.0. v0.1.2 is the latest published release on the Releases page, with SHA256SUMS. Downloads are unsigned, so macOS shows a Gatekeeper warning the first time (the fintetherd guide shows how to allow it). Use the tagged installers and the agent skills above, not a Rust compile, for first-time setup.

v0.1.2 at a glance

Supported nowNot yet / known limits
DevicemacOS (Apple silicon), Linux x86_64Windows x64: the fintetherd binary ships as a release zip, but guided pair / connect is not supported yet, so use a Mac or Linux device for first-time setup. No Linux arm64 device, no Intel Mac.
GatewayLinux x64 and arm64 release tarballsNo macOS gateway binary
ConnectivityLive session while fintetherd connect runsNo offline tool-call queue if the device sleeps
TrustReleases ship SHA256SUMSUnsigned binaries (macOS Gatekeeper on first run)

For operators and developers

What is open source here?

LayerWhat it is
This repository (Apache-2.0)fintether-gateway, fintetherd, MCP/OAuth operator surfaces, built-in execution backend, hash-chained audit
Optional add-on (FinShield)OS-level confinement for tool runs; separate product and license
Reference / ecosystemFinClaw harness — not required to self-host
CommercialFinTether Enterprise

What you run vs. what's in the repo

Self-hosting needs two programs from this repository (release binaries or install scripts). The other top-level fintether-* crates are libraries and developer tools.

You install / runBuilt fromIgnore for first-time setup
fintether-gatewayfintether-server crate (src/bin/fintether-gateway.rs)Protocol, audit, and test crates (see developer guide)
fintetherdfintetherd crate (uses fintether-agent, fintether-runtime, …)fintether-cli (audit verify and dev ops), fintether-testkit / fintether-integration (tests)
Your MCP agentNot in this repofintether-agent is for embedders, not the chat agent you use daily

Trust and session flows

Device pairing and the ongoing outbound WebSocket are separate from agent OAuth 2.1 + PKCE. See the sequence diagram in Concepts.

Reference

DocContents
http-api.mdEvery HTTP and MCP route and how it is authorized
developer-guide.mdCrates, protocol, tools.toml, embedding, test harness
agent-harnesses.mdFinClaw reference harness and legacy token mode
workspace-execution.md · environment-preparation.mdManaged workspaces and runtimes over MCP
production-deployment.mdAudit files, policy reload, release artifacts
Product and demand researchDated user research, evidence and proposed priorities

Editions

This repository is FinTether, open source under Apache-2.0. FinTether Enterprise is the commercial edition. See editions.md and finaios.ai.

License

FinTether is licensed under the Apache License, Version 2.0. Third-party components are listed in THIRD_PARTY_LICENSES.md; attribution is in NOTICE.

FinShield and FinClaw are separate products with their own terms; install scripts only fetch pinned binaries you choose to install.


FinTether is part of FinAI OS by Finogeeks.

OCI
ghcr.io/finogeeks/fintether-gateway:0.1.2-mcp
Install Command
docker pull ghcr.io/finogeeks/fintether-gateway:0.1.2-mcp:undefined