tinyhumansai/openhuman · error · anyhow::Error

no registries enabled

Error message

no registries enabled

What it means

Registry fan-out completed its loop over enabled_registries(config) with every registry disabled or filtered out, so no source was consulted. no registry backend (official, smithery, ...) is enabled in config for this lookup — a configuration problem, not a transient failure.

Source

Thrown at src/openhuman/mcp/registry/registry.rs:253

        tracing::warn!(
            "[mcp-registry] get: unknown source prefix {source:?} — falling back to all registries"
        );
    }

    let mut last_err: Option<anyhow::Error> = None;
    for registry in enabled_registries(config) {
        match registry.get(config, qualified_name).await {
            Ok(detail) => return Ok(detail),
            Err(err) => {
                tracing::debug!(
                    "[mcp-registry] {} get miss for {qualified_name}: {err}",
                    registry.source()
                );
                last_err = Some(err);
            }
        }
    }
    Err(last_err.unwrap_or_else(|| anyhow::anyhow!("no registries enabled")))
}

#[cfg(test)]
mod tests {
    use super::*;

    fn summary(qualified_name: &str, source: &str) -> SmitheryServerSummary {
        SmitheryServerSummary {
            qualified_name: qualified_name.to_string(),
            display_name: qualified_name.to_string(),
            description: None,
            icon_url: None,
            use_count: 0,
            is_deployed: false,
            source: source.to_string(),
            official: false,
            website_url: None,
            auth_kind: None,

View on GitHub (pinned to 7491200858)

Solutions

  1. Enable at least one registry source in the mcp registry config section
  2. Check for config filters that excluded all enabled registries
  3. Verify the config file loaded correctly (no parse fallback to defaults)
Defensive patterns

Strategy: validation

When it happens

Trigger: Thrown at src/openhuman/mcp/registry/registry.rs:253 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of tinyhumansai/openhuman@7491200858 (2026-08-17). Data as JSON: /api/errors/a84394d3f50b735c. Report an issue: GitHub.