Skip to content

bug: can't start MCP server using uvx in AppImage version #5424

@mathpn

Description

@mathpn

Jan version

0.5.18-rc6-beta

Describe the Bug

First, thanks for building Jan!

In Settings > MCP Servers, I cannot start any MCP server through uvx in the beta AppImage version.
I have tried initializing the Fetch server (that comes pre-configured) and others that are launched through uvx, they all seem to be affected by the same problem.

I am using Linux with Python 3.13.3 and uv 0.7.9. Upgrading uv to 0.7.13 didn't help.

From what I've gathered, this seems to be a problem in which the Python executable is found, but not the standard library modules.
This issue might be useful, since this PR (#4949) suggests Jan comes with a bundled uv binary.

It might work on some Linux distributions if it requires some specific path.
On my system, the Python executable is at /usr/bin/python and the standard library at /usr/lib64/python3.13.

Steps to Reproduce

Go to Settings > MCP Server, start the Fetch MCP server.
This error should happen:

Image

Logs are copied below.

Screenshots / Logs

[2025-06-21][21:41:52][app_lib::core::mcp][INFO] Server browsermcp started successfully.
[2025-06-21][21:41:52][app_lib::core::mcp][INFO] save mcp configs, path: "/home/matheus/.local/share/Jan-beta/data/mcp_config.json"
[2025-06-21][21:41:53][app_lib::core::mcp][INFO] save mcp configs, path: "/home/matheus/.local/share/Jan-beta/data/mcp_config.json"
[2025-06-21][21:41:53][app_lib::core::mcp][INFO] Server browsermcp stopped successfully.
Fatal Python error: Failed to import encodings module
Python runtime state: core initialized
ModuleNotFoundError: No module named 'encodings'

Current thread 0x00007fa279681f00 (most recent call first):
  <no Python frame>

What is your OS?

  • MacOS
  • Windows
  • Linux

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status

Blocked

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions