MongoDB MCP Server
개요
제작자가 쓴 설명(영어 원문)
MongoDB Model Context Protocol Server
PopNx MCP의 세 기둥
이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.
- 사용자 의견i아직 리뷰가 없어요리뷰는 다음 단계에서 계정 기능과 함께 열려요
- 우리의 기본 점검i3개 중 3개 통과공개된 정보로 점검했으며, 코드는 아직 스캔하지 않았어요
- 사용 정도i널리 사용됨↓ 15.7만/주 · ★ 1,157
할 수 있는 일
이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.
- 연결 방식: 내 컴퓨터에서 실행
- 전송 방식: stdio
- 카테고리: 데이터베이스 및 데이터셋
- 입력해야 할 값: MDB_MCP_API_CLIENT_ID, MDB_MCP_API_CLIENT_SECRET, MDB_MCP_CONNECTION_STRING, MDB_MCP_CONNECTION_STRINGS, MDB_MCP_VOYAGE_API_KEY
설치
쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.
설치하기 전에
- 기본 점검: 3개 중 3개 통과
- 내 컴퓨터에서 내 사용자 계정의 권한(파일, 네트워크, 앱)으로 실행돼요.
- 직접 입력할 값:
MDB_MCP_AGGREGATION_COUNT_MAX_TIME_MS_CAP,MDB_MCP_AGGREGATION_COUNT_TIMEOUT_MS,MDB_MCP_ALLOW_REQUEST_OVERRIDES,MDB_MCP_API_CLIENT_ID,MDB_MCP_API_CLIENT_SECRET,MDB_MCP_ASSISTANT_BASE_URL,MDB_MCP_ATLAS_TEMPORARY_DATABASE_USER_LIFETIME_MS,MDB_MCP_CONFIRMATION_REQUIRED_TOOLS,MDB_MCP_CONNECTION_IDLE_TIMEOUT_MS,MDB_MCP_CONNECTION_SCOPE,MDB_MCP_CONNECTION_STRING,MDB_MCP_CONNECTION_STRINGS,MDB_MCP_DANGEROUS_HOST_BINDING,MDB_MCP_DISABLE_SERVER_SIDE_JS,MDB_MCP_DISABLE_UNTRUSTED_DATA_WARNING,MDB_MCP_DISABLED_TOOLS,MDB_MCP_DRY_RUN,MDB_MCP_ELICITATION_TIMEOUT_MS,MDB_MCP_EVICTION_IDLE_GRACE_M_S,MDB_MCP_EXPORT_CLEANUP_INTERVAL_MS,MDB_MCP_EXPORT_TIMEOUT_MS,MDB_MCP_EXPORTS_PATH,MDB_MCP_EXTERNALLY_MANAGED_SESSIONS,MDB_MCP_HEALTH_CHECK_HOST,MDB_MCP_HEALTH_CHECK_PORT,MDB_MCP_HTTP_BODY_LIMIT,MDB_MCP_HTTP_HEADERS,MDB_MCP_HTTP_HOST,MDB_MCP_HTTP_PORT,MDB_MCP_HTTP_RESPONSE_TYPE,MDB_MCP_IDLE_TIMEOUT_MS,MDB_MCP_INDEX_CHECK,MDB_MCP_LOG_PATH,MDB_MCP_LOGGERS,MDB_MCP_MAX_ACTIVE_CONNECTIONS,MDB_MCP_MAX_BYTES_PER_QUERY,MDB_MCP_MAX_DOCUMENTS_PER_QUERY,MDB_MCP_MAX_SESSIONS,MDB_MCP_MAX_TIME_M_S,MDB_MCP_MCP_CLIENT_LOG_LEVEL,MDB_MCP_MONITORING_SERVER_FEATURES,MDB_MCP_MONITORING_SERVER_HOST,MDB_MCP_MONITORING_SERVER_PORT,MDB_MCP_NOTIFICATION_TIMEOUT_MS,MDB_MCP_PREVIEW_FEATURES,MDB_MCP_QUERY_COUNT_MAX_TIME_MS_CAP,MDB_MCP_QUERY_COUNT_TIMEOUT_MS,MDB_MCP_READ_ONLY,MDB_MCP_TELEMETRY,MDB_MCP_TIMEOUT_MS,MDB_MCP_TRANSPORT,MDB_MCP_VOYAGE_API_KEY
비밀로 표시된 값은 내 계정의 열쇠예요. 절대 다른 사람과 공유하거나 채팅에 붙여 넣지 마세요.
필요한 것
- npmNode.js 설치(npx 명령어용)
어떤 앱을 쓰세요?
위에서 앱을 고르세요. 기억해 두었다가 다음부터는 버튼에 “…에 설치”라고 표시해요.
Claude Desktop → Settings → Developer → Edit Config를 열고 claude_desktop_config.json에 이 내용을 붙여 넣으세요
{
"mcpServers": {
"mongodb": {
"command": "npx",
"args": [
"-y",
"mongodb-mcp-server"
],
"env": {
"MDB_MCP_AGGREGATION_COUNT_MAX_TIME_MS_CAP": "your-value",
"MDB_MCP_AGGREGATION_COUNT_TIMEOUT_MS": "your-value",
"MDB_MCP_ALLOW_REQUEST_OVERRIDES": "your-value",
"MDB_MCP_API_CLIENT_ID": "your-value",
"MDB_MCP_API_CLIENT_SECRET": "your-value",
"MDB_MCP_ASSISTANT_BASE_URL": "your-value",
"MDB_MCP_ATLAS_TEMPORARY_DATABASE_USER_LIFETIME_MS": "your-value",
"MDB_MCP_CONFIRMATION_REQUIRED_TOOLS": "your-value",
"MDB_MCP_CONNECTION_IDLE_TIMEOUT_MS": "your-value",
"MDB_MCP_CONNECTION_SCOPE": "your-value",
"MDB_MCP_CONNECTION_STRING": "your-value",
"MDB_MCP_CONNECTION_STRINGS": "your-value",
"MDB_MCP_DANGEROUS_HOST_BINDING": "your-value",
"MDB_MCP_DISABLE_SERVER_SIDE_JS": "your-value",
"MDB_MCP_DISABLE_UNTRUSTED_DATA_WARNING": "your-value",
"MDB_MCP_DISABLED_TOOLS": "your-value",
"MDB_MCP_DRY_RUN": "your-value",
"MDB_MCP_ELICITATION_TIMEOUT_MS": "your-value",
"MDB_MCP_EVICTION_IDLE_GRACE_M_S": "your-value",
"MDB_MCP_EXPORT_CLEANUP_INTERVAL_MS": "your-value",
"MDB_MCP_EXPORT_TIMEOUT_MS": "your-value",
"MDB_MCP_EXPORTS_PATH": "your-value",
"MDB_MCP_EXTERNALLY_MANAGED_SESSIONS": "your-value",
"MDB_MCP_HEALTH_CHECK_HOST": "your-value",
"MDB_MCP_HEALTH_CHECK_PORT": "your-value",
"MDB_MCP_HTTP_BODY_LIMIT": "your-value",
"MDB_MCP_HTTP_HEADERS": "your-value",
"MDB_MCP_HTTP_HOST": "your-value",
"MDB_MCP_HTTP_PORT": "your-value",
"MDB_MCP_HTTP_RESPONSE_TYPE": "your-value",
"MDB_MCP_IDLE_TIMEOUT_MS": "your-value",
"MDB_MCP_INDEX_CHECK": "your-value",
"MDB_MCP_LOG_PATH": "your-value",
"MDB_MCP_LOGGERS": "your-value",
"MDB_MCP_MAX_ACTIVE_CONNECTIONS": "your-value",
"MDB_MCP_MAX_BYTES_PER_QUERY": "your-value",
"MDB_MCP_MAX_DOCUMENTS_PER_QUERY": "your-value",
"MDB_MCP_MAX_SESSIONS": "your-value",
"MDB_MCP_MAX_TIME_M_S": "your-value",
"MDB_MCP_MCP_CLIENT_LOG_LEVEL": "your-value",
"MDB_MCP_MONITORING_SERVER_FEATURES": "your-value",
"MDB_MCP_MONITORING_SERVER_HOST": "your-value",
"MDB_MCP_MONITORING_SERVER_PORT": "your-value",
"MDB_MCP_NOTIFICATION_TIMEOUT_MS": "your-value",
"MDB_MCP_PREVIEW_FEATURES": "your-value",
"MDB_MCP_QUERY_COUNT_MAX_TIME_MS_CAP": "your-value",
"MDB_MCP_QUERY_COUNT_TIMEOUT_MS": "your-value",
"MDB_MCP_READ_ONLY": "your-value",
"MDB_MCP_TELEMETRY": "your-value",
"MDB_MCP_TIMEOUT_MS": "your-value",
"MDB_MCP_TRANSPORT": "your-value",
"MDB_MCP_VOYAGE_API_KEY": "your-value"
}
}
}
}터미널에서 이 명령어를 실행하세요
claude mcp add mongodb --env MDB_MCP_AGGREGATION_COUNT_MAX_TIME_MS_CAP=your-value --env MDB_MCP_AGGREGATION_COUNT_TIMEOUT_MS=your-value --env MDB_MCP_ALLOW_REQUEST_OVERRIDES=your-value --env MDB_MCP_API_CLIENT_ID=your-value --env MDB_MCP_API_CLIENT_SECRET=your-value --env MDB_MCP_ASSISTANT_BASE_URL=your-value --env MDB_MCP_ATLAS_TEMPORARY_DATABASE_USER_LIFETIME_MS=your-value --env MDB_MCP_CONFIRMATION_REQUIRED_TOOLS=your-value --env MDB_MCP_CONNECTION_IDLE_TIMEOUT_MS=your-value --env MDB_MCP_CONNECTION_SCOPE=your-value --env MDB_MCP_CONNECTION_STRING=your-value --env MDB_MCP_CONNECTION_STRINGS=your-value --env MDB_MCP_DANGEROUS_HOST_BINDING=your-value --env MDB_MCP_DISABLE_SERVER_SIDE_JS=your-value --env MDB_MCP_DISABLE_UNTRUSTED_DATA_WARNING=your-value --env MDB_MCP_DISABLED_TOOLS=your-value --env MDB_MCP_DRY_RUN=your-value --env MDB_MCP_ELICITATION_TIMEOUT_MS=your-value --env MDB_MCP_EVICTION_IDLE_GRACE_M_S=your-value --env MDB_MCP_EXPORT_CLEANUP_INTERVAL_MS=your-value --env MDB_MCP_EXPORT_TIMEOUT_MS=your-value --env MDB_MCP_EXPORTS_PATH=your-value --env MDB_MCP_EXTERNALLY_MANAGED_SESSIONS=your-value --env MDB_MCP_HEALTH_CHECK_HOST=your-value --env MDB_MCP_HEALTH_CHECK_PORT=your-value --env MDB_MCP_HTTP_BODY_LIMIT=your-value --env MDB_MCP_HTTP_HEADERS=your-value --env MDB_MCP_HTTP_HOST=your-value --env MDB_MCP_HTTP_PORT=your-value --env MDB_MCP_HTTP_RESPONSE_TYPE=your-value --env MDB_MCP_IDLE_TIMEOUT_MS=your-value --env MDB_MCP_INDEX_CHECK=your-value --env MDB_MCP_LOG_PATH=your-value --env MDB_MCP_LOGGERS=your-value --env MDB_MCP_MAX_ACTIVE_CONNECTIONS=your-value --env MDB_MCP_MAX_BYTES_PER_QUERY=your-value --env MDB_MCP_MAX_DOCUMENTS_PER_QUERY=your-value --env MDB_MCP_MAX_SESSIONS=your-value --env MDB_MCP_MAX_TIME_M_S=your-value --env MDB_MCP_MCP_CLIENT_LOG_LEVEL=your-value --env MDB_MCP_MONITORING_SERVER_FEATURES=your-value --env MDB_MCP_MONITORING_SERVER_HOST=your-value --env MDB_MCP_MONITORING_SERVER_PORT=your-value --env MDB_MCP_NOTIFICATION_TIMEOUT_MS=your-value --env MDB_MCP_PREVIEW_FEATURES=your-value --env MDB_MCP_QUERY_COUNT_MAX_TIME_MS_CAP=your-value --env MDB_MCP_QUERY_COUNT_TIMEOUT_MS=your-value --env MDB_MCP_READ_ONLY=your-value --env MDB_MCP_TELEMETRY=your-value --env MDB_MCP_TIMEOUT_MS=your-value --env MDB_MCP_TRANSPORT=your-value --env MDB_MCP_VOYAGE_API_KEY=your-value -- npx -y mongodb-mcp-server실행하기 전에 빈 값을 채워 주세요.
또는 설정을 직접 복사하기
프로젝트의 .cursor/mcp.json 또는 ~/.cursor/mcp.json에 붙여 넣으세요
{
"mcpServers": {
"mongodb": {
"command": "npx",
"args": [
"-y",
"mongodb-mcp-server"
],
"env": {
"MDB_MCP_AGGREGATION_COUNT_MAX_TIME_MS_CAP": "your-value",
"MDB_MCP_AGGREGATION_COUNT_TIMEOUT_MS": "your-value",
"MDB_MCP_ALLOW_REQUEST_OVERRIDES": "your-value",
"MDB_MCP_API_CLIENT_ID": "your-value",
"MDB_MCP_API_CLIENT_SECRET": "your-value",
"MDB_MCP_ASSISTANT_BASE_URL": "your-value",
"MDB_MCP_ATLAS_TEMPORARY_DATABASE_USER_LIFETIME_MS": "your-value",
"MDB_MCP_CONFIRMATION_REQUIRED_TOOLS": "your-value",
"MDB_MCP_CONNECTION_IDLE_TIMEOUT_MS": "your-value",
"MDB_MCP_CONNECTION_SCOPE": "your-value",
"MDB_MCP_CONNECTION_STRING": "your-value",
"MDB_MCP_CONNECTION_STRINGS": "your-value",
"MDB_MCP_DANGEROUS_HOST_BINDING": "your-value",
"MDB_MCP_DISABLE_SERVER_SIDE_JS": "your-value",
"MDB_MCP_DISABLE_UNTRUSTED_DATA_WARNING": "your-value",
"MDB_MCP_DISABLED_TOOLS": "your-value",
"MDB_MCP_DRY_RUN": "your-value",
"MDB_MCP_ELICITATION_TIMEOUT_MS": "your-value",
"MDB_MCP_EVICTION_IDLE_GRACE_M_S": "your-value",
"MDB_MCP_EXPORT_CLEANUP_INTERVAL_MS": "your-value",
"MDB_MCP_EXPORT_TIMEOUT_MS": "your-value",
"MDB_MCP_EXPORTS_PATH": "your-value",
"MDB_MCP_EXTERNALLY_MANAGED_SESSIONS": "your-value",
"MDB_MCP_HEALTH_CHECK_HOST": "your-value",
"MDB_MCP_HEALTH_CHECK_PORT": "your-value",
"MDB_MCP_HTTP_BODY_LIMIT": "your-value",
"MDB_MCP_HTTP_HEADERS": "your-value",
"MDB_MCP_HTTP_HOST": "your-value",
"MDB_MCP_HTTP_PORT": "your-value",
"MDB_MCP_HTTP_RESPONSE_TYPE": "your-value",
"MDB_MCP_IDLE_TIMEOUT_MS": "your-value",
"MDB_MCP_INDEX_CHECK": "your-value",
"MDB_MCP_LOG_PATH": "your-value",
"MDB_MCP_LOGGERS": "your-value",
"MDB_MCP_MAX_ACTIVE_CONNECTIONS": "your-value",
"MDB_MCP_MAX_BYTES_PER_QUERY": "your-value",
"MDB_MCP_MAX_DOCUMENTS_PER_QUERY": "your-value",
"MDB_MCP_MAX_SESSIONS": "your-value",
"MDB_MCP_MAX_TIME_M_S": "your-value",
"MDB_MCP_MCP_CLIENT_LOG_LEVEL": "your-value",
"MDB_MCP_MONITORING_SERVER_FEATURES": "your-value",
"MDB_MCP_MONITORING_SERVER_HOST": "your-value",
"MDB_MCP_MONITORING_SERVER_PORT": "your-value",
"MDB_MCP_NOTIFICATION_TIMEOUT_MS": "your-value",
"MDB_MCP_PREVIEW_FEATURES": "your-value",
"MDB_MCP_QUERY_COUNT_MAX_TIME_MS_CAP": "your-value",
"MDB_MCP_QUERY_COUNT_TIMEOUT_MS": "your-value",
"MDB_MCP_READ_ONLY": "your-value",
"MDB_MCP_TELEMETRY": "your-value",
"MDB_MCP_TIMEOUT_MS": "your-value",
"MDB_MCP_TRANSPORT": "your-value",
"MDB_MCP_VOYAGE_API_KEY": "your-value"
}
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
또는 설정을 직접 복사하기
프로젝트의 .vscode/mcp.json에 붙여 넣으세요
{
"servers": {
"mongodb": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mongodb-mcp-server"
],
"env": {
"MDB_MCP_AGGREGATION_COUNT_MAX_TIME_MS_CAP": "your-value",
"MDB_MCP_AGGREGATION_COUNT_TIMEOUT_MS": "your-value",
"MDB_MCP_ALLOW_REQUEST_OVERRIDES": "your-value",
"MDB_MCP_API_CLIENT_ID": "your-value",
"MDB_MCP_API_CLIENT_SECRET": "your-value",
"MDB_MCP_ASSISTANT_BASE_URL": "your-value",
"MDB_MCP_ATLAS_TEMPORARY_DATABASE_USER_LIFETIME_MS": "your-value",
"MDB_MCP_CONFIRMATION_REQUIRED_TOOLS": "your-value",
"MDB_MCP_CONNECTION_IDLE_TIMEOUT_MS": "your-value",
"MDB_MCP_CONNECTION_SCOPE": "your-value",
"MDB_MCP_CONNECTION_STRING": "your-value",
"MDB_MCP_CONNECTION_STRINGS": "your-value",
"MDB_MCP_DANGEROUS_HOST_BINDING": "your-value",
"MDB_MCP_DISABLE_SERVER_SIDE_JS": "your-value",
"MDB_MCP_DISABLE_UNTRUSTED_DATA_WARNING": "your-value",
"MDB_MCP_DISABLED_TOOLS": "your-value",
"MDB_MCP_DRY_RUN": "your-value",
"MDB_MCP_ELICITATION_TIMEOUT_MS": "your-value",
"MDB_MCP_EVICTION_IDLE_GRACE_M_S": "your-value",
"MDB_MCP_EXPORT_CLEANUP_INTERVAL_MS": "your-value",
"MDB_MCP_EXPORT_TIMEOUT_MS": "your-value",
"MDB_MCP_EXPORTS_PATH": "your-value",
"MDB_MCP_EXTERNALLY_MANAGED_SESSIONS": "your-value",
"MDB_MCP_HEALTH_CHECK_HOST": "your-value",
"MDB_MCP_HEALTH_CHECK_PORT": "your-value",
"MDB_MCP_HTTP_BODY_LIMIT": "your-value",
"MDB_MCP_HTTP_HEADERS": "your-value",
"MDB_MCP_HTTP_HOST": "your-value",
"MDB_MCP_HTTP_PORT": "your-value",
"MDB_MCP_HTTP_RESPONSE_TYPE": "your-value",
"MDB_MCP_IDLE_TIMEOUT_MS": "your-value",
"MDB_MCP_INDEX_CHECK": "your-value",
"MDB_MCP_LOG_PATH": "your-value",
"MDB_MCP_LOGGERS": "your-value",
"MDB_MCP_MAX_ACTIVE_CONNECTIONS": "your-value",
"MDB_MCP_MAX_BYTES_PER_QUERY": "your-value",
"MDB_MCP_MAX_DOCUMENTS_PER_QUERY": "your-value",
"MDB_MCP_MAX_SESSIONS": "your-value",
"MDB_MCP_MAX_TIME_M_S": "your-value",
"MDB_MCP_MCP_CLIENT_LOG_LEVEL": "your-value",
"MDB_MCP_MONITORING_SERVER_FEATURES": "your-value",
"MDB_MCP_MONITORING_SERVER_HOST": "your-value",
"MDB_MCP_MONITORING_SERVER_PORT": "your-value",
"MDB_MCP_NOTIFICATION_TIMEOUT_MS": "your-value",
"MDB_MCP_PREVIEW_FEATURES": "your-value",
"MDB_MCP_QUERY_COUNT_MAX_TIME_MS_CAP": "your-value",
"MDB_MCP_QUERY_COUNT_TIMEOUT_MS": "your-value",
"MDB_MCP_READ_ONLY": "your-value",
"MDB_MCP_TELEMETRY": "your-value",
"MDB_MCP_TIMEOUT_MS": "your-value",
"MDB_MCP_TRANSPORT": "your-value",
"MDB_MCP_VOYAGE_API_KEY": "your-value"
}
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
이 서버는 내 컴퓨터에서 실행되는데, ChatGPT는 인터넷에 있는 서버에만 연결할 수 있어요. 다른 앱을 고르세요.
선택한 앱은 이 기기의 쿠키에만 저장돼요. 계정은 필요 없어요.
직접 입력할 값
MDB_MCP_AGGREGATION_COUNT_MAX_TIME_MS_CAPenvDeprecated. Use `aggregationCountTimeoutMs` instead.MDB_MCP_AGGREGATION_COUNT_TIMEOUT_MSenvThe maximum time in milliseconds for the count phase of aggregation operations. This is used to limit the time spent counting documents when determining if results were capped.MDB_MCP_ALLOW_REQUEST_OVERRIDESenvWhen set to true, allows configuration values to be overridden via request headers and query parameters.- Atlas API client ID for authentication. Required for running Atlas tools.
- Atlas API client secret for authentication. Required for running Atlas tools.
MDB_MCP_ASSISTANT_BASE_URLenvBase URL for the MongoDB Assistant API.MDB_MCP_ATLAS_TEMPORARY_DATABASE_USER_LIFETIME_MSenvTime in milliseconds that temporary database users created when connecting to MongoDB Atlas clusters will remain active before being automatically deleted.MDB_MCP_CONFIRMATION_REQUIRED_TOOLSenvComma separated values of tool names that require user confirmation before execution. Requires the client to support elicitation.MDB_MCP_CONNECTION_IDLE_TIMEOUT_MSenvMilliseconds a MongoDB connection may stay unused (no tool call touching it) before it is closed to release the underlying connection pool and its server-side state. Applied per connection regardless…MDB_MCP_CONNECTION_SCOPEenvVisibility scope for MongoDB connections created at runtime. With 'session' (the default), each MCP session only sees the connections it created (plus the shared 'preconfigured' one) and they are clo…- MongoDB connection string for direct database connections, exposed under the connectionId "preconfigured". Optional, if not set, you'll need to call the connect tool before interacting with MongoDB d…
- MongoDB connection strings keyed by name, as a JSON object (e.g. {"preconfigured": "mongodb://...", "analytics": "mongodb://..."}). Each name becomes a connectionId that the MongoDB tools can use dir…
MDB_MCP_DANGEROUS_HOST_BINDINGenvWhen set to true, allows binding the HTTP server (and monitoring server) to a non-loopback host such as 0.0.0.0, a LAN IP, or an empty host (all interfaces). Binding to a non-loopback host exposes th…MDB_MCP_DISABLE_SERVER_SIDE_JSenvWhen set to true, disallows the use of server-side JavaScript operators (such as $where, $function, and $accumulator) in query filters and aggregation pipelines.MDB_MCP_DISABLE_UNTRUSTED_DATA_WARNINGenvWhen set to true, tool responses include potentially untrusted data (such as documents or query results) as-is, without wrapping it in delimiters and a prompt-injection warning.MDB_MCP_DISABLED_TOOLSenvComma separated values of tool names, operation types, and/or categories of tools that will be disabled.MDB_MCP_DRY_RUNenvWhen true, runs the server in dry mode: dumps configuration and enabled tools, then exits without starting the server.MDB_MCP_ELICITATION_TIMEOUT_MSenvTime in milliseconds the user has to respond to an elicitation request (such as a tool confirmation prompt) before it fails.MDB_MCP_EVICTION_IDLE_GRACE_M_SenvHow long a session must be idle before it becomes eligible for least-recently-used eviction when the HTTP transport is at its maxSessions cap (only used when transport is 'http'). Swept back to idleT…MDB_MCP_EXPORT_CLEANUP_INTERVAL_MSenvTime in milliseconds between export cleanup cycles that remove expired export files.MDB_MCP_EXPORT_TIMEOUT_MSenvTime in milliseconds after which an export is considered expired and eligible for cleanup.MDB_MCP_EXPORTS_PATHenvFolder to store exported data files.MDB_MCP_EXTERNALLY_MANAGED_SESSIONSenvWhen true, the 2025-era HTTP transport accepts a session ID supplied externally through the 'mcp-session-id' header. When an external ID is supplied, the initialization request is optional, and an im…MDB_MCP_HEALTH_CHECK_HOSTenvDeprecated. Use `monitoringServerHost` instead. Host address to bind the healthCheck HTTP server to (only used when transport is 'http'). If provided, `healthCheckPort` must also be set.MDB_MCP_HEALTH_CHECK_PORTenvDeprecated. Use `monitoringServerPort` instead. Port number for the healthCheck HTTP server (only used when transport is 'http'). If provided, `healthCheckHost` must also be set.MDB_MCP_HTTP_BODY_LIMITenvMaximum size of the HTTP request body in bytes (only used when transport is 'http'). This value is passed as the optional limit parameter to the Express.js json() middleware.MDB_MCP_HTTP_HEADERSenvHeader that the HTTP server will validate when making requests (only used when transport is 'http').MDB_MCP_HTTP_HOSTenvHost address to bind the HTTP server to (only used when transport is 'http').MDB_MCP_HTTP_PORTenvPort number for the HTTP server (only used when transport is 'http'). Use 0 for a random port.MDB_MCP_HTTP_RESPONSE_TYPEenvThe HTTP response type for tool responses: 'sse' for Server-Sent Events, 'json' for standard JSON responses.MDB_MCP_IDLE_TIMEOUT_MSenvIdle timeout for a client to disconnect (only applies to http transport).MDB_MCP_INDEX_CHECKenvWhen set to true, enforces that query operations must use an index, rejecting queries that perform a collection scan.MDB_MCP_LOG_PATHenvFolder to store logs.MDB_MCP_LOGGERSenvComma separated values of logger types.MDB_MCP_MAX_ACTIVE_CONNECTIONSenvMaximum number of MongoDB connections a single scope (an MCP session by default, see connectionScope) can hold open. When exceeded, the scope's least-recently-used connection is closed and its connec…MDB_MCP_MAX_BYTES_PER_QUERYenvThe maximum size in bytes for results from a find or aggregate tool call. This serves as an upper bound for the responseBytesLimit parameter in those tools.MDB_MCP_MAX_DOCUMENTS_PER_QUERYenvThe maximum number of documents that can be returned by a find or aggregate tool call. For the find tool, the effective limit will be the smaller of this value and the tool's limit parameter.MDB_MCP_MAX_SESSIONSenvMaximum number of concurrent sessions the HTTP transport will hold in memory (only used when transport is 'http'). Each session holds a full server instance, transport, and timers, so choose a value…MDB_MCP_MAX_TIME_M_SenvDeprecated. Use `timeoutMs` instead. The maximum time in milliseconds that operations are allowed to run on the MongoDB server.MDB_MCP_MCP_CLIENT_LOG_LEVELenvMinimum severity level for log messages forwarded to the MCP client.MDB_MCP_MONITORING_SERVER_FEATURESenvFeatures to expose on the monitoring server: health-check, metrics, and process-metrics. process-metrics exposes /metrics with Node.js process metrics (only used when transport is 'http' and monitori…MDB_MCP_MONITORING_SERVER_HOSTenvHost address to bind the monitoring HTTP server to (only used when transport is 'http'). If provided, `monitoringServerPort` must also be set.MDB_MCP_MONITORING_SERVER_PORTenvPort number for the monitoring HTTP server (only used when transport is 'http'). If provided, `monitoringServerHost` must also be set.MDB_MCP_NOTIFICATION_TIMEOUT_MSenvNotification timeout for a client to be aware of disconnect (only applies to http transport).MDB_MCP_PREVIEW_FEATURESenvComma separated values of preview features that are enabled.MDB_MCP_QUERY_COUNT_MAX_TIME_MS_CAPenvDeprecated. Use `queryCountTimeoutMs` instead.MDB_MCP_QUERY_COUNT_TIMEOUT_MSenvThe maximum time in milliseconds for the count phase of find operations. This is used to limit the time spent counting documents when determining if results were capped.MDB_MCP_READ_ONLYenvWhen set to true, only allows read, connect, and metadata operation types, disabling create/update/delete operations.MDB_MCP_TELEMETRYenvWhen set to disabled, disables telemetry collection.MDB_MCP_TIMEOUT_MSenvThe maximum time in milliseconds that MongoDB operations are allowed to run, applied as the driver's timeoutMS (client-side operation timeout, CSOT) on each connection. It bounds the entire operation…MDB_MCP_TRANSPORTenvEither 'stdio' or 'http'.- API key for Voyage AI embeddings service (required for creating Atlas Local deployments with auto-embed vector search capabilities).
이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.
할 수 있는 일
내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.
기본 점검i
누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 9일 점검
- ✓ 통과
제작자와 저장소 일치
레지스트리 이름이 GitHub 계정 mongodb-js 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요
- ✓ 통과
계속 관리되고 있음
코드 마지막 변경: 4일 전
- ✓ 통과
라이선스 있음
Apache-2.0 사용
- – 해당 없음
엔드포인트 응답
내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요
- – 해당 없음
OAuth로 로그인
내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요
- … 아직 점검 안 함
도구 설명에 숨겨진 지시 없음
내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요
데이터베이스 및 데이터셋 카테고리의 다른 서버와 비교i
- 이 카테고리의 다른 서버 1151개 중 100%보다 스타가 많아요
- 이 카테고리의 다른 서버 1151개 중 88%보다 최근에 레지스트리에 공개됐어요
- 기본 점검 결과가 이 카테고리의 다른 서버 1151개 중 100%와 같거나 더 좋아요
레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.
자주 묻는 질문
MongoDB MCP Server, 안전한가요?
해당하는 기본 점검 3개 중 3개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.
어떤 키나 코드가 필요한가요?
입력해야 할 값: MDB_MCP_API_CLIENT_ID, MDB_MCP_API_CLIENT_SECRET, MDB_MCP_CONNECTION_STRING, MDB_MCP_CONNECTION_STRINGS, MDB_MCP_VOYAGE_API_KEY
내 컴퓨터에서 실행되나요, 클라우드에서 실행되나요?
내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).
아직 관리되고 있나요?
GitHub 저장소는 마지막으로 4일 전 변경됐고, 최신 버전(3.2.2)은 4일 전 레지스트리에 올라왔어요.
어떤 앱에서 쓸 수 있나요?
Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Node.js, Docker도 있어야 해요.
대신 쓸 수 있는 건 뭐가 있나요?
같은 카테고리에는: Supabase, Elasticsearch MCP Server, Postgres MCP
대안
같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.
카드 보는 법:↓ 주간 다운로드i★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i
Postgres MCP
Enterprise PostgreSQL MCP server with NL queries, hybrid search (pgvector+BM25), and web UI
제작자의 README
README 열기
제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.
MongoDB MCP Server
A Model Context Protocol server for interacting with MongoDB Databases and MongoDB Atlas.
Quick Start
Using the official MongoDB plugins for AI agents
MongoDB MCP Server comes bundled with the official MongoDB plugins for AI agents. The following plugins are available:
`mongodb-atlas` — connects to the MongoDB-hosted Atlas MCP server over OAuth. This does not require you to run anything locally, and is the recommended way to connect to MongoDB Atlas from your AI agent:
- Cursor: marketplace
- VSCode: Open the Extensions view (
⇧⌘X/Ctrl+Shift+X), search for@agentPlugins, and installmongodb-atlas. - Claude: marketplace
- Codex: Open
/pluginsand installmongodb-atlas. - GitHub Copilot CLI: Run
copilot plugin install mongodb-atlas. - Grok: Open
/marketplacein Grok Build and installmongodb-atlas.
`mongodb` — runs the MongoDB MCP server locally and connects to any self-managed deployment:
- Cursor: marketplace
- Claude: marketplace
- Gemini: marketplace
- Codex: Run
codex plugin marketplace add mongodb/agent-skills, then open/pluginsand installmongodb. - GitHub Copilot CLI: Run
copilot plugin install mongodb. - Grok: Open
/marketplacein Grok Build and installmongodb.
Using the setup script
You can manually set up the local MCP server by running the following command:
npx -y mongodb-mcp-server@latest setup
This will guide you through an interactive setup process, including configuring your MongoDB connection string or Atlas API credentials.
For more advanced setup options, see the Manual Setup section below.
Using the MongoDB MCP Server setup skill
You can add and use the MongoDB MCP Server setup skill to configure your local MCP server using an AI agent.
npx skills add https://github.com/mongodb/agent-skills --skill mongodb-mcp-setup
Using manual configuration
See Manual Setup for instructions on how to manually configure the MongoDB MCP Server.
📚 Table of Contents
- 🚀 Getting Started
- Prerequisites
- Manual Setup
- 🛠️ Supported Tools
- MongoDB Atlas Tools
- MongoDB Database Tools
- MongoDB Assistant Tools
- 📄 Supported Resources
- ⚙️ Configuration
- Configuration Options
- Atlas API Access
- Configuration Methods
- Environment Variables
- Command-Line Arguments
- MCP Client Configuration
- Proxy Support
- 🚀 Deploy on Public Clouds
- Azure Cloud
- 🤝 Contributing
Prerequisites
[!NOTE]
Node 20.x support is deprecated and will be removed in a future release. Please upgrade to Node 22.13 or later. See https://nodejs.org/en/blog/migrations/v20-to-v22 for migration details.
- Node.js
- At least v22.13.0. Check with
node -v.
- A MongoDB connection string or Atlas API credentials.
- _Service Accounts Atlas API credentials_ are required to use the Atlas tools. You can create a service account in MongoDB Atlas and use its credentials for authentication. See Atlas API Access for more details.
- If you have a MongoDB connection string, you can use it directly to connect to your MongoDB instance.
Manual Setup
🔒 Security Recommendation 1: When using Atlas API credentials, be sure to assign only the minimum required permissions to your service account. See Atlas API Permissions for details.
🔒 Security Recommendation 2: For enhanced security, we strongly recommend using environment variables to pass sensitive configuration such as connection strings and API credentials instead of command line arguments. Command line arguments can be visible in process lists and logged in various system locations, potentially exposing your secrets. Environment variables provide a more secure way to handle sensitive information.
Most MCP clients require a configuration file to be created or modified to add the MCP server.
Note: The configuration file syntax can be different across clients. Please refer to the following links for the latest expected syntax:
Default Safety Notice: All examples below include
--readOnlyby default to ensure safe, read-only access to your data. Remove--readOnlyif you need to enable write operations.
Option 1: Connection String
You can pass your connection string via environment variables, make sure to use a valid username and password.
{
"mcpServers": { "MongoDB": { "command": "npx", "args": ["-y", "mongodb-mcp-server@latest", "--readOnly"], "env": { "MDB_MCP_CONNECTION_STRING": "mongodb://localhost:27017/myDatabase" } } } }
NOTE: The connection string can be configured to connect to any MongoDB cluster, whether it's a local instance or an Atlas cluster.
Option 2: Connect to the MongoDB Atlas-Managed MCP Server
When working with MongoDB Atlas, the recommended approach is to install the mongodb-atlas plugin for your AI agent, which handles OAuth authentication automatically.
For manual configuration, see the client-specific instructions for setting up the Atlas Remote MCP server with OAuth. Alternatively, you can connect using the mongodb-atlas-mcp-remote package with Service Account credentials — see the package README for setup instructions.
Note: You cannot authenticate to the remote MongoDB MCP server using a static API key over HTTP. You must either:
- Use a client that supports the OAuth flow.
- Use the
mongodb-atlas-mcp-remotestdio server, which you can authenticate into using the staticMDB_MCP_API_CLIENT_IDandMDB_MCP_API_CLIENT_SECRETenvironment variables.
To connect with the mongodb-atlas-mcp-remote stdio server using Service Account credentials, add it to your client's MCP configuration:
{
"mcpServers": { "mongodb-atlas-mcp-remote": { "type": "stdio", "command": "npx", "args": ["-y", "mongodb-atlas-mcp-remote@latest"], "env": { "MDB_MCP_API_CLIENT_ID": "$CLIENT_ID", "MDB_MCP_API_CLIENT_SECRET": "$SECRET" } } } }
Option 3: Atlas API Credentials
Use your Atlas API Service Accounts credentials. Must follow all the steps in Atlas API Access section.
{
"mcpServers": { "MongoDB": { "command": "npx", "args": ["-y", "mongodb-mcp-server@latest", "--readOnly"], "env": { "MDB_MCP_API_CLIENT_ID": "your-atlas-service-accounts-client-id", "MDB_MCP_API_CLIENT_SECRET": "your-atlas-service-accounts-client-secret" } } } }