Repository navigation
Closed as not planned
Description
Description
Installed latest OpenCode desktop via deb package.
MCP is not working, since it can't find npx and uv in PATH.
TUI works correctly.
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"memory": {
"type": "local",
"command": ["npx", "-y", "@modelcontextprotocol/server-memory"]
},
"filesystem": {
"type": "local",
"command": ["npx", "-y", "@modelcontextprotocol/server-filesystem", "/home/thelastofcats/Code"]
},
"git": {
"type": "local",
"command": ["uvx", "mcp-server-git"]
}
},
"plugin": [
"@tarquinen/opencode-dcp",
"opencode-snip",
"opencode-agent-memory",
"cc-safety-net",
"envsitter-guard"
],
"permission": {
"websearch": "ask",
"webfetch": "ask"
}
}Desktop logs:
thelastofcats@pika:~$ OpenCode
Wayland session detected; using native Wayland first with X11 fallback (auto backend). Set OC_FORCE_X11=1 to force X11.
(OpenCode:27347): dbind-WARNING **: 21:44:05.843: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name is not activatable
2026-05-04T18:44:05.859692Z INFO opencode_lib: Initializing app
2026-05-04T18:44:05.944691Z INFO opencode_lib: Spawning sidecar on http://127.0.0.1:46883
2026-05-04T18:44:05.944709Z INFO opencode_lib::cli: Spawning sidecar port=46883
2026-05-04T18:44:06.070204Z INFO opencode_lib::cli: Loaded shell environment with -il shell="/bin/bash" env_count=83
2026-05-04T18:44:06.070475Z INFO opencode_lib::cli: No CLI installation found, skipping sync
2026-05-04T18:44:06.691687Z INFO sidecar: opencode_lib::cli: opencode server listening on http://127.0.0.1:46883
2026-05-04T18:44:06.785612Z INFO opencode_lib::server: Server ready elapsed=715.122819ms
2026-05-04T18:44:06.785634Z INFO opencode_lib: Sidecar health check OK
2026-05-04T18:44:06.785637Z INFO opencode_lib: Loading task finished
2026-05-04T18:44:06.785646Z INFO opencode_lib: Loading done, completing initialisation
2026-05-04T18:44:07.152987Z INFO sidecar: opencode_lib::cli: ERROR 2026-05-04T18:44:07 +720ms service=mcp key=memory command=["npx","-y","@modelcontextprotocol/server-memory"] cwd=/home/thelastofcats/Code/Orchid error=Executable not found in $PATH: "npx" local mcp startup failed
2026-05-04T18:44:07.153125Z INFO sidecar: opencode_lib::cli: ERROR 2026-05-04T18:44:07 +1ms service=mcp key=filesystem command=["npx","-y","@modelcontextprotocol/server-filesystem","/home/thelastofcats/Code"] cwd=/home/thelastofcats/Code/Orchid error=Executable not found in $PATH: "npx" local mcp startup failed
2026-05-04T18:44:07.153171Z INFO sidecar: opencode_lib::cli: ERROR 2026-05-04T18:44:07 +0ms service=mcp key=git command=["uvx","mcp-server-git"] cwd=/home/thelastofcats/Code/Orchid error=Executable not found in $PATH: "uvx" local mcp startup failed
Additional:
thelastofcats@pika:~$ which npx
/home/thelastofcats/.local/share/mise/installs/node/lts/bin/npx
thelastofcats@pika:~$ npx -v
11.12.1
thelastofcats@pika:~$ which uvx
/home/thelastofcats/.local/share/mise/installs/uv/0.11.8/uv-x86_64-unknown-linux-musl/uvx
thelastofcats@pika:~$ uvx -v
DEBUG Searching for user configuration in: `/home/thelastofcats/.config/uv/uv.toml`
DEBUG uv 0.11.8 (x86_64-unknown-linux-musl)
Provide a command to run with `uvx <command>`.
See `uvx --help` for more information.
thelastofcats@pika:~$ opencode mcp list
┌ MCP Servers
│
● ✓ memory connected
│ npx -y @modelcontextprotocol/server-memory
│
● ✓ filesystem connected
│ npx -y @modelcontextprotocol/server-filesystem /home/thelastofcats/Code
│
● ✓ git connected
│ uvx mcp-server-git
│
└ 3 server(s)
Plugins
"@tarquinen/opencode-dcp", "opencode-snip", "opencode-agent-memory", "cc-safety-net", "envsitter-guard"
OpenCode version
1.14.33
Steps to reproduce
- setup mise with uv and node@lts
- install opencode desktop via deb
- setup config
- run opencode desktop
Screenshot and/or share link
No response
Operating System
PikaOS 4
Terminal
Kitty
Reacted by Emre Şafak, Rohit Gohri, Dzmitry Safarau, Vlad Vladov and 朱思年
Metadata
Metadata
Assignees
Labels
No labels
Activity
github-actions commentedon May 4, 2026
This issue might be a duplicate of existing issues. Please check:
npx/uvxnot to be found)If your issue is the same, please consider adding a thumbs-up or comment on those issues instead of opening a new one.
github-actions commentedon Jul 5, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.