mcp-arch
Installation
SKILL.md
Quick Usage (Already Configured)
Provide wiring overview
- OpenWork UI uses the OpenCode SDK for runtime MCP calls and events.
- MCP config lives in
opencode.jsonundermcp; OpenWork server only reads/writes config for remote clients. - MCP auth tokens are managed by OpenCode and stored outside the repo.
- Remote UI traffic hits the OpenWork server at
/opencode/*, which proxies to OpenCode. - The OpenWork server must include the workspace directory (via
x-opencode-directoryordirectoryquery) so OpenCode loads the correct config.
Troubleshoot auth errors
- Confirm the MCP entry type and required fields (
localneedscommand[],remoteneedsurl). - If refresh tokens are invalid, re-auth via OpenCode and reload the engine after config edits.
- Avoid editing token files directly; use OpenCode commands or endpoints.
- If the UI says "does not support OAuth", verify the directory matches the on-disk
opencode.jsonpath. - In remote mode, OpenWork approval gates apply for
mcp.addandengine.reloadunless auto-approve is explicitly enabled.
Common Gotchas
- Engine reload only re-reads config; it does not refresh OAuth tokens.
Related skills
More from different-ai/openwork-hub
telegram
Send notifications and messages via Telegram bot API
2agent-creator
Create new OpenCode agents with a gpt-5.2-codex default.
2screenpipe
Screenpipe records your screen and microphone 24/7. Search your screen recordings and audio transcriptions via REST API and CLI.
2sync-submodules
|
2workspace-guide
Workspace guide to introduce OpenWork and onboard new users.
2worktree-ux-pr
|
2