How do I connect to MongoDB?
Pass the MongoDB URI as a command-line argument, e.g., `npx -y mcp-mongo-server mongodb://localhost:27017/database`, or set the `MCP_MONGODB_URI` environment variable.
@kiliczsh
基本情報
A Model Context Protocol Server for MongoDB
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"mongodb": {
"command": "npx",
"args": [
"-y",
"github:kiliczsh/mcp-mongo-server",
"mongodb://muhammed:kilic@localhost:27017/database"
]
},
"mongodb-readonly": {
"command": "npx",
"args": [
"-y",
"github:kiliczsh/mcp-mongo-server",
"mongodb://muhammed:kilic@localhost:27017/database",
"--read-only"
]
}
}
}ツール一覧はまだありません
この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。
上のボタンで一時的なサンドボックスでこのサーバーを実行し、ツール一覧を取得できます。
MCP MongoDB Server is a Model Context Protocol server that enables LLMs to interact with MongoDB databases. It provides capabilities for inspecting collection schemas and executing MongoDB operations through a standardized interface.
Start the server via npx with a MongoDB URI: npx -y mcp-mongo-server mongodb://localhost:27017/database. Use the --read-only flag to prevent write operations. Alternatively, set the MCP_MONGODB_URI and MCP_MONGODB_READONLY environment variables.
Pass the MongoDB URI as a command-line argument, e.g., `npx -y mcp-mongo-server mongodb://localhost:27017/database`, or set the `MCP_MONGODB_URI` environment variable.
Yes, use the `--read-only` flag or set `MCP_MONGODB_READONLY` to `"true"`. Read-only mode also uses secondary read preference.
The server provides tools for query, aggregate, update, insert, and more. See the [Available Tools](docs/tools.md) documentation.
ObjectId handling has three configurable modes: auto, none, and force for string-to-ObjectId conversion.
Yes, MCP MongoDB Server is released under the MIT license.
The official Redis MCP Server is a natural language interface designed for agentic applications to manage and search data in Redis efficiently

Oracle MCP server with no run-sql tool: It generates tools for each of the PL/SQL procedures, tables and approved SQL you choose. The server doesn't expose a SQL prompt, and can't reveal how it's connected to Oracle.
Connect ClickHouse to your AI assistants.
Zero-dependency, token-efficient database MCP server for Postgres, MySQL, SQL Server, MariaDB, SQLite.
A powerful multi-database server implementing the Model Context Protocol (MCP) to provide AI assistants with structured access to databases.
コメント