Skip to content

context-budget: widen the connectors-disable lever to cloud sessions for claude.ai name-form denies, if the mcp docs confirm it #17907

Closed

Description

@kyle-sexton

Refs: #17375

Problem

The connectors-disable lever declares itself local-CLI only, because policy could not remove
connectors on cloud surfaces (plugins/context-budget/skills/audit/reference/levers.json:346, the
2026-08-17 operator decision). After 2.1.328, a deniedMcpServers entry of the form
claude.ai <name> is reported to reach that connector in cloud and self-hosted Claude Code sessions too,
while serverUrl patterns still do not match there. See
mcp: how connectors reach Claude Code
and managed-mcp. That reading came from a triage
subagent and has not been checked against the pages.

The owner chose option (a) on 2026-11-21 ("go w/ recommendations", Q260): widen for name-form
denies only, and only on what upstream documents.

Done when

  • The lane reads both pages live first. If either page does not state that a claude.ai <name>
    deny reaches cloud or self-hosted Claude Code sessions, it leaves levers.json unchanged and records
    the quote it found on this issue.
  • If both pages confirm it, the levers.json:346 conditions name the claude.ai <name> deny
    form as reaching cloud and self-hosted Claude Code sessions, cite the quoted lines and their URLs, and
    keep serverUrl patterns local-CLI only.
  • No other lever changes.

Activity

  1. added
    needs-triage
    on Nov 21, 2026
  2. github-actions commented on Nov 21, 2026

    @github-actions
    Contributor

    Size: Small
    Complexity: Low
    Uncertainty: Knowable
    Flags: none
    Blocked by: none
    Blast radius: the connectors-disable lever's conditions in plugins/context-budget/skills/audit/reference/levers.json, read by the context-budget audit skill and its users.
    Reversible: yes; revert the edit to levers.json.
    Open questions: none
    I understood this as follows. The owner has already chosen to widen the lever to cloud and self-hosted Claude Code sessions, for claude.ai <name> denies only. The change is gated on the two upstream docs pages actually saying so. If either page doesn't, levers.json stays unchanged and the quote found is recorded here. If both confirm it, only the lever's conditions change: they cite the quoted lines and URLs and keep serverUrl patterns local-CLI only. The done-when is exact and the design is chosen, so no owner question remains. Comment 3 isn't a formal decision comment, because its first line isn't exactly the decision marker. It isn't needed here, since the issue body already records the choice and the scope. Related: #17375 (referenced in the body). No duplicate or merged fix identified.

    Automated triage. A maintainer reviews it.

  3. removed
    needs-triage
    on Nov 21, 2026
  4. melodic-automation-lanes commented on Nov 21, 2026

    @melodic-automation-lanes
    Contributor

    Not admitted to the issue lane: its title or stated work names a charge (self-hosted runner), which needs an owner decision. Admission takes the issue once each of those is met, when intake triages it again (.github/actions/resolve-config/admission-rules.json).

    Reason: cost

  5. melodic-automation-lanes commented on Nov 21, 2026

    @melodic-automation-lanes
    Contributor

    The latest triage verdict holds nothing: the issue is at status: ready.

  6. kyle-sexton commented on Nov 22, 2026

    @kyle-sexton
    MemberAuthor

    Decision recorded (owner, hub session, 2026-11-22, "go with recommendations" on hub Q263): the needs-owner-decision hold was a false cost match. The phrase "self-hosted runner sessions" matched the cost word self-hosted[- ]runners? (plugins/work-items/scripts/charge-words.json:4), but this work bills nothing, and owner-decisions row 302 settles its scope. The body now says "self-hosted Claude Code sessions" (same meaning), and Work status is needs-triage.

  7. github-actions commented on Nov 22, 2026

    @github-actions
    Contributor

    A listed human released the issue's Work status hold, so it goes back to intake triage.

  8. melodic-automation-lanes commented on Nov 22, 2026

    @melodic-automation-lanes
    Contributor

    {"v":1,"actor_id":337595936,"title_sha256":"344994549aa38603b1cb106ebd0eddfcbd78578d9a4270b76fbd285be9e3c660","body_sha256":"50b404c1589d357a94f434dfcb33474ec3def2273602b03ce856ee63b2489785"}

  9. github-actions commented on Nov 22, 2026

    @github-actions
    Contributor
    No description provided.
  10. melodic-automation-lanes commented on Nov 22, 2026

    @melodic-automation-lanes
    Contributor

    The work-resolve-issue lane stopped on this issue (report-delivered): the issue asks for a report and no change, and the run posted that report, so the issue closes.
    It closes the issue as completed.

    In the run's words:

    report-delivered: neither the mcp page nor the managed-mcp page states that a claude.ai &lt;name&gt; deniedMcpServers entry reaches cloud or self-hosted Claude Code sessions, so per the first done-when item levers.json stays unchanged and the quotes found are recorded below.

    The run's report:

    Both pages were read live on 2026-11-22. Neither one states that a claude.ai &lt;name&gt; deny reaches cloud or self-hosted Claude Code sessions, so the first done-when item applies: plugins/context-budget/skills/audit/reference/levers.json (connectors-disable conditions, line 346) stays unchanged.

    https: //code.claude.com/docs/en/mcp#how-connectors-reach-claude-code says deny entries filter cloud-delivered connectors in general. It does not name the serverName / claude.ai &lt;name&gt; form, and it does not say what name a delivered connector has in a cloud session:
    > Cloud sessions: allowedMcpServers and deniedMcpServers entries that reach the session, for example through server-managed settings, filter the delivered connectors too. The session's proxy rewrites each connector's URL, so a serverUrl pattern written for the connector's own URL doesn't match it. To admit delivered connectors alongside a URL allowlist in a self-hosted environment, add the serverUrl entries listed under Connector traffic leaves your network.

    The same page's name-form example sits under "Disable claude.ai connectors", which covers only the connectors Claude Code fetches itself:
    > To block individual claude.ai connectors instead of all of them, add them to deniedMcpServers by name or by URL pattern. For example, a serverName entry of "claude.ai Slack" blocks the Slack connector.

    https: //code.claude.com/docs/en/managed-mcp documents the name form without tying it to cloud sessions:
    > In deniedMcpServers, serverName accepts any non-empty string without leading or trailing whitespace, so you can block claude.ai connectors by their display name. For example, { "serverName": "claude.ai Slack" } blocks the Slack connector.

    The page's general denylist scope:
    > The denylist applies to every server regardless of where it came from, other than in-process type: "sdk" entries.

    Its only mention of self-hosted sessions is about the allowlist:
    > Use serverUrl to allowlist a claude.ai connector Claude Code fetches itself; for connectors a cloud host delivers to self-hosted sessions, use the entries listed under Connector traffic leaves your network instead.

    Putting these together suggests a name-form deny probably applies in cloud sessions. That is an inference, not a documented statement: neither page says a delivered connector keeps the claude.ai &lt;name&gt; display name once the cloud host passes it in. The owner's decision was to widen only on what upstream documents, so the lever stays local-CLI only. The current conditions text still matches both pages: disableClaudeAiConnectors does not apply to delivered connectors, and serverUrl patterns do not match them.

    What the run says it did not do:

    • Posting the quotes on the issue: this lane cannot comment, so the quotes are in summary for the lane to post (report-delivered).
    • tidy: no changed lines to tidy (no file changed).
    • review, build and lint prep: skipped because the diff is empty.

    Run: https://github.com/melodic-software/claude-code-plugins/actions/runs/45041321604

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

    Fields

    Work status

    agent-ready

    Priority

    medium

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions