Skip to content

registry: Fleur servers wrongly shown as Remote (URL synthesized for local stdio apps) — same class as #483 #567

Closed

Description

@Dumbris

Symptom

Web UI registry search shows all Fleur servers as "Remote" despite local stdio install commands (fetch=uvx mcp-server-fetch, memory/github=npx -y @modelcontextprotocol/server-*).

Root cause

internal/registries/search.go constructServerURL() synthesizes https://api.fleurmcp.com/apps/<id>/mcp for every Fleur app. parseFleur() sets InstallCmd (local stdio) and empty URL; constructServerURL then fills a non-empty URL → frontend renders it as http/Remote. Same class as #483 (docker), which was fixed by returning "" for protocolDocker — the Fleur case was missed.

Fix

For protocolFleur, return "" when server.InstallCmd != "" (local stdio), like the docker case. Mirror the #483 regression test.

Note: subsumed long-term by migrating to the official MCP registry protocol (separate effort).

Activity

  1. simonlpaige commented on Jun 2, 2026

    @simonlpaige

    This is a clean isolation, but I think the fix needs a small adjustment compared to the Docker case. In internal/registries/search.go, the Docker fix returns "" for protocolDocker unconditionally because Docker servers never have a meaningful remote URL. For Fleur, the constructServerURL function is called for all Fleur apps, but some legitimately are remote (e.g., SaaS instances with a real HTTP endpoint).

    The correct check should mirror the logic more precisely: return "" only when server.InstallCmd != "" AND server.URL == "". This preserves the case where a Fleur app has both an install command and an explicit URL (unlikely but consistent). Currently, parseFleur() sets InstallCmd but leaves URL empty, so the InstallCmd check alone works for all current entries—but if Fleur ever adds hybrid entries, the URL check prevents false negatives.

    The regression test in internal/registries/search_test.go should also assert that constructServerURL returns "" for a Fleur entry with InstallCmd: "uvx mcp-server-fetch" and URL: "", and returns a valid URL for one with URL: "https://example.com/mcp" and no install command.

  2. Dumbris commented on Jun 8, 2026

    @Dumbris
    MemberAuthor

    Resolved — the official v0.1 parser now classifies each entry per transport (packages[] ⇒ local/stdio, remotes[] ⇒ remote) instead of 'remotes present ⇒ remote' (internal/registries/official.go, GH #567 root fix). Fleur was also removed from the default registry set (v0.37.0). Closing.

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

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions