Skip to content

Linux: pass the desktop session bus to the MCP server (0.7.19) - #31

Merged
MainSequenceDev merged 1 commit into
mainfrom
claude/linux-session-bus
Nov 23, 2026
Merged

MainSequenceDev merged 1 commit into
mainfrom
claude/linux-session-bus

Conversation

@MainSequenceDev

Copy link
Copy Markdown
Contributor

Codex starts a plugin's MCP server with HOME, USER and PATH only. On Linux the shared sign-in is read with secret-tool, which reaches the Secret Service over the desktop's session bus, so every read failed with STORE_ERROR ("The machine session could not be read") and Codex showed "Couldn't display MainSequence".

.mcp.json now passes DBUS_SESSION_BUS_ADDRESS and XDG_RUNTIME_DIR on to the server.

Checked: on fractal1, the 0.7.17 server started with only HOME, USER and PATH fails mainsequence_open with that error; with DBUS_SESSION_BUS_ADDRESS added it returns the signed-in account. npm run release:check: 85 of 85 tests.

🤖 Generated with Claude Code

Codex starts a plugin's MCP server with HOME, USER and PATH only. On Linux the shared sign-in is read with secret-tool, which reaches the Secret Service over the desktop's session bus, so every read failed with STORE_ERROR ("The machine session could not be read") and Codex showed "Couldn't display MainSequence".

.mcp.json now passes DBUS_SESSION_BUS_ADDRESS and XDG_RUNTIME_DIR on to the server.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@MainSequenceDev
MainSequenceDev merged commit 05151a5 into main Nov 23, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant