Riftsh Remote & Local MCP Documentation
OAuth 2.1 및 Bearer API 키를 사용해 Claude.ai, ChatGPT, Cursor, Claude Code, OpenCode, Codex CLI를 로컬 개발 환경에 연결하는 가이드.
$ curl -fsSL https://riftsh.com/install.sh | sh
$ riftsh remote
Interactive MCP Config & Guardrail Generator
Generate ready-to-paste remote Streamable HTTP or zero-Node local stdio snippets with _device routing and directory whitelists.
모든 주요 MCP 클라이언트와 완벽 호환
Claude.ai Web & Mobile
Remote MCP Server URLOAuth 2.1
ChatGPT Connectors
MCP Endpoint URLOAuth 2.1
Cursor IDE
~/.cursor/mcp.jsonBearer
Claude Code CLI
Terminal setupBearer
OpenCode CLI
~/.config/opencode/opencode.jsoncBearer
OpenAI Codex CLI
~/.codex/config.tomlBearer
OpenClaw Agent
~/.openclaw/openclaw.jsonBearer
Windsurf IDE
~/.codeium/windsurf/mcp_config.jsonBearer
Cline & Roo Code
cline_mcp_settings.jsonBearer
Zed Editor
~/.config/zed/settings.jsonBearer
Troubleshooting & Rescue Guides
How to Fix 'spawn npx ENOENT' & 'MCP Error -32000' Permanently
Fix 'MCP error -32000: Connection closed' and 'spawn npx ENOENT' in Cursor, Claude Desktop, and Windsurf permanently with Riftsh's static Go MCP binary.How to Connect Claude.ai Web & Mobile to a Local Machine via MCP
Step-by-step guide to connecting Claude.ai Web and mobile apps to your local terminal and files over OAuth 2.1 Streamable HTTP without port forwarding.CLI Reference
riftsh login --name <alias>Pair machine and enroll local Ed25519 / X25519 keysriftsh remote --daemonStart outbound encrypted WSS tunnel in backgroundriftsh statusInspect tunnel status, PID, and gateway RTTriftsh logs -fTail client agent and tool execution logsriftsh doctorRun local environment, clock-skew, and gateway checksriftsh config allow-dir <dir>Restrict symlink-resolved allowed directory rootsBuilt-in Local MCP Tools (32)
Terminal & Process Control (8)
- exec_command
- start_process
- interact_with_process
- read_process_output
- force_terminate
- list_sessions
- list_processes
- kill_process
Surgical Filesystem & Batch Edits (10)
- read_file
- read_file_outline
- read_multiple_files
- write_file
- edit_block
- apply_file_batch
- create_directory
- list_directory
- move_file
- get_file_info
Code Intelligence, Search & Checkpoints (9)
- start_search
- get_more_search_results
- stop_search
- list_searches
- search_symbols
- workspace_status
- inspect_diff
- list_checkpoints
- restore_checkpoint
Guardrails, Network & Telemetry (5)
- fetch_url
- get_config
- set_config_value
- get_recent_tool_calls
- get_usage_stats