Install threefold in OpenCode
Connect threefold to OpenCode using the documented MCP settings and understand the client-specific limits.
Connect to https://api.threefold.eco/mcp. Authentication and actual client support depend on the client; use the installation guide for current setup and alternatives.
OpenCode settings
~/.config/opencode/opencode.json:
{
"mcp": {
"servers": {
"threefold": {
"type": "remote",
"url": "https://api.threefold.eco/mcp"
}
}
}
}
For Cursor, VS Code, Gemini CLI and OpenCode, an API key goes in a headers object next to url: "headers": { "Authorization": "Bearer tf_live_your_key" }.
Client installation and directory listings are distinct; no marketplace submission is implied.
If npx threefold reports that the package does not exist, use these per-client settings instead. The hosted server cannot read local repository files; use local stdio or the CLI for a local check.