Loopback
Exposes the local MCP endpoint publicly through a Cloudflare Tunnel (named or token-based), optionally gated by an access policy using Cloudflare Access, OAuth, or both, and configurable from the dashboard.
Exposes the local MCP endpoint over a tailnet using Tailscale Serve (tailnet-only) or Tailscale Funnel (public), providing ingress without a hosted relay.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Loopback
Self-hosted Model Context Protocol (MCP) gateway for your computers and servers.
Give an MCP client scoped access to files, shell commands, jobs, terminals, and SSH targets on machines you control. Loopback serves one authenticated Streamable HTTP endpoint and a dashboard. Start on localhost, then choose how to expose the gateway if a remote client needs it.
Install · Connect a client · Supported platforms · Documentation · Download the release
What you can do
Use case | Loopback gives you |
Work on your machine from an MCP client | File and document tools, shell commands, background jobs, and persistent terminals on supported hosts. Tool reference |
Manage several machines through one gateway | Register Loopback nodes or plain SSH targets and set a separate policy for each. Fleet and SSH |
Control what a client can access | OAuth 2.1 with PKCE or revocable API tokens, filesystem roots, tool permissions, command approvals, and OS sandboxing where available. Authentication · Permissions |
Connect from another network | Use Tailscale Serve for private tailnet access, Tailscale Funnel, Cloudflare Tunnel, or a fixed ngrok hostname for public HTTPS, or a reverse proxy you manage. Deployment · ngrok setup |
Diagnose failed or interrupted calls | Inspect gateway receipts, policy decisions, dispatch, and exit status. Export redacted JSON or Markdown from Execution traces. Execution traces |
Related MCP server: InstaServer
Install
Install on the machine the client should access. Use a regular user account and start with local ingress. Use the GitHub release assets for a versioned download, or follow the checkout commands below. See installation details for prerequisites, noninteractive options, and distribution status.
Linux and macOS
Requires Git, Bash, and Python 3.11+ with venv. The installer can offer prerequisite installation through supported package managers.
git clone https://github.com/p5n-n3t/loopback.git
cd loopback
./install.sh --non-interactive --ingress localWindows 10 and 11
Requires Git, PowerShell, and Python 3.11+. Omit --non-interactive to allow the installer to offer Python installation through winget.
git clone https://github.com/p5n-n3t/loopback.git
Set-Location loopback
.\install.ps1 --non-interactive --ingress localSee Windows limitations for shell isolation, persistent terminals, and Task Scheduler.
Verify the installation
Open a new terminal if the launcher directory was just added to your PATH.
loopback status
loopback url
loopback dashboard --openUse the URL printed by loopback url as the MCP server URL. The local default is http://127.0.0.1:2026/mcp. Run loopback doctor --deep if setup fails. For an existing installation, follow the upgrade guide.
Connect a client
Open the dashboard and review the tools, filesystem roots, and shell policy you want the client to use.
Add the server URL to an MCP client that supports Streamable HTTP. Use OAuth when supported. For a bearer-only client, create a revocable API token with the scopes it needs.
Start with a read-only tool such as
machine_info, then check its receipt in Execution traces.
For a hosted client, configure HTTPS ingress reachable from that client. Loopback records calls that reach the authenticated gateway. A hosted client can reject an action before dispatch, in which case there may be no gateway receipt. See web agent setup and client capabilities.
Ask in plain English
Once connected, tell the client what you want done in ordinary language. Mention the machine, the folder or resource, and the limits of the task.
“Using Loopback on the local machine, summarize the README in my project folder. Read only.”
“On my registered build server, check available disk space and show the three fullest filesystems. Do not change anything.”
“Check the status of the last Git commit in my project, then show the exit status and any Loopback receipt returned by the call.”
Loopback does not require a subscription. The chat or IDE still needs support for custom MCP servers. Claude Free includes one remote custom connector. In ChatGPT Web, check whether your account can add a custom MCP server under Plugins and use it in the intended conversation. The Plugins directory is available across plans, while a specific connector's tools depend on the account and conversation surface. See client and account requirements.
Use responsibly
An eligible web chat can use Loopback for coding tasks such as reading a checkout, running tests, and applying authorized edits. The web client still chooses the available models, thinking levels, tools, and approval flow. Everyday chat allowances do not grant unlimited tool runs or Codex usage. Use supported connection methods and respect provider limits and safety controls. Only connect machines and accounts you are authorized to operate. You are responsible for the access you grant and the actions you approve. Loopback is provided as-is under the MIT license. See ChatGPT Web vs. Codex CLI.
Supported platforms
Gateway host | Service manager | Shell isolation and limits |
Linux, x86_64 and arm64 | systemd user service where available | Landlock or bubblewrap, depending on the host. |
macOS 13+, Intel and Apple Silicon | launchd LaunchAgent | Seatbelt where |
Windows 10/11, x86_64 | Task Scheduler at logon | No OS sandbox for arbitrary shell commands and no persistent PTY. |
GitHub CI runs the Python suite on Ubuntu with Python 3.11 and 3.13. See the platform guide for capability differences and validation scope.
Documentation
Set up · Installation, configuration, deployment, upgrades
Connect and secure · Authentication, permissions and sandboxing, Cloudflare, Tailscale
Operate · Dashboard, fleet, independent workers, execution traces, troubleshooting
Integrate · Tools, agent skills, plugin packaging, architecture, admin API
See the full docs index, changelog, and security policy. Loopback is available under the MIT license.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP gateway and cloud hosting for MCP servers, agents and apps like RAG, managed from your agent.
Secure and manage MCP servers through the Speakeasy AI Control Plane from your agent.
Talk to your public-facing AI from any MCP client — Claude, ChatGPT, Cursor, Cline, Windsurf.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Related MCP Servers
AlicenseNot gradedqualityDmaintenanceEnables remote MCP clients to securely access a trusted macOS machine's local file system and command execution tools (mcp-combiner) via OAuth-authenticated HTTPS through Cloudflare Tunnel, without opening router ports.MIT- AlicenseAqualityCmaintenanceEnables AI agents to deploy and manage Docker containers on your own machine via MCP tools, providing public HTTPS URLs through free Cloudflare quick tunnels.12MIT
- AlicenseNot gradedqualityCmaintenanceExposes a local machine as a remotely accessible MCP server via Cloudflare Tunnel, enabling web agents to read/write files, run PowerShell, use local skills, bridge to other MCP servers, search the web, and collaborate on tasks with local agents.26 npm2MIT
- AlicenseNot gradedqualityBmaintenanceEnables MCP clients to securely connect to a paired Windows machine through a self-hosted Cloudflare relay and use its local filesystem and command-execution tools over Streamable HTTP and WebSocket.72 npm1MIT