@ 社区模板
通过 MCP 协议提供与 MongoDB 数据库的安全交互。
mongodb://user:password@host:port/database?authSource=admin
)注意:Atlas 工具仅在配置部分设置凭据时可用
命令名称 | 功能描述 |
---|---|
atlas-list-orgs | 列出 MongoDB Atlas 组织 |
atlas-list-projects | 列出 MongoDB Atlas 项目 |
atlas-create-project | 创建新的 MongoDB Atlas 项目 |
atlas-list-clusters | 列出 MongoDB Atlas 集群 |
atlas-inspect-cluster | 检查特定的 MongoDB Atlas 集群 |
atlas-create-free-cluster | 创建免费的 MongoDB Atlas 集群 |
atlas-connect-cluster | 连接到 MongoDB Atlas 集群 |
atlas-inspect-access-list | 检查可访问 MongoDB Atlas 集群的 IP/CIDR 范围 |
atlas-create-access-list | 配置 MongoDB Atlas 集群的 IP/CIDR 访问列表 |
atlas-list-db-users | 列出 MongoDB Atlas 数据库用户 |
atlas-create-db-user | 创建 MongoDB Atlas 数据库用户 |
atlas-list-alerts | 列出项目的 MongoDB Atlas 警报 |
命令名称 | 功能描述 |
---|---|
connect | 连接到 MongoDB 实例 |
find | 对 MongoDB 集合运行查找查询 |
aggregate | 对 MongoDB 集合运行聚合查询 |
count | 获取 MongoDB 集合中的文档数量 |
insert-one | 向 MongoDB 集合插入单个文档 |
insert-many | 向 MongoDB 集合插入多个文档 |
create-index | 为 MongoDB 集合创建索引 |
update-one | 更新 MongoDB 集合中的单个文档 |
update-many | 更新 MongoDB 集合中的多个文档 |
rename-collection | 重命名 MongoDB 集合 |
delete-one | 从 MongoDB 集合删除单个文档 |
delete-many | 从 MongoDB 集合删除多个文档 |
drop-collection | 从 MongoDB 数据库中删除集合 |
drop-database | 删除 MongoDB 数据库 |
list-databases | 列出 MongoDB 连接的所有数据库 |
list-collections | 列出给定数据库的所有集合 |
collection-indexes | 描述集合的索引 |
collection-schema | 描述集合的模式 |
collection-storage-size | 获取集合的大小(MB) |
db-stats | 返回 MongoDB 数据库的统计信息 |
https://github.com/mongodb-js/mongodb-mcp-server