Mongodb CLI
Verified · npm:@cognelisMCP server by cognelis · updated · ★ 0 · 1.3k downloads a week
MongoDB CLI derived from the MongoDB MCP server, with per-profile access modes, diagnostics, and shell completion. Mongodb CLI is published by npm:@cognelis from its verified domain in the official MCP Registry.
Last commit 8 days ago
Apache-2.0: permissive, fine for commercial use
Clear description, published package or server URL, original repository
Not checked yet. What we check
Install Mongodb CLI
Built from the published package, never by AIclaude mcp add mongodb-cli -- npx -y @cognelis/mongodb-cliRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"mongodb-cli": {
"command": "npx",
"args": [
"-y",
"@cognelis/mongodb-cli"
]
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"mongodb-cli": {
"command": "npx",
"args": [
"-y",
"@cognelis/mongodb-cli"
]
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"mongodb-cli": {
"command": "npx",
"args": [
"-y",
"@cognelis/mongodb-cli"
]
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add mongodb-cli -- npx -y @cognelis/mongodb-cli{
"mcpServers": {
"mongodb-cli": {
"command": "npx",
"args": [
"-y",
"@cognelis/mongodb-cli"
]
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add mongodb-cli npx -y @cognelis/mongodb-cliGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the mongodb-cli block.
Alternatives to Mongodb CLI
All alternatives →MCP server for interacting with the Supabase platform
Self-learning vector database for Node.js — hybrid search, Graph RAG, FlashAttention-3, HNSW, 50+ attention mechanisms
MCP Toolbox for Databases enables your agent to connect to your database.
Shared proxy-aware fetch and httpClient factory for the MongoDB MCP server
Real-time Kubernetes network traffic visibility and API analysis for HTTP, gRPC, Redis, Kafka, DNS.
WhoDB CLI - database management tool with TUI, programmatic commands, and MCP server
Mongodb CLI: common questions
How do I install Mongodb CLI?
In Claude Code run claude mcp add mongodb-cli -- npx -y @cognelis/mongodb-cli. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Mongodb CLI the official server?
Mongodb CLI is published by npm:@cognelis from its verified domain in the official MCP Registry.
Is Mongodb CLI free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is Mongodb CLI safe to use?
It scores 82 of 100. Grades: maintenance A, licence A, quality C. The security check has not run for it yet. Review the code before you install. How grades work.
What are alternatives to Mongodb CLI?
Similar MCP servers: Supabase, Ruvector, MCP Toolbox for Databases, MCP Fetch.
Does Mongodb CLI work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
