Kuberwastaken/claurst · error
rmcp list_all_resources failed
Error message
rmcp list_all_resources failed: {} What it means
During connection setup, build_snapshot's list_all_resources call failed although the server advertised the resources capability in its initialize response. Enumerating resources errored server-side or at the connection level, aborting snapshot construction.
Solutions
- Retry the connection
- Check server logs for resources/list failures
- Verify the server's resources implementation matches its advertised capability
Defensive patterns
Strategy: retry
When it happens
Trigger: Thrown at src-rust/crates/mcp/src/rmcp_backend.rs:651 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of Kuberwastaken/claurst@b0637c97ec (2026-09-10).
Data as JSON: /api/errors/2459d6ace3353b05.
Report an issue: GitHub.
Appendix: source
Thrown at src-rust/crates/mcp/src/rmcp_backend.rs:651
),
None => (None, ServerCapabilities::default(), None),
};
let tools = if capabilities.tools.is_some() {
peer.list_all_tools()
.await
.map_err(|e| anyhow::anyhow!("rmcp list_all_tools failed: {}", e))?
.into_iter()
.map(convert_tool)
.collect()
} else {
vec![]
};
let resources = if capabilities.resources.is_some() {
peer.list_all_resources()
.await
.map_err(|e| anyhow::anyhow!("rmcp list_all_resources failed: {}", e))?
.into_iter()
.map(convert_resource)
.collect()
} else {
vec![]
};
let prompts = if capabilities.prompts.is_some() {
peer.list_all_prompts()
.await
.map_err(|e| anyhow::anyhow!("rmcp list_all_prompts failed: {}", e))?
.into_iter()
.map(convert_prompt)
.collect()
} else {
vec![]
};
View on GitHub (pinned to b0637c97ec)