I wish test Open CAD Studio and their MCP and use OpenCode in Distrobox, but not sure how start, any help?
I havenβt done this myself, I think you need to first add the MCPs to the config.
- opencode v2: MCP servers | OpenCode
- opencode v1: MCP servers | OpenCode
Since you want to use MCP server provided by a local application, the relevant part should be in the βLocalβ section. IIUC, the local config includes the command that starts the MCP server.
Along with @fatka suggestions:
distrobox-create --name cad-test
distrobox-enter cad-test
Starting container... [ OK ]
Installing basic packages... [ OK ]
Setting up devpts mounts... [ OK ]
Setting up read-only mounts... [ OK ]
Setting up read-write mounts... [ OK ]
Setting up host's sockets integration... [ OK ]
Integrating host's themes, icons, fonts... [ OK ]
Setting up distrobox profile... [ OK ]
Setting up sudo... [ OK ]
Setting up kerberos integration... [ OK ]
Setting up user's group list... [ OK ]
Setting up existing user - shell... [ OK ]
Setting up existing user - groups... [ OK ]
Ensuring user's access... [ OK ]
Container Setup Complete!
bash: 0: command not found
bash: alias: dnf: not found
bash: alias: upgrade: not found
bash: alias: --refresh: not found
bash: alias: -y: not found
curl -fsSL https://opencode.ai/install | bash
Successfully added opencode to $PATH in /home/me/.bashrc
β
ββββ ββββ ββββ ββββ ββββ ββββ ββββ ββββ
ββββ ββββ ββββ ββββ ββββ ββββ ββββ ββββ
ββββ ββββ ββββ β β ββββ ββββ ββββ ββββ
OpenCode includes free models, to start:
cd <project> # Open directory
opencode # Run command
For more information visit https://opencode.ai/docs
flatpak install flatpark io.github.HakanSeven12.OpenCadStudio
Looking for matchesβ¦
Required runtime for io.github.HakanSeven12.OpenCadStudio/x86_64/stable (runtime/org.freedesktop.Platform/x86_64/26.08) found in remote flathub
Do you want to install it? [Y/n]:
I think there is also an appimage avaible.
opencode mcp add opencadstudio -- OpenCADStudio --mcp
β
β MCP server "opencadstudio" added to /home/me/.config/opencode/opencode.jsonc
Edit the /.config/opencode/opencode.jsonc to suit your needs.
