FREE DEVELOPER TOOL

MCP Server Configuration & Security Guardrail Generator

Generate ready-to-paste `mcp.json`, `opencode.jsonc`, `config.toml`, or OAuth 2.1 connector snippets—plus symlink-resolved directory guardrails for any macOS, Linux, or Windows machine.

Host alias (for _device multi-host routing)
Allowed directories (comma-separated)
Blocked commands (comma-separated)
~/.cursor/mcp.json
{
  "mcpServers": {
    "riftsh-dev-workstation": {
      "url": "https://riftsh.com/mcp",
      "headers": {
        "Authorization": "Bearer rft_live_YOUR_SECRET_KEY"
      }
    }
  }
}
Target Host Install & Guardrail Commands
curl -fsSL https://riftsh.com/install.sh | sh
riftsh config allow-dir ~/projects
riftsh config block-cmd "rm -rf /"
riftsh login --server https://riftsh.com --name "dev-workstation"
riftsh remote --daemon

Multi-host tip: pass _device: "dev-workstation" in your agent prompt to route any of the 32 tools to this host.

When to use Remote HTTPS Tunnel vs Local Zero-Node Stdio

ScenarioRemote HTTPS (/mcp)Local Stdio Binary (riftsh)
Claude.ai Web/Mobile & ChatGPTSupported (OAuth 2.1 + PKCE)Not reachable from cloud sandboxes
Laptop controlling remote Linux / GPU serversSupported (up to 25 hosts via _device)Current local machine only
Fix local npx ENOENT in Cursor / ZedSupportedIdeal (0 account, unlimited offline)

FAQ

Where is mcp.json located in Cursor, Windsurf, and OpenCode?

Cursor reads `~/.cursor/mcp.json`, Windsurf reads `~/.codeium/windsurf/mcp_config.json`, OpenCode reads `~/.config/opencode/opencode.jsonc`, and OpenAI Codex CLI reads `~/.codex/config.toml`.

Why does Claude.ai Web require Remote HTTPS instead of a local command?

Claude.ai Web and mobile run in Anthropic's cloud environment and connect via Streamable HTTP + OAuth 2.1 Dynamic Client Registration (`https://riftsh.com/mcp`).

How do I prevent an AI agent from accessing files outside my project?

Run `riftsh config allow-dir ~/projects` on your host. Riftsh resolves symlinks locally and blocks any file or search operation outside your whitelisted roots.

Can I use the generated local stdio config without creating an account?

Yes. Local stdio execution (`command: "riftsh"`) is 100% free and offline with all 32 built-in tools; an account is only needed when pairing remote hosts via `riftsh remote`.

Detailed step-by-step client guides

Kostenlos starten