MongoDB Atlas MCP by usefulapi

Read Atlas projects, clusters, users, alerts and IP access; add IP access entries in MongoDB Atlas.

¿Debería usar esto?

Calidad y seguridad

A
Calidad de la descripción
100%
Integridad del esquema
99%
Calidad de los nombres
80%
Riesgo de envenenamiento
100%
Coincidencia de permisos
100%
Cumplimiento del protocolo
100%

Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.

Costo de contexto

~1,666Tokens (definiciones de herramientas)
~1.3 KBTamaño de respuesta típico
Impacto moderado en la atención (1.30% del contexto de 128k)

Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.

Instalar

Instalación con un clic

Agrega esto a tu archivo `claude_desktop_config.json`:

{
  "mcpServers": {
    "mongodb": {
      "url": "https://mongodb.usefulapi.io/mcp"
    }
  }
}

Puntos de conexión remotos

https://mongodb.usefulapi.io/mcpstreamable-http

Qué puede hacer

Inventario de herramientas

Herramientas (8)

🟢 Solo lectura🟡 Escritura🔴 Eliminación⚪ Desconocido
🟢mongodb_list_projects(items_per_page, page)

List the Atlas projects (groups) the service account can see, with id, name and cluster count. Good first call to find a project id. Atlas API: GET /api/atlas/v2/groups.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "items_per_page": {
      "description": "Items per page (1-500).",
      "type": "integer",
      "minimum": 1,
      "maximum": 500
    },
    "page": {
      "description": "Page number, starting at 1.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢mongodb_get_project(project_id)

Get one Atlas project: name, organization id, creation date and region settings. Atlas API: GET /api/atlas/v2/groups/{groupId}.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "project_id": {
      "type": "string",
      "pattern": "^[a-f0-9]{24}$",
      "description": "Atlas project (group) id, 24 hex characters, e.g. 5d2f8a9c1e4b3a0012ab34cd."
    }
  },
  "required": [
    "project_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢mongodb_list_clusters(project_id, items_per_page, page)

List the clusters in one Atlas project with state, MongoDB version, cluster type and region. Atlas API: GET /api/atlas/v2/groups/{groupId}/clusters.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "project_id": {
      "type": "string",
      "pattern": "^[a-f0-9]{24}$",
      "description": "Atlas project (group) id, 24 hex characters, e.g. 5d2f8a9c1e4b3a0012ab34cd."
    },
    "items_per_page": {
      "description": "Items per page (1-500).",
      "type": "integer",
      "minimum": 1,
      "maximum": 500
    },
    "page": {
      "description": "Page number, starting at 1.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "project_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢mongodb_get_cluster(project_id, cluster_name)

Get one cluster: state, MongoDB version, instance size, replication and connection strings' host names (no passwords). Atlas API: GET /api/atlas/v2/groups/{groupId}/clusters/{clusterName}.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "project_id": {
      "type": "string",
      "pattern": "^[a-f0-9]{24}$",
      "description": "Atlas project (group) id, 24 hex characters, e.g. 5d2f8a9c1e4b3a0012ab34cd."
    },
    "cluster_name": {
      "type": "string",
      "pattern": "^[A-Za-z0-9-]{1,64}$",
      "description": "Cluster name, e.g. Cluster0."
    }
  },
  "required": [
    "project_id",
    "cluster_name"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢mongodb_list_database_users(project_id, items_per_page, page)

List the database users of one project: usernames, auth database and roles. Passwords are never returned. Atlas API: GET /api/atlas/v2/groups/{groupId}/databaseUsers.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "project_id": {
      "type": "string",
      "pattern": "^[a-f0-9]{24}$",
      "description": "Atlas project (group) id, 24 hex characters, e.g. 5d2f8a9c1e4b3a0012ab34cd."
    },
    "items_per_page": {
      "description": "Items per page (1-500).",
      "type": "integer",
      "minimum": 1,
      "maximum": 500
    },
    "page": {
      "description": "Page number, starting at 1.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "project_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢mongodb_list_ip_access_entries(project_id, items_per_page, page)

List the IP access list entries of one project: allowed IP addresses and CIDR blocks, with comments and expiry. Atlas API: GET /api/atlas/v2/groups/{groupId}/accessList.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "project_id": {
      "type": "string",
      "pattern": "^[a-f0-9]{24}$",
      "description": "Atlas project (group) id, 24 hex characters, e.g. 5d2f8a9c1e4b3a0012ab34cd."
    },
    "items_per_page": {
      "description": "Items per page (1-500).",
      "type": "integer",
      "minimum": 1,
      "maximum": 500
    },
    "page": {
      "description": "Page number, starting at 1.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "project_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢mongodb_list_alerts(project_id, items_per_page, page)

List the alerts of one project: event type, status (OPEN, TRACKING, CLOSED, ...), creation and resolution times. Atlas API: GET /api/atlas/v2/groups/{groupId}/alerts.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "project_id": {
      "type": "string",
      "pattern": "^[a-f0-9]{24}$",
      "description": "Atlas project (group) id, 24 hex characters, e.g. 5d2f8a9c1e4b3a0012ab34cd."
    },
    "items_per_page": {
      "description": "Items per page (1-500).",
      "type": "integer",
      "minimum": 1,
      "maximum": 500
    },
    "page": {
      "description": "Page number, starting at 1.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "project_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴mongodb_add_ip_access_entry(project_id, ip_address, cidr_block, comment, delete_after_date)

Add one IP address or CIDR block to a project's IP access list, which lets that network reach the project's clusters. Give exactly one of ip_address or cidr_block. This widens network access: confirm the address first. Atlas API: POST /api/atlas/v2/groups/{groupId}/accessList.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "project_id": {
      "type": "string",
      "pattern": "^[a-f0-9]{24}$",
      "description": "Atlas project (group) id, 24 hex characters, e.g. 5d2f8a9c1e4b3a0012ab34cd."
    },
    "ip_address": {
      "description": "A single IPv4 or IPv6 address, e.g. 203.0.113.7.",
      "type": "string"
    },
    "cidr_block": {
      "description": "A CIDR block, e.g. 203.0.113.0/24. Give this OR ip_address.",
      "type": "string"
    },
    "comment": {
      "description": "Short note stored with the entry (max 80 characters).",
      "type": "string",
      "maxLength": 80
    },
    "delete_after_date": {
      "description": "ISO 8601 time when Atlas removes the entry, e.g. 2026-12-31T00:00:00Z.",
      "type": "string"
    }
  },
  "required": [
    "project_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

Comunidad

Califica este servidor

Evidencia

Observaciones recientes

verificadoversión no registrada8 herramientas