🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
import { useToolStore } from '@/store/tool';
import { toolSelectors } from '@/store/tool/selectors';
import { connectorForTool } from './connectorForTool';
export const useMcpAppIdentity = (identifier: string, agentId?: string) =>
useToolStore((s) => {
const connector = connectorForTool(identifier, agentId)(s);
const plugin = toolSelectors.getMetaById(identifier)(s);
return [
connector?.name || plugin?.title || identifier,
plugin?.avatar || 'MCP_AVATAR',
] as const;
});