Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Failed to retrieve MCP Preset Servers. #6405

Open
hdh999 opened this issue Mar 26, 2025 · 0 comments
Open

[Bug] Failed to retrieve MCP Preset Servers. #6405

hdh999 opened this issue Mar 26, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@hdh999
Copy link

hdh999 commented Mar 26, 2025

📦 Deployment Method

Other

📌 Version

the main branch (commit: 48469bd)

💻 Operating System

macOS

📌 System Version

14.4.1

🌐 Browser

Chrome

📌 Browser Version

Version 133.0.6943.142 (Official Build) (arm64)

🐛 Bug Description

// /app/components/mcp-market.tsx
// 加载预设服务器
  useEffect(() => {
    const loadPresetServers = async () => {
      if (!mcpEnabled) return;
      try {
        setLoadingPresets(true);
        const response = await fetch("https://nextchat.club/mcp/list");
        if (!response.ok) {
          throw new Error("Failed to load preset servers");
        }
        const data = await response.json();
        setPresetServers(data?.data ?? []);
      } catch (error) {
        console.error("Failed to load preset servers:", error);
        showToast("Failed to load preset servers");
      } finally {
        setLoadingPresets(false);
      }
    };
    loadPresetServers();
  }, [mcpEnabled]);

What service is https://nextchat.club/mcp/list? It does not return the mcp preset server configuration.

📷 Recurrence Steps

No response

🚦 Expected Behavior

No response

📝 Additional Information

No response

@hdh999 hdh999 added the bug Something isn't working label Mar 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant