|
Download docs/mcp-servers.md from ctaxnagomi/Instruct-opencode_V2: direct link, hf CLI and curl.
- Browser
- Download file 646 Bytes
-
https://huggingface.co/datasets/ctaxnagomi/Instruct-opencode_V2/resolve/main/docs/mcp-servers.md
- Command line
-
hf download hf://datasets/ctaxnagomi/Instruct-opencode_V2/docs/mcp-servers.md
-
curl -L -o mcp-servers.md https://huggingface.co/datasets/ctaxnagomi/Instruct-opencode_V2/resolve/main/docs/mcp-servers.md
646 Bytes
MCP Servers (OpenCode V2)
Setup: opencode mcp add --url or -- command. Use --global. Check opencode mcp list.
Config: mcp.servers with unique names. type local or remote. disabled: true to keep without connecting.
Local: command, cwd, environment. Remote: url, headers, oauth, disabled, codemode, timeout, protocol.
OAuth enabled by default for remote; use oauth: false with API key headers. Manage with opencode mcp auth/logout.
Timeouts: startup, catalog, execution. Protocol: legacy (default), auto, 2026-07-28.
Tools named server_tool. Permissions can hide/deny tools. Resources via list_mcp_resources/read_mcp_resource.