微算力 · API 导航与自营网关
API 接入 EN
未登录登录
🍃

MongoDB Atlas 运维与自动化

MongoDB Atlas · v1.0.0
入口已确认,内容待校验 文件树里有 SKILL.md,但正文还没采回,frontmatter 未核对。
开发 安全 B 级 作者 finishy1995 公开目录收录
2.6k 下载 0 安装 8.9k 收藏 10 浏览

简介

浏览 MongoDB Atlas Admin API 文档,支持读取 OpenAPI 规范,配置凭证后可执行集群管理、备份恢复等运维操作。

原始描述

browse MongoDB Atlas Admin API specifications and execute operations (if credentials provided).

通过你的 Agent 添加

安装目录:mongodb-atlas/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/mongodb-atlas/
Codex CLI~/.codex/skills/mongodb-atlas/
DeepSeek Harness~/.agents/skills/mongodb-atlas/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

技能正文


name: mongodb-atlas description: browse MongoDB Atlas Admin API specifications and execute operations (if credentials provided). homepage: https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/ metadata: {"clawdbot":{"emoji":"🍃","requires":{"bins":["node"],"env":["ATLAS_CLIENT_ID","ATLAS_CLIENT_SECRET"]},"primaryEnv":""}}

MongoDB Atlas Admin API

Tool to browse OpenAPI specifications for MongoDB Atlas. Note: If ATLAS_CLIENT_ID and ATLAS_CLIENT_SECRET are configured in the environment, this tool can also execute live API calls. Without credentials, it functions as a read-only documentation browser.

Commands

1. List API Catalog

List all available API categories or filter by keyword.

node {baseDir}/scripts/atlas-api.mjs catalog # list all categories
node {baseDir}/scripts/atlas-api.mjs catalog Clusters

2. Get API Details

Get full endpoint definition (method, path, params) for a specific Operation ID.

node {baseDir}/scripts/atlas-api.mjs detail listClusterDetails

3. Get Schema Definition

Get the data model schema for complex types.

node {baseDir}/scripts/atlas-api.mjs schema "#/components/schemas/ApiError"

4. Execute Live API Calls

Execute real HTTP requests against the Atlas API.

Script: node {baseDir}/scripts/atlas-call.mjs <METHOD> <ENDPOINT> [flags]

⚠️ Mandatory Safety Protocol

For any state-changing operation (POST, PUT, PATCH, DELETE):

  1. STOP & REVIEW: You MUST NOT execute the command immediately.
  2. PREVIEW: Use --dry-run first to verify the payload and endpoint.
  3. CONFIRM: Display the full command and JSON body to the user.
  4. EXECUTE: Only run with --yes after receiving explicit user approval.

Usage Examples

1. Read-Only (Safe)

node {baseDir}/scripts/atlas-call.mjs GET groups/{groupId}/clusters

2. Create/Modify (RISKY - Require Approval)

node {baseDir}/scripts/atlas-call.mjs POST groups/{groupId}/clusters \
  --data '{"name":"DemoCluster", "providerSettings":{...}}' \
  --dry-run

Options

  • -d, --data <json>: Request body string (ensure proper JSON escaping).
  • -p, --params <json>: Query parameters.
  • --dry-run: Print the request details without executing (Recommended for verification).
  • --yes: Skip interactive confirmation (Use CAREFULLY).

Environment

Requires ATLAS_CLIENT_ID and ATLAS_CLIENT_SECRET to be set.

Core Categories

(Use catalog command to see the full list of 50+ categories)

  • Clusters / Cloud Backups
  • Projects / Organizations
  • Database Users / Custom Database Roles
  • Alerts / Alert Configurations
  • Monitoring and Logs / Events
  • Network Peering / Private Endpoint Services
  • Serverless Instances
  • Access Tracking / Auditing

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

mongodbdatabasecloud-infrastructuredevopsapiatlas

同类 Skill