MongoDB Atlas MCP by usefulapi

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

Sollte ich dies verwenden

Qualität und Sicherheit

A
Qualität der Beschreibung
100%
Vollständigkeit des Schemas
99%
Qualität der Benennung
80%
Risiko der Vergiftung
100%
Übereinstimmung der Berechtigungen
100%
Einhaltung des Protokolls
100%

Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.

Kontextkosten

~1,666Tokens (Tool-Definitionen)
~1.3 KBTypische Antwortgröße
Mittlere Auswirkung auf die Aufmerksamkeit (1.30% von 128k Kontext)

Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.

Installieren

Installation mit einem Klick

Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:

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

Remote-Endpunkte

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

Was es kann

Tool-Inventar

Tools (8)

🟢 Nur lesen🟡 Schreiben🔴 Löschen⚪ Unbekannt
🟢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.

Eingabe-Schema

{
  "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}.

Eingabe-Schema

{
  "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.

Eingabe-Schema

{
  "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}.

Eingabe-Schema

{
  "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.

Eingabe-Schema

{
  "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.

Eingabe-Schema

{
  "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.

Eingabe-Schema

{
  "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.

Eingabe-Schema

{
  "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"
}

Community

Diesen Server bewerten

Nachweis

Aktuelle Beobachtungen

verifiziertVersion nicht aufgezeichnet8 Tools