repo_description: ✨ Light and Fast AI Assistant. Support: Web | iOS | MacOS | Android |  Linux | Windows
repo_topics: calclaude chatgpt claude cross-platform desktop fe gemini gemini-pro gemini-server gemini-ultra gpt-4o groq nextjs ollama react tauri tauri-app vercel webui
code: export function isMcpJson(content: string) {
    return content.match(/```json:mcp:([^{\s]+)([\s\S]*?)```/);
  }
  
  export function extractMcpJson(content: string) {
    const match = content.match(/```json:mcp:([^{\s]+)([\s\S]*?)```/);
    if (match && match.length === 3) {
      return { clientId: match[1], mcp: JSON.parse(match[2]) };
    }
    return null;
  }
  