GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — mcpx: the per-server `auth:` block is parsed and never applied · Issue #1926 · developing-today/code

mcpx: the per-server auth: block is parsed and never applied #1926

New issue
Copy link
New issue
Copy link
Closed
Closed
mcpx: the per-server auth: block is parsed and never applied#1926
Copy link
Assignees
dezren39
Labels
app/mcpxPackage/app: mcpx (pkgs/ or apps/ in this repo)bugSomething isn't workingeffort/sSmall: expected under 2 hours of workkind/bugSomething isn't working (prefixed form of the classic bug label)meta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)source/humanFiled directly by a human

Description

@dezren39
dezren39
opened on Oct 28, 2026
Issue body actions

Relocated from dezren39/darwin-nix#205 on 2026-10-28 (placement audit): mcpx's single source lives in developing-today/code (pkgs/mcpx); re-home tracked at #309. Original body below; issue references inside it are historical (dezren39/nix numbering).

Parent: #177

Summary

docs/protocol.md §6 says OAuth for remote servers is "declared and not performed". The gap is wider: the whole per-server auth block (bearer, basic, header, query, env) is never applied. mcpauth.Auth.Resolve has no caller, so a remote server configured with auth: is reached without credentials, and only plain headers: works. Describe, documented as used by mcpx config and mcpx doctor, has no caller either.

Found while writing the comparison register (pkgs/mcpx/docs/compare/) and checked against the code at 05c78b2. Each row below links its register entry, which carries the value, effort, risk, the specification text and every source.

Register rows

row difference mcpx @ 05c78b2 effort
AUTH-22 Per-server auth: block parsed and never applied ✗ broken — Auth.Resolve has no caller S

Evidence

  • internal/mcpauth/mcpauth.go:93 (Resolve), :186-189 (Describe); the only reference to the package is the type at internal/config/config.go:141.
  • Headers are applied at internal/pool/pool.go:377-380; auth is not.

What to do

Apply Resolve() where headers are applied, fail with a clear message when a required credential is missing, and add the guard test #177 describes (every config field declared on a server has an observable effect).

Ease · Impact · Related

Ease S · Impact med · Related: #177, #172 (declared and unread)

Acceptance criteria

  • The per-server auth: block is applied where headers: are applied: mcpauth.Auth.Resolve has a caller on the remote-server connect path, and bearer/basic/header/query/env credentials from the block reach the upstream request.
  • A required credential that cannot be resolved fails with a clear message naming the server and the missing credential — never a silent unauthenticated connection.
  • Describe is wired to its documented callers (mcpx config / mcpx doctor) or the documentation is corrected.
  • The feat(nix): Android SDK + JDK 21 in the system and dev shells, and the OpenChamber release signing key #177 guard test exists: every config field declared on a server has an observable effect, and it fails if auth: is dropped again.
  • Existing headers:-only servers behave exactly as before; tests pass in CI.

Activity

