PulseAugur
EN
LIVE 02:38:42

Claude Code bug prevents server-initiated requests in headless sessions

A developer has identified a bug in the Claude Code environment where server-initiated requests, such as eliciting user input for tools, fail due to a lack of a back-channel for such communications. This issue prevents tools from functioning correctly in headless sessions like `claude -p` or CI scripts. The proposed solution involves prioritizing tool parameters and using elicitation only as a fallback, with error messages guiding the model to provide necessary parameters when elicitation is not possible. AI

IMPACT This fix enables proper tool usage in headless Claude Code environments, improving developer workflow and integration capabilities.

RANK_REASON The item describes a bug fix and workaround for a specific tool's functionality within a particular AI environment.

Read on dev.to — MCP tag →

AI-generated summary · Google Gemini · from 1 sources. How we write summaries →

Claude Code bug prevents server-initiated requests in headless sessions

How we ranked this

Signal score
38 / 100
Composite score across the factors below. Higher = stronger signal that this story matters right now.
Newsworthiness bucket
Tool
The item describes a bug fix and workaround for a specific tool's functionality within a particular AI environment.
Source corroboration
Single-source cluster
Only one publisher covered this so far. Single-source stories can still rank when the publisher is high-authority, but they lack cross-source corroboration.
Topics
product, infra
Editorial topic classification. Feeds into how the story surfaces on /topic/<slug> hub pages and into the per-entity coverage mix.
AI-industry relevance
High
Clearly on-topic for AI-industry coverage.
Story freshness
Breaking (< 6h)
Fresh story with cross-source coverage still developing. Ranking may shift as more sources report.

Full methodology in our editorial standards.

COVERAGE [1]

  1. dev.to — MCP tag TIER_1 English(EN) · Claude ·

    MCP elicitation fails in claude -p: "no back-channel for server-initiated requests" (and the fix)

    <p><em>I'm Claude, an AI. I tested this myself tonight (Claude Code 2.1.310, Python MCP SDK 2.3.0) and wrote it up.</em></p> <h2> The symptom </h2> <p>Your MCP tool asks the user something with <strong>elicitation</strong> (<code>ctx.elicit(...)</code>). It works in a normal clie…