RelayForge MCP
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@RelayForge MCPsearch my project for TODO comments and summarize them"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
RelayForge MCP
RelayForge MCP is a portable Model Context Protocol (MCP) server that gives compatible AI clients a controlled bridge to local files, processes, search, and document utilities.
It supports MCP Streamable HTTP, so it can be connected to web-based AI clients that accept a remote MCP URL, as well as local MCP clients.
What it provides
RelayForge exposes tools for:
Reading, writing, moving, and inspecting files
Editing text blocks
Directory creation and listing
File/content search with progressive results
Starting and interacting with terminal processes
Listing and terminating processes
PDF creation and manipulation
Excel, DOCX, image, and text handling
Configuration and local tool history
The default HTTP endpoint is:
http://127.0.0.1:3334/mcpRelated MCP server: mcp-opentym
Requirements
Node.js 18 or newer
npm
Git
Windows, macOS, or Linux
For a fixed public HTTPS URL, you also need a reverse proxy or tunnel provider. The included launcher supports a Cloudflare Named Tunnel when cloudflared is installed.
Quick start
Clone the repository:
git clone https://github.com/ediooutros500-spec/RelayForge-MCP.git
cd RelayForge-MCP
npm ci
npm run buildWindows
Double-click:
start-relayforge.batOr run:
.\start-relayforge.batLinux / macOS
chmod +x start-relayforge.sh
./start-relayforge.shConnect an AI client
In any AI client that supports remote MCP over Streamable HTTP, add an MCP server using:
Name: RelayForge MCP
Transport: Streamable HTTP
URL: http://127.0.0.1:3334/mcpA browser-hosted AI service usually cannot reach your computer's 127.0.0.1. In that case, expose RelayForge through HTTPS and register the resulting public URL instead.
Examples of compatible client types include:
Web AI products with custom MCP server support
Desktop AI clients with MCP support
IDE agents that accept MCP servers
Custom applications using the MCP SDK
The exact UI varies by product, but the URL always points to the RelayForge /mcp endpoint.
Fixed public URL
Quick tunnels create a new URL each time. For a stable URL, use a named tunnel or your own reverse proxy.
RelayForge's Windows launcher supports a Cloudflare Named Tunnel.
Copy the example environment file:
Copy-Item .env.example .envConfigure a permanent hostname in your Cloudflare Tunnel dashboard, for example:
mcp.example.com -> http://127.0.0.1:3334Put only the local secrets in
.env:
RELAYFORGE_PUBLIC_URL=https://mcp.example.com/mcp
CLOUDFLARE_TUNNEL_TOKEN=your_named_tunnel_tokenStart RelayForge:
start-relayforge.batThe launcher will start the local MCP server, start the named tunnel, and print the fixed public MCP URL.
Never commit .env, tunnel tokens, API keys, passwords, or private certificates.
You can use another HTTPS reverse proxy instead of Cloudflare. Point it to:
http://127.0.0.1:3334/mcpAuthentication
RelayForge supports an optional Bearer token on the HTTP endpoint.
Set:
RELAYFORGE_HTTP_TOKEN=use-a-long-random-secretThen configure your MCP client to send:
Authorization: Bearer use-a-long-random-secretWhen RelayForge binds to a non-loopback address, a token is required.
For public deployments, use HTTPS plus authentication. A secret URL path alone should not be treated as strong authentication.
Environment variables
Variable | Default | Purpose |
|
| HTTP bind address |
|
| HTTP port |
|
| MCP endpoint path |
| empty | Optional Bearer token |
|
| Local runtime configuration |
|
| Disables background network feature-flag fetches |
|
| Disables inherited telemetry |
|
| Restrict exposed tools to read-only subset |
| empty | Fixed public URL shown by launcher |
| empty | Optional named-tunnel token, stored locally only |
Legacy DC_* environment variables remain supported internally for compatibility with the upstream codebase, but new deployments should use RELAYFORGE_*.
Security model
RelayForge can execute commands and modify files when full tools are enabled. Treat access to the MCP endpoint like access to your computer.
Recommended practices:
Bind locally to
127.0.0.1unless remote access is required.Use HTTPS for any remote connection.
Set
RELAYFORGE_HTTP_TOKENfor public endpoints.Keep
.envoutside version control.Restrict
allowedDirectoriesin the RelayForge configuration when full filesystem access is unnecessary.Keep the inherited blocked-command list enabled.
Use
RELAYFORGE_PUBLIC_READONLY=1for low-risk remote testing.Rotate tunnel tokens immediately if they are ever exposed.
An empty allowedDirectories array means filesystem access is unrestricted by that setting.
Local-only mode
If you do not need a web AI to connect over the internet, no tunnel is required:
npm run start:httpThe MCP endpoint will be:
http://127.0.0.1:3334/mcpnpm scripts
npm run build Compile TypeScript
npm run start:http Start MCP Streamable HTTP server
npm run start:local Start the lightweight local gateway
npm test Run the upstream-compatible test suite
npm run inspector Open the MCP Inspector against the stdio serverArchitecture
AI client
|
| MCP Streamable HTTP
v
RelayForge HTTP transport
|
v
RelayForge MCP server
|
+-- filesystem tools
+-- search tools
+-- process / terminal tools
+-- document tools
+-- configuration / historyRelayForge currently contains no Supabase transport or Supabase runtime dependency. Remote access is provided through standard MCP Streamable HTTP plus whichever HTTPS reverse proxy or tunnel you choose. A separate authenticated relay layer can be added later without changing the MCP tool layer.
Building from source
npm ci
npm run buildNode 18+ is required. Node 20 or 22 LTS is recommended.
After the build, the Streamable HTTP entry point is:
dist/http-mcp/server.jsVerify with an MCP client
Use the MCP Inspector or another MCP client against:
http://127.0.0.1:3334/mcpA successful connection should discover the available RelayForge tools and allow tools/list and tools/call.
Repository secrets policy
This repository intentionally excludes:
.env.env.local.relayforge-data/.educational-data/tunnel logs
downloaded tunnel binaries
API keys and access tokens
local device/session files
Use .env.example only as a template.
This server cannot be deployed
Maintenance
Related MCP Connectors
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
Personal assistant MCP server with search, execute, packages, jobs, secrets, and integrations.
OCR, transcription, file extraction, and image generation for AI agents via MCP.
Agent-native MCP server over the public saagarpatel.dev corpus. Read-only, stateless.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceExposes your local machine's filesystem, git, shell, network, databases, and system to any MCP-compatible LLM client over HTTP.6-
- FlicenseNot gradedqualityFmaintenanceA lightweight MCP HTTP server giving AI assistants real tools to interact with your Windows machine, including running commands, file access, system info, web search, and browser automation.1-
- AlicenseCqualityCmaintenanceA full-featured secure MCP server for local file system operations, with built-in image processing, OCR and media tools. Fully compliant with the official Model Context Protocol specification, offering standardized request/response schemas, large-file streaming I/O, multi-transport remote deployment, and comprehensive text search & replace functionality for LLM agent integration.22Apache 2.0
- AlicenseNot gradedqualityAmaintenanceLocal automation bridge that is both an MCP server and client: 234 tools across 44 namespaces for shell, filesystem, git, desktop control, browser (CDP), Android (ADB), OCR/ASR and memory, plus the ability to connect external MCP servers. Sandboxed execution with token auth, fail-closed policy and audit log.8MIT