GitHub Stars
167
User Rating
Not Rated
Favorites
0
Views
41
Forks
32
Issues
14
Installation
Difficulty
BeginnerEstimated Time
5-10 minutes
Installation
Installation
Prerequisites
Please specify required software and versions:Node.js: 18.0.0 or higher
npx: Latest version
Docker and Docker Compose (for local sandbox testing, optional)
MCP Client (e.g., Claude Desktop app)
Installation Steps
1. Install via Smithery
bash
npx -y @smithery/cli install mongo-mcp --client claude
2. Verify MongoDB Server Startup
If using Docker to start MongoDB:bash
docker-compose up -d
3. Seed the Database with Test Data
bash
npm run seed
4. Configure Claude Desktop
Editclaude_desktop_config.json to add the MCP server:
json
{
"mcpServers": {
"mongodb": {
"command": "npx",
"args": [
"mongo-mcp",
"mongodb://:@:/?authSource=admin"
]
}
}
}