Skip to content

fix(pi): honor XDG_CONFIG_HOME when writing the Pi MCP config #123

Closed

Description

@ElbertePlinio

Found in the 0.4.0-beta.1 soak (published-beta1/soak/REPORT.md, D4).

With XDG_CONFIG_HOME set elsewhere, both pickforge init --harness pi and pickforge-lab agents install pi write $HOME/.config/mcp/mcp.json. A Pi adapter that honors XDG would not discover the generated config. Confirm pi-mcp-adapter's lookup contract first; if it reads only $HOME/.config, document that and close.

  • Verify the adapter's config lookup.
  • Either write to $XDG_CONFIG_HOME/mcp/mcp.json when set (both writers) or document the fixed path.

Refs #89

Implemented in #125. Installed pi-mcp-adapter 2.32.1 fixes the shared global path at $HOME/.config/mcp/mcp.json (config.ts:13); it does not honor XDG_CONFIG_HOME. Paths preserved and documented; lookup evidence and validation are in the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions