Hina OpenCode Worker
Bridges ChatGPT to a local OpenCode V2 worker, enabling persistent, approval-aware task execution, inspection, and result retrieval from ChatGPT.
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., "@Hina OpenCode Workersubmit a task to add error handling to the API client"
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.
Hina OpenCode Worker
A persistent, approval-aware bridge between ChatGPT and OpenCode V2, designed for macOS.
Hina OpenCode Worker separates a chat connection's lifetime from an authorized local task's lifetime. A local supervisor, SQLite journal, MCP interface, and OpenCode adapter can retain progress and results when a client disconnects.
Status: experimental v0.1.0. The manually managed inspect path has been validated on its original Mac setup, but this is not a general-purpose remote shell, a consumer installer, or a claim that unattended edit/develop operations are production-ready.
Features
Persistent job/attempt state and artifacts, reconnection support and idempotent request handling.
Explicit, recorded approval for model selection and capabilities; no silent fallback or global privilege escalation.
Git worktree isolation, partial-result preservation, and independent review design.
Local-only transport endpoint with an optional separately managed secure tunnel.
Offline regressions, documented MCP contracts, and sanitized OpenCode event fixtures.
ChatGPT/client --[optional secure tunnel]--> stdio MCP bridge
|
localhost-only endpoint
|
Supervisor + SQLite journal/artifacts
|
OpenCode V2 adapter -> user's backend/modelArchitecture | Security | MCP contract
Related MCP server: Mac Developer Bridge
Current implementation boundaries
Component | Status |
Supervisor, journal, artifacts, MCP contract, worktree primitives | Implemented; offline tested |
Tunnel guard, endpoint health/readiness | Implemented; verified in the original macOS setup |
Manually managed ChatGPT-to-worker | Scoped end-to-end validation on the original Mac |
Model/capability policy modules | Unit tested, but not claimed fully wired into every live operation |
General unattended | Not supported release claims |
Offline success is not evidence that a new machine's tunnel or provider configuration is secure.
Offline quickstart (no credentials required)
Python 3.12+; no mandatory third-party runtime packages.
git clone https://github.com/minoltianblue-ops/hina-opencode-worker-oss.git
cd hina-opencode-worker-oss
python3 -m venv .venv
source .venv/bin/activate
PYTHONPATH=src python -m unittest discover -s tests -q
python -m compileall -q src tests experimentsOptional contract checks:
python -m pip install -r requirements-dev.txt
python docs/contracts/validate_spec.pyNo provider token, tunnel, or running OpenCode process is used in this offline path. See Quickstart before exploring the Mac-specific operator scripts.
Privacy and safety
Do not expose the local worker endpoint publicly or commit API keys, tunnel settings, raw user prompts, or runtime databases. This public repo has a clean Git history and redacted/pseudonymized fixtures. Original operational logs and historical reviews are not distributed.
Read SECURITY.md and Export notes.
Contributing
Pull requests, Issues, reproducible regressions, documentation and security review are welcome. See CONTRIBUTING.md and the Roadmap.
License: MIT, © 2026 minoltianblue-ops.
Independent community project; not affiliated with or endorsed by OpenAI or OpenCode maintainers.
한국어: Hina OpenCode Worker는 ChatGPT 대화 연결과 로컬 작업 수명을 분리하는 macOS 중심 실험적 오픈소스입니다. 승인 기반 실행, 모델 선택, 실행 원장, 재접속 및 결과 보존을 다루며, 실제 검증 범위와 미완료 기능을 명확히 구분합니다.
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP connector that lets ChatGPT list, search, and run your Apple Shortcuts via a local Mac agent
Search, read, and write your Apple Notes from ChatGPT/Claude via a local Mac agent + MCP relay.
Persistent memory and cross-session learning for AI coding assistants (hosted remote MCP).
A paid remote MCP for OpenAI Codex agent coordination MCP, built to return verdicts, receipts, usage
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables ChatGPT (or any MCP client) to delegate coding tasks to a local Hermes-backed agent with async job management, supporting read-only investigation, implementation, and continuation of sessions via secure MCP tunnel.1MIT
- AlicenseNot gradedqualityBmaintenanceLocal macOS MCP bridge that gives ChatGPT shell, unrestricted filesystem access, real PTY sessions, background jobs, and read-only stored Codex history. ChatGPT stays the reasoning layer; the bridge makes no model calls.52MIT
- AlicenseNot gradedqualityAmaintenanceEnables ChatGPT Web or another MCP client to inspect and develop a local workspace, read local Codex task history, and use the complete installed XcodeBuildMCP catalog through a small set of stable tools.MIT
- AlicenseNot gradedqualityAmaintenanceConnects ChatGPT and MCP clients to authorized local development environments, enabling secure file access, shell execution, persistent tasks, browser/desktop control, and remote management of projects.18MIT