8000 `getSupportedClients` doesn't work correctly · Issue #64 · PostHog/wizard · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
getSupportedClients doesn't work correctly #64
Open
@leoffx

Description

@leoffx

getSupportedClients is currently defined as:

export const getSupportedClients = (): MCPClient[] => {
  return [new CursorMCPClient(), new ClaudeMCPClient()].filter((client) =>
    client.isClientSupported(),
  );
};

the problem is that client.isClientSupported() returns a Promise, which is always truthy and this means filter is doing nothing

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

      0