Next
  1. developing-today commented on Oct 28, 2026

    @developing-today
    developing-todayBot
    on Oct 28, 2026 – with developing.today
    Contributor
    More actions

    CODE-852

  2. dezren39 commented on Oct 28, 2026

    @dezren39
    dezren39
    on Oct 28, 2026
    MemberAuthor
    More actions

    History carried over from dezren39/darwin-nix#205 (verbatim, oldest first):


    @dezren39 · 2026-10-28T05:40:26Z

    Intake review — fleet monitor

    Liveness: Verified still live at intake: the issue is open and no merged PR closes it. Evidence caveat (same as the rest of this register batch): the filer's evidence was verified against 05c78b2 (2026-09-30) — re-verify against current main before fixing; if a row has since been fixed, say so on the issue and narrow the scope instead of redoing it.

    Related: Parent tracker named in the issue body; sibling register-batch issues in dezren39/nix (the #209–#220 batch was enriched in the previous monitor run). mcpx also lives in developing-today/code — check for a code-side twin before assuming a nix-only fix.

    Notes / risks: Single register row (AUTH-22) with a precise call-site fix named in the issue (internal/pool/pool.go where headers are applied). Fail-closed on a missing credential is the behaviour to preserve — do not fall back to an unauthenticated connection.

    Suggested approach: Re-verify the cited code paths on current main, land failing tests for the acceptance criteria first, then the smallest fix that satisfies them.

    🤖 Agent note · state: filed

    • Agent: fleet monitor
    • Session / ID: repo-fleet-monitor run 2026-10-28 00:20 CDT
    • Found via: monitor reconciliation
    • Task: Intake enrichment (§5 pass): acceptance criteria appended, labels normalized, this review posted.
    • Expectation: effort/s as labelled; done = the acceptance criteria on the issue are met.
  3. dezren39
    added
    bugSomething isn't working
    kind/bugSomething isn't working (prefixed form of the classic bug label)
    status/needs-triageNot yet triaged; needs a first look
    source/humanFiled directly by a human
    priority/normalOrdinary priority (the default)
    effort/sSmall: expected under 2 hours of work
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    app/mcpxPackage/app: mcpx (pkgs/ or apps/ in this repo)
    queue/queuedHas a queued queue task
    on Oct 28, 2026
  4. github-actions
    assigned
    dezren39
    on Oct 29, 2026
  5. dezren39
    added
    work/assignedQueue worker lifecycle state
    and removed
    status/needs-triageNot yet triaged; needs a first look
    queue/queuedHas a queued queue task
    on Oct 29, 2026
  6. 38 remaining items

  7. dezren39
    added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    and removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    on Oct 30, 2026
  8. dezren39 commented on Oct 30, 2026

    @dezren39
    dezren39
    on Oct 30, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up

    • Agent: queue worker (repo-worker-code), Lane A
    • Session / ID: queue task 3220 (resume shift 2026-10-30)
    • Found via: queue claim (resume from awaiting_ci park)
    • Task: PR feat(mcpx): surface Auth.Describe() in mcpx config and mcpx doctor (#1926) #2593 — basic checks queued since ~07:54Z in the repo-wide runner stall (ci: Actions check runs stuck in queued across PRs — no runner pickup since ~05:00Z 2026-10-28 #1599/CI: hosted runner queue saturates repo-wide (~425 queued runs), so PR checks wait hours behind push and workflow_run traffic #2605). Verified directly on the laptop instead: merged origin/main into the branch (bb6082c, clean) and re-ran suites on the merged tree — internal/cli full PASS, internal/mcpauth PASS, internal/api PASS. Codex: 0 unresolved threads. Merging under the standing rule; per the task's next step, mcpx: the per-server auth: block is parsed and never applied #1926 closes on merge (this was its one remaining item).
    • Links: PR feat(mcpx): surface Auth.Describe() in mcpx config and mcpx doctor (#1926) #2593
  9. dezren39
    added
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    on Oct 30, 2026
  10. dezren39
    added a commit that references this issue on Oct 30, 2026

    feat(mcpx): surface Auth.Describe() in mcpx config and mcpx doctor (#…

    cc52976
  11. dezren39 commented on Oct 30, 2026

    @dezren39
    dezren39
    on Oct 30, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done

    • Agent: queue worker (repo-worker-code), Lane A
    • Session / ID: queue task 3220 (completed 2026-10-30)
    • Found via: queue claim (resume from awaiting_ci park)
    • Task: wire Auth.Describe() into mcpx config and mcpx doctor — the one remaining item of this issue — DONE, merged via PR feat(mcpx): surface Auth.Describe() in mcpx config and mcpx doctor (#1926) #2593 (cc52976). The issue's main defect was already fixed earlier (triage task 2822: Pool.resolveAuth wired into dial()/httpOptions(), covered by internal/pool/auth_test.go); this PR surfaces the redacted Describe() summary in the config server listing (text + --json) and doctor.
    • Verification: laptop on the merged tree (origin/main merged into the branch first, bb6082c): go test ./internal/cli/ full PASS, ./internal/mcpauth/ PASS, ./internal/api/ PASS. Codex review on the final head completed with no findings, 0 unresolved threads. PR CI never ran — checks queued from ~07:54Z in the repo-wide runner stall (ci: Actions check runs stuck in queued across PRs — no runner pickup since ~05:00Z 2026-10-28 #1599/CI: hosted runner queue saturates repo-wide (~425 queued runs), so PR checks wait hours behind push and workflow_run traffic #2605); merged under the standing rule after direct verification.
    • Links: PR feat(mcpx): surface Auth.Describe() in mcpx config and mcpx doctor (#1926) #2593
  12. dezren39
    closed this as completedon Oct 30, 2026
  13. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Oct 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

app/mcpxPackage/app: mcpx (pkgs/ or apps/ in this repo)bugSomething isn't workingeffort/sSmall: expected under 2 hours of workkind/bugSomething isn't working (prefixed form of the classic bug label)meta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)source/humanFiled directly by a human

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.