Skip to content

feat: add MongoDB MCP server definition - #55

Merged
its-mash merged 5 commits into
mainfrom
fix/mongodb
Feb 19, 2026
Merged

feat: add MongoDB MCP server definition#55
its-mash merged 5 commits into
mainfrom
fix/mongodb

Conversation

@its-mash

@its-mash its-mash commented Feb 19, 2026

Copy link
Copy Markdown
Member

Summary

  • Add MongoDB MCP server definition (com.mongodb-mcp) with npx transport
  • Add MongoDB Docker variant (com.mongodb-mcp-docker) using official mongodb/mongodb-mcp-server image
  • Support both connection string (data access) and Atlas API Service Account credentials (cluster management)
  • Connection string is optional — server supports runtime connect tool
  • Atlas API credentials (client ID + secret) are optional for Atlas management operations
  • Enable read-only mode capability (--readOnly flag support)

Variants

Definition Transport Use Case
com.mongodb-mcp stdio (npx) Standard Node.js installation
com.mongodb-mcp-docker stdio (docker) Isolated container environment

Validation

  • Schema validation passes
  • All URLs verified (repository, homepage, documentation, changelog)
  • Input types valid (text with secret: true for credentials)
  • Icon URL verified (GitHub org avatar)

Test plan

  • Install via npx with connection string only
  • Install via npx with Atlas API credentials
  • Install via Docker with connection string
  • Verify read-only mode toggle works

Add MongoDB local stdio server via npx mongodb-mcp-server@latest.
Query collections, inspect schemas, manage indexes, and run
aggregation pipelines. Supports Atlas, Community, and Enterprise.

https://claude.ai/code/session_013AxurW8hPAfnUNvik354Xx
- Add optional Atlas API Service Account credentials (client ID + secret)
  for Atlas management operations (cluster creation, user management, etc.)
- Add Docker transport variant (com.mongodb-mcp-docker) using official
  mongodb/mongodb-mcp-server image
- Make connection string optional (server supports runtime connect tool)
- Update auth type to optional_api_key to reflect Atlas API credentials
- Enable read_only_mode capability (server supports --readOnly flag)

Signed-off-by: Mohammod Al Amin Ashik <maa.ashik00@gmail.com>
Rename input IDs to match their corresponding environment variables:
- MONGODB_URI → MDB_MCP_CONNECTION_STRING
- ATLAS_CLIENT_ID → MDB_MCP_API_CLIENT_ID
- ATLAS_CLIENT_SECRET → MDB_MCP_API_CLIENT_SECRET

Signed-off-by: Mohammod Al Amin Ashik <maa.ashik00@gmail.com>
Align with naming convention used by other servers (e.g., sentry-mcp-npx,
notion-mcp-npx). Renamed file and updated id/name fields.

Signed-off-by: Mohammod Al Amin Ashik <maa.ashik00@gmail.com>
@its-mash
its-mash merged commit 7e7bb4a into main Feb 19, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant