NextChat
NextChat copied to clipboard
[Bug] Failed to retrieve MCP Preset Servers.
📦 Deployment Method
Other
📌 Version
the main branch (commit: 48469bd8ca4b29d40db0ade61b57f9be6f601e01)
💻 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
This is very confusing. Can you ever use MCP at the moment ?
感谢反馈,已经修复了https://nextchat.club/mcp/list