Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

frp client

$ frpc Community High Risk
fatedier · Browser & Web · Apache-2.0 · macos / linux / windows

frpc connects local services behind NAT or firewalls to a public frps relay over TCP, KCP, QUIC, or WebSocket (frpc -c frpc.toml). Supports offline config validation (frpc verify), remote status inspection (frpc status), and quick CLI subcommands without writing a config file.

FCRS-1.0 Score
73 /100
Usable w/ Caveats
Medium Confidence
Zero-Friction Install
brew install frpc
CLI vs MCP Decision CLI Only

Maintains persistent multiplexed tunnel connections from localhost to an frps server; no MCP tool can replace network socket forwarding.

Agent-Readiness Checklist

— JSON Output
— Field Filtering
✓ Non-Interactive
✓ Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 16 / 25

Supports frpc verify -c and frpc status -c cleanly, but main tunnel execution is a foreground daemon outputting plain-text logs without JSON.

  • frpc verify -c validates config without connecting
  • Main tunnel process emits unstructured text logs
Trust & Safety 14 / 25

Exposes local TCP/HTTP services through a remote frps relay, and TOML configs often store shared auth.token values.

  • Publicly exposes localhost ports behind NAT via frps
  • Supports env var templating ({{ .Envs.* }}) in frpc.toml
Setup & Portability 14 / 15

Single static Go binary distributed via Homebrew and GitHub Releases for macOS, Linux, and Windows.

  • Available via brew install frpc and official release archives
Utility & Efficiency 12 / 15

Battle-tested NAT traversal supporting TCP, UDP, HTTP/HTTPS virtual hosts, and STCP peer-to-peer tunnels.

  • Multi-protocol reverse proxy with HTTP/TCP/STCP support
Maintenance & Lineage 8 / 10

Mature community project (fatedier/frp) under Apache-2.0 with consistent releases.

  • Long-running fatedier/frp GitHub repository
Docs & Verifiability 9 / 10

Well-organized bilingual documentation at gofrp.org covering TOML configs and subcommands.

  • Official docs at gofrp.org/en/docs/

Security, Auth & Guardrails

Auth Modes
Config File Env API Key
Credential Storage

Reads auth.token or OIDC credentials from frpc.toml (supports {{ .Envs.VAR }} environment variable templating).

Side Effects
Read-Only Remote Write
Cost & Quotas

Free, Apache-2.0 open-source Go binary; requires a self-hosted or accessible frps server.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# frpc Agent Rules
- Run `frpc verify -c frpc.toml` before launching `frpc`.
- Never start `frpc` against a public `frps` without explicit user approval, as it exposes internal local ports externally.
- Reference shared secrets with `{{ .Envs.FRP_TOKEN }}` instead of hardcoding tokens in `frpc.toml`.

Agent-Ready Command Recipes

Safe Read-Only Queries

Verify frpc TOML configuration syntax
frpc verify -c frpc.toml

Validates proxy definitions, server address, and TOML schema in frpc.toml without opening a tunnel.

Check active proxy status via admin API
frpc status -c frpc.toml

Queries the configured local frpc admin endpoint for running proxy states.

Controlled Writes & Previews

Start reverse proxy client with explicit config
frpc -c frpc.toml

Connects to the configured frps server and exposes the local ports listed in frpc.toml until stopped.

Strengths for Agents

  • + frpc verify -c validates TOML tunnel configs offline before opening connections.
  • + Supports environment-variable substitution ({{ .Envs.* }}) and STCP private tunnels.

Caveats & Pitfalls

  • ! Exposing local ports through frps bypasses inbound firewalls and increases attack surface.
  • ! Lacks structured JSON CLI output; logs are plain text.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI