Skip to content

feat(mcpx): wire the atlas MCP server into the laptop daemon (#8625) - #12809

Merged
dezren39 merged 1 commit into
mainfrom
archer-lane-bt/atlas-mcpx
Nov 23, 2026
Merged

dezren39 merged 1 commit into
mainfrom
archer-lane-bt/atlas-mcpx

Conversation

@dezren39

@dezren39 dezren39 commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

What

Wires the Atlas MCP server into the laptop's mcpx daemon (#8625), companion to #12785/#12790/#12794 and the live deployment (Worker version 4e5f9d92-0672-492e-9199-2d0dd7b986aa, deployment a1b13a53-12cb-4a54-8b36-c971df528fb3):

  • home/common/mcpx-settings.nix: an atlas remote server (Streamable HTTP) at https://atlas-search.developing-today.workers.dev/mcp, bearer auth whose token is the literal ${ATLAS_SEARCH_GATE_TOKEN} — mcpx expands it from the daemon's environment at runtime (pkgs/mcpx internal/mcpauth), so the value never lands in the config or the Nix store.
  • home/common/default.nix: services.mcpx.environmentFile = "/home/user/.config/mcpx/env" — the module passes it to the unit as a systemd EnvironmentFile and never copies it into the store. The file (mode 600) is provisioned from the fleet secret atlas.search-worker-gate-token.

Verification

  • Both files parse (nix-instantiate --parse).
  • The endpoint was verified live before this wiring (initialize / tools/list / a real search, all from the laptop).
  • End-to-end through mcpx itself was verified with a scratch daemon running this exact server entry + env expansion (record on atlas memory slice 3: MCP query surface over the unified Atlas index (mcpx namespace) (#8567) #8625); the live daemon picks the entry up on the laptop's normal switch cadence (mcpxDeploy handover), which this PR does not force.

Run Proof on this PR
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

mcpx-settings.nix gains an "atlas" remote server pointing at
the atlas-search Worker MCP endpoint
(https://atlas-search.developing-today.workers.dev/mcp),
authenticated with a bearer token the daemon expands from
its own environment (${ATLAS_SEARCH_GATE_TOKEN}) — the value
never lands in the config or the Nix store.

home/common/default.nix sets services.mcpx.environmentFile
to ~/.config/mcpx/env (runtime file, mode 600, provisioned
from the fleet secret atlas.search-worker-gate-token; the
mcpx module passes it to the unit as a systemd
EnvironmentFile and never copies it into the store).

Activation rides the laptop normal switch cadence
(mcpxDeploy hands the daemon over); the endpoint itself is
already live (Worker version 4e5f9d92, deployment a1b13a53).
@dezren39
dezren39 requested a review from a team as a code owner November 23, 2026 03:06
@coderabbitai

coderabbitai Bot commented Nov 23, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 9 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: b6849695-91fa-4022-abcf-b86317250f1d
Commits

Reviewing files that changed from the base of the PR and between f8e14e0 and 0e0d85e.

Files selected for processing: 2

  • home/common/default.nix
  • home/common/mcpx-settings.nix
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@dezren39
dezren39 merged commit 3072323 into main Nov 23, 2026
2 checks passed
@dezren39
dezren39 deleted the archer-lane-bt/atlas-mcpx branch November 23, 2026 03:08
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