AgentSkillsCN

setup

当用户遇到“MongoDB连接失败”、“认证失败”、“MongoDB MCP错误”、“连接字符串无效”、“authSource错误”或需要帮助配置MongoDB集成时,应使用此技能。

SKILL.md
--- frontmatter
name: setup
description: This skill should be used when user encounters "MongoDB connection failed", "authentication failed", "MongoDB MCP error", "connection string invalid", "authSource error", or needs help configuring MongoDB integration.

MongoDB Tools Setup

Run /mongodb-tools:setup to configure MongoDB MCP.

Quick Fixes

  • Authentication failed - Add ?authSource=admin to connection string
  • Invalid connection string - Use mongodb:// or mongodb+srv:// prefix
  • Network timeout - Whitelist IP in Atlas Network Access

Don't Need MongoDB?

Disable via /mcp command to prevent errors.