{"_id":"@krazor/mongodb-mcp","_rev":"7-9d27f07d96f2d1439dd2662f53f95893","name":"@krazor/mongodb-mcp","dist-tags":{"latest":"1.0.7"},"versions":{"1.0.0":{"name":"@krazor/mongodb-mcp","version":"1.0.0","keywords":["mcp","mongodb","database","nosql","query","mongo"],"author":{"name":"krazor"},"license":"MIT","_id":"@krazor/mongodb-mcp@1.0.0","maintainers":[{"name":"krazor","email":"realsoftgames@gmail.com"}],"homepage":"https://github.com/krazor/mongodb-mcp#readme","bugs":{"url":"https://github.com/krazor/mongodb-mcp/issues"},"bin":{"mongodb-mcp":"index.js"},"dist":{"shasum":"cc5fc251d1a8d81dcb615439077faf11d6bb24b1","tarball":"https://registry.npmjs.org/@krazor/mongodb-mcp/-/mongodb-mcp-1.0.0.tgz","fileCount":3,"integrity":"sha512-DpCRH/xWRiaYAVPP12j5AVb4lYsfSoEmdXArjwtFxYdc1PgsnMvxVr1TClMUHnk/JOTO2AfbeSGcms4ivQ3fSQ==","signatures":[{"sig":"MEYCIQCcpBeMDzjUQGv4K0Cm7WcS16RPBoe7lu9hV7vRA1s4bwIhAK0FIGKCheS7kLP7/ilxtuJ/HlmhfwNR6o/H90fMggvd","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":31234},"main":"index.js","type":"module","engines":{"node":">=18.0.0"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"node index.js"},"_npmUser":{"name":"krazor","email":"realsoftgames@gmail.com"},"repository":{"url":"git+https://github.com/krazor/mongodb-mcp.git","type":"git"},"_npmVersion":"10.9.2","description":"MongoDB MCP Server - Query and manage MongoDB databases","directories":{},"_nodeVersion":"22.14.0","dependencies":{"zod":"^3.23.8","mongodb":"^6.3.0","@modelcontextprotocol/sdk":"^1.0.4"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mongodb-mcp_1.0.0_1776728880378_0.778566265790245","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@krazor/mongodb-mcp","version":"1.0.2","keywords":["mcp","mongodb","database","mongo","mcpmux"],"author":{"name":"krazor"},"license":"MIT","_id":"@krazor/mongodb-mcp@1.0.2","maintainers":[{"name":"krazor","email":"realsoftgames@gmail.com"}],"bin":{"mongodb-mcp":"index.js"},"mcp":{"env":{"MONGODB_URI":{"type":"string","default":"mongodb://localhost:27017","required":true,"description":"MongoDB connection URI"},"MONGODB_DB_NAME":{"type":"string","required":false,"description":"Default database name to connect to"},"MONGODB_TIMEOUT":{"type":"number","default":30000,"required":false,"description":"Connection timeout in milliseconds"}},"icon":"🍃","name":"@krazor/mongodb-mcp","tags":["mongodb","database","mongo","crud","nosql"],"inputs":[{"id":"mongodb_uri","type":"text","label":"MongoDB URI *","default":"mongodb://localhost:27017","required":true,"description":"MongoDB connection string. Format: mongodb://username:password@host:port/database","placeholder":"mongodb://localhost:27017/mydb"},{"id":"database_name","type":"text","label":"Database Name","required":false,"description":"Default database name (optional - can be specified per query)","placeholder":"my_database"},{"id":"connection_timeout","type":"number","label":"Connection Timeout (ms)","default":30000,"required":false,"description":"How long to wait for connection before timing out"},{"id":"enable_ssl","type":"boolean","label":"Enable SSL/TLS","default":false,"required":false,"description":"Use SSL/TLS for encrypted connections (recommended for production)"},{"id":"auth_source","type":"text","label":"Authentication Source","required":false,"description":"Database to use for authentication (usually 'admin')","placeholder":"admin"}],"category":"Database","description":"MongoDB MCP Server - Connect to MongoDB databases and perform CRUD operations"},"dist":{"shasum":"c424beaf10d98c01d173ccc71a543310e1cccb77","tarball":"https://registry.npmjs.org/@krazor/mongodb-mcp/-/mongodb-mcp-1.0.2.tgz","fileCount":1,"integrity":"sha512-N3AYWXJ5LlrJPiYzHKdMp+153rutREo8ZtF61CVPiXi3E2cm1fqMMOkgXfoj11XezKfyAY+n0f1xCzlQAmFj5A==","signatures":[{"sig":"MEYCIQDSU/YCm73aeAzePJULDPxnux+W+tcvvuqlIBk+f1uetwIhAJ+jiRZxHVMLnQzwkZ7qatqYVhK5Ub2ve8OpbL53+2dP","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2696},"main":"index.js","type":"module","scripts":{"start":"node index.js"},"_npmUser":{"name":"krazor","email":"realsoftgames@gmail.com"},"_npmVersion":"10.9.2","description":"MongoDB MCP Server with mcpmux configuration support","directories":{},"_nodeVersion":"22.14.0","dependencies":{"zod":"^3.23.8","mongodb":"^6.3.0","@modelcontextprotocol/sdk":"^1.0.4"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mongodb-mcp_1.0.2_1776731505725_0.07714973900264921","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@krazor/mongodb-mcp","version":"1.0.3","keywords":["mcp","mongodb","database","mongo","mcpmux"],"author":{"name":"krazor"},"license":"MIT","_id":"@krazor/mongodb-mcp@1.0.3","maintainers":[{"name":"krazor","email":"realsoftgames@gmail.com"}],"bin":{"mongodb-mcp":"index.js"},"mcp":{"env":{"MONGODB_URI":{"type":"string","default":"mongodb://localhost:27017","required":true,"description":"MongoDB connection URI"},"MONGODB_DB_NAME":{"type":"string","required":false,"description":"Default database name to connect to"},"MONGODB_TIMEOUT":{"type":"number","default":30000,"required":false,"description":"Connection timeout in milliseconds"}},"icon":"🍃","name":"@krazor/mongodb-mcp","tags":["mongodb","database","mongo","crud","nosql"],"inputs":[{"id":"mongodb_uri","type":"text","label":"MongoDB URI *","default":"mongodb://localhost:27017","required":true,"description":"MongoDB connection string. Format: mongodb://username:password@host:port/database","placeholder":"mongodb://localhost:27017/mydb"},{"id":"database_name","type":"text","label":"Database Name","required":false,"description":"Default database name (optional - can be specified per query)","placeholder":"my_database"},{"id":"connection_timeout","type":"number","label":"Connection Timeout (ms)","default":30000,"required":false,"description":"How long to wait for connection before timing out"},{"id":"enable_ssl","type":"boolean","label":"Enable SSL/TLS","default":false,"required":false,"description":"Use SSL/TLS for encrypted connections (recommended for production)"},{"id":"auth_source","type":"text","label":"Authentication Source","required":false,"description":"Database to use for authentication (usually 'admin')","placeholder":"admin"}],"category":"Database","description":"MongoDB MCP Server - Connect to MongoDB databases and perform CRUD operations"},"dist":{"shasum":"44f1acba4cd5b57bf18026a771d3290b6059c9c6","tarball":"https://registry.npmjs.org/@krazor/mongodb-mcp/-/mongodb-mcp-1.0.3.tgz","fileCount":2,"integrity":"sha512-ncNo5BwtvmuEKNBFVVbeHrW2GlNv6tf3BQJ/jKkiLZfTcpZ10u+Z4bbl0PiXKhZ+1HfUkCr+fsZv4yjqZRcPHw==","signatures":[{"sig":"MEUCIQDClBRA/Vqjt/QiUBWyoyzmyABOm9ij0LKjcg5HmeTYmgIgU+B0xlrLKbQkmxpZozzGgF973/ccYb2RI6w7cALObV8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23685},"main":"index.js","type":"module","scripts":{"start":"node index.js"},"_npmUser":{"name":"krazor","email":"realsoftgames@gmail.com"},"_npmVersion":"10.9.2","description":"MongoDB MCP Server with mcpmux configuration support","directories":{},"_nodeVersion":"22.14.0","dependencies":{"zod":"^3.23.8","mongodb":"^6.3.0","@modelcontextprotocol/sdk":"^1.0.4"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mongodb-mcp_1.0.3_1776731676610_0.21642088331172138","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@krazor/mongodb-mcp","version":"1.0.4","keywords":["mcp","mongodb","database","mongo","mcpmux"],"author":{"name":"krazor"},"license":"MIT","_id":"@krazor/mongodb-mcp@1.0.4","maintainers":[{"name":"krazor","email":"realsoftgames@gmail.com"}],"bin":{"mongodb-mcp":"index.js"},"mcp":{"env":{"MONGODB_URI":{"type":"string","default":"mongodb://localhost:27017","required":true,"description":"MongoDB connection URI"},"MONGODB_DB_NAME":{"type":"string","required":false,"description":"Default database name to connect to"},"MONGODB_TIMEOUT":{"type":"number","default":30000,"required":false,"description":"Connection timeout in milliseconds"}},"icon":"🍃","name":"@krazor/mongodb-mcp","tags":["mongodb","database","mongo","crud","nosql"],"inputs":[{"id":"mongodb_uri","type":"text","label":"MongoDB URI *","default":"mongodb://localhost:27017","required":true,"description":"MongoDB connection string. Format: mongodb://username:password@host:port/database","placeholder":"mongodb://localhost:27017/mydb"},{"id":"database_name","type":"text","label":"Database Name","required":false,"description":"Default database name (optional - can be specified per query)","placeholder":"my_database"},{"id":"connection_timeout","type":"number","label":"Connection Timeout (ms)","default":30000,"required":false,"description":"How long to wait for connection before timing out"},{"id":"enable_ssl","type":"boolean","label":"Enable SSL/TLS","default":false,"required":false,"description":"Use SSL/TLS for encrypted connections (recommended for production)"},{"id":"auth_source","type":"text","label":"Authentication Source","required":false,"description":"Database to use for authentication (usually 'admin')","placeholder":"admin"}],"category":"Database","description":"MongoDB MCP Server - Connect to MongoDB databases and perform CRUD operations"},"dist":{"shasum":"38aecd9e85576664dd26fab67ebf80bf297b2068","tarball":"https://registry.npmjs.org/@krazor/mongodb-mcp/-/mongodb-mcp-1.0.4.tgz","fileCount":2,"integrity":"sha512-joSGRqlWwruwf0d5oWTJwipsgjSA+5kpKOj5mKz8W9cLsZUdC1AxP2o9/2bUjlKiYlPirRtQm0R5M4dgMc/CsA==","signatures":[{"sig":"MEUCIQCHupjSi6TEamwH+pnLJk7BloX1/Zl88nJG5t9wmaHrjQIgAyrSTXktC/Q0EXBszA0WvO9+9ah5YNlyBy1aIK+JKyM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23553},"main":"index.js","type":"module","scripts":{"start":"node index.js"},"_npmUser":{"name":"krazor","email":"realsoftgames@gmail.com"},"_npmVersion":"10.9.2","description":"MongoDB MCP Server with mcpmux configuration support","directories":{},"_nodeVersion":"22.14.0","dependencies":{"zod":"^3.23.8","mongodb":"^6.3.0","@modelcontextprotocol/sdk":"^1.0.4"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mongodb-mcp_1.0.4_1776731977788_0.8725214105154704","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@krazor/mongodb-mcp","version":"1.0.5","keywords":["mcp","mongodb","database","mongo","mcpmux"],"author":{"name":"krazor"},"license":"MIT","_id":"@krazor/mongodb-mcp@1.0.5","maintainers":[{"name":"krazor","email":"realsoftgames@gmail.com"}],"bin":{"mongodb-mcp":"index.js"},"mcp":{"env":{"MONGODB_URI":{"type":"string","default":"mongodb://localhost:27017","required":true,"description":"MongoDB connection URI"},"MONGODB_DB_NAME":{"type":"string","required":false,"description":"Default database name to connect to"},"MONGODB_TIMEOUT":{"type":"number","default":30000,"required":false,"description":"Connection timeout in milliseconds"}},"icon":"🍃","name":"@krazor/mongodb-mcp","tags":["mongodb","database","mongo","crud","nosql"],"inputs":[{"id":"mongodb_uri","type":"text","label":"MongoDB URI","default":"mongodb://localhost:27017","required":false,"description":"MongoDB connection string. Format: mongodb://username:password@host:port/database","placeholder":"mongodb://localhost:27017/mydb"},{"id":"database_name","type":"text","label":"Database Name","required":false,"description":"Default database name (optional - can be specified per query)","placeholder":"my_database"},{"id":"connection_timeout","type":"text","label":"Connection Timeout (ms)","default":"30000","required":false,"description":"How long to wait for connection before timing out (in milliseconds)","placeholder":"30000"},{"id":"enable_ssl","type":"text","label":"Enable SSL/TLS","default":"false","required":false,"description":"Use SSL/TLS for encrypted connections. Enter 'true' or 'false'","placeholder":"false"},{"id":"auth_source","type":"text","label":"Authentication Source","required":false,"description":"Database to use for authentication (usually 'admin')","placeholder":"admin"}],"category":"Database","description":"MongoDB MCP Server - Connect to MongoDB databases and perform CRUD operations"},"dist":{"shasum":"161b52110f6c268d1c929b73d68d85521c7f8299","tarball":"https://registry.npmjs.org/@krazor/mongodb-mcp/-/mongodb-mcp-1.0.5.tgz","fileCount":2,"integrity":"sha512-6jSVqBIdiuRZB6oiguFKQUE47JSUeUfXix3oekXfHLQvl0LjkupC8O5jnbwRqkAX2jgm/tXde1ZRjT463ZAf6A==","signatures":[{"sig":"MEYCIQD0JheOE9k2lH9XwLNCboa4hi6OoyWMD7+Cp88iFQBwPwIhAIFNmwAm1XtIgYJbyXEjQ6US1LOu08C7GZe67lvextuE","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23629},"main":"index.js","type":"module","scripts":{"start":"node index.js"},"_npmUser":{"name":"krazor","email":"realsoftgames@gmail.com"},"_npmVersion":"10.9.2","description":"MongoDB MCP Server with mcpmux configuration support","directories":{},"_nodeVersion":"22.14.0","dependencies":{"zod":"^3.23.8","mongodb":"^6.3.0","@modelcontextprotocol/sdk":"^1.0.4"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mongodb-mcp_1.0.5_1776733407779_0.20997402425022105","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@krazor/mongodb-mcp","version":"1.0.6","keywords":["mcp","mongodb","database","modelcontextprotocol","mongo","nosql"],"author":{"name":"krazor"},"license":"MIT","_id":"@krazor/mongodb-mcp@1.0.6","maintainers":[{"name":"krazor","email":"realsoftgames@gmail.com"}],"homepage":"https://github.com/krazor/mongodb-mcp#readme","bugs":{"url":"https://github.com/krazor/mongodb-mcp/issues"},"bin":{"mongodb-mcp":"dist/index.js"},"dist":{"shasum":"ee6167aedd2647421918426ae0625c5835f8f6f8","tarball":"https://registry.npmjs.org/@krazor/mongodb-mcp/-/mongodb-mcp-1.0.6.tgz","fileCount":8,"integrity":"sha512-MhivBtVPXSqujF3pULIiFIld2xttg+LFlF+yIQ7fQeJ62eUYl/zgJm8kKBG1GHRZz4SdMEUqQGGwcekuE2SD2A==","signatures":[{"sig":"MEYCIQCpXgp2YrIi+tE3usRsA/LdBliCZt2DMROY4a7PLZ0TjQIhAOYMvVoltmZNYMKwA5DYuFhze9G0HV5hGxZLaB2Bfxcr","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":38874},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"scripts":{"build":"tsc","verify":"node scripts/verify.js","prepare":"npm run build","prepublishOnly":"npm run verify && npm run security-check && npm run build","security-check":"node scripts/security-check.js"},"_npmUser":{"name":"krazor","email":"realsoftgames@gmail.com"},"repository":{"url":"git+https://github.com/krazor/mongodb-mcp.git","type":"git"},"_npmVersion":"10.9.2","description":"MongoDB MCP server for database operations with secure connection handling","directories":{},"_nodeVersion":"22.14.0","dependencies":{"mongodb":"^6.12.0","@modelcontextprotocol/sdk":"^1.0.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.0","@types/node":"^20.0.0"},"serverDefinition":"./server-definition.json","_npmOperationalInternal":{"tmp":"tmp/mongodb-mcp_1.0.6_1776765042610_0.6867200803576965","host":"s3://npm-registry-packages-npm-production"}},"1.0.7":{"name":"@krazor/mongodb-mcp","version":"1.0.7","description":"MongoDB MCP server for database operations with secure connection handling","type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","bin":{"mongodb-mcp":"dist/index.js"},"serverDefinition":"./server-definition.json","scripts":{"build":"tsc","prepare":"npm run build","security-check":"node scripts/security-check.js","verify":"node scripts/verify.js","prepublishOnly":"npm run verify && npm run security-check && npm run build"},"dependencies":{"@modelcontextprotocol/sdk":"^1.0.4","mongodb":"^6.12.0"},"devDependencies":{"@types/node":"^20.0.0","typescript":"^5.0.0"},"engines":{"node":">=18.0.0"},"keywords":["mcp","mongodb","database","modelcontextprotocol","mongo","nosql"],"author":{"name":"krazor"},"license":"MIT","publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/krazor/mongodb-mcp.git"},"bugs":{"url":"https://github.com/krazor/mongodb-mcp/issues"},"homepage":"https://github.com/krazor/mongodb-mcp#readme","_id":"@krazor/mongodb-mcp@1.0.7","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-9HTZaEky2syQnnDtYg5IICs4k/uyD0mbZ8iRq/9P8J02EzQhEmI0VO5xsVDJnbpfCNp7CxD6Xqa05Y6MN8mBaA==","shasum":"446b689a289f54b8f2868a5056f4e7916038a30d","tarball":"https://registry.npmjs.org/@krazor/mongodb-mcp/-/mongodb-mcp-1.0.7.tgz","fileCount":8,"unpackedSize":38806,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIA1AgByT/FoXBcMh2gT7YKM673sz1K+8Gb2jWGW9OqD3AiEA/WhbQ3CJ5jo4BMFuE2rLWhsnWRzkKTHyID93/hU36YE="}]},"_npmUser":{"name":"krazor","email":"realsoftgames@gmail.com"},"directories":{},"maintainers":[{"name":"krazor","email":"realsoftgames@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mongodb-mcp_1.0.7_1776765180110_0.17804861105134484"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-20T23:48:00.308Z","modified":"2026-04-21T09:53:00.378Z","1.0.0":"2026-04-20T23:48:00.499Z","1.0.2":"2026-04-21T00:31:45.850Z","1.0.3":"2026-04-21T00:34:36.769Z","1.0.4":"2026-04-21T00:39:37.926Z","1.0.5":"2026-04-21T01:03:27.917Z","1.0.6":"2026-04-21T09:50:42.740Z","1.0.7":"2026-04-21T09:53:00.264Z"},"bugs":{"url":"https://github.com/krazor/mongodb-mcp/issues"},"author":{"name":"krazor"},"license":"MIT","homepage":"https://github.com/krazor/mongodb-mcp#readme","keywords":["mcp","mongodb","database","modelcontextprotocol","mongo","nosql"],"repository":{"type":"git","url":"git+https://github.com/krazor/mongodb-mcp.git"},"description":"MongoDB MCP server for database operations with secure connection handling","maintainers":[{"name":"krazor","email":"realsoftgames@gmail.com"}],"readme":"# @krazor/mongodb-mcp\n\nA secure, production-ready MongoDB MCP (Model Context Protocol) server for database operations.\n\n[![npm version](https://badge.fury.io/js/@krazor%2Fmongodb-mcp.svg)](https://www.npmjs.com/package/@krazor/mongodb-mcp)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n## Features\n\n- 🔒 **Secure by default** - No hardcoded credentials, environment-based configuration\n- 🔄 **Connection pooling** - Efficient connection management with automatic retry\n- 💪 **Resilient** - Handles connection drops, automatic reconnection\n- 📦 **Production-ready** - Graceful shutdown, error handling, logging\n- 🛠️ **Full CRUD support** - All MongoDB operations available as MCP tools\n\n## Installation\n\n```bash\nnpm install -g @krazor/mongodb-mcp\n```\n\nOr use with npx:\n\n```bash\nnpx @krazor/mongodb-mcp\n```\n\n## Configuration\n\n### Environment Variables\n\n| Variable | Required | Description |\n|----------|----------|-------------|\n| `MONGODB_URI` | Yes | MongoDB connection string |\n| `MONGODB_DB_NAME` | No | Default database name |\n| `MONGODB_OPTIONS` | No | JSON string of MongoDB options |\n\n### Example Connection URIs\n\n**Local MongoDB:**\n```bash\nexport MONGODB_URI=\"mongodb://localhost:27017/myapp\"\n```\n\n**MongoDB Atlas:**\n```bash\nexport MONGODB_URI=\"mongodb+srv://username:password@cluster.mongodb.net/myapp\"\n```\n\n**With Connection Pool Options:**\n```bash\nexport MONGODB_URI=\"mongodb://localhost:27017/myapp?maxPoolSize=50&minPoolSize=10\"\n```\n\n## Usage with McpMux\n\n1. Install the server in McpMux\n2. Configure with your MongoDB URI\n3. Start using MongoDB tools!\n\n## Available Tools\n\n### Query Operations\n- `find_documents` - Find multiple documents with filtering, sorting, pagination\n- `find_one` - Find a single document\n- `count_documents` - Count documents matching a filter\n- `aggregate` - Run aggregation pipelines\n\n### Write Operations\n- `insert_one` - Insert a single document\n- `insert_many` - Insert multiple documents\n- `update_one` - Update a single document\n- `update_many` - Update multiple documents\n- `delete_one` - Delete a single document\n- `delete_many` - Delete multiple documents\n\n### Schema Operations\n- `list_collections` - List all collections in a database\n- `list_databases` - List all databases\n- `create_index` - Create an index on a collection\n- `drop_collection` - Drop a collection\n\n## Connection Options\n\nDefault connection settings (can be overridden with `MONGODB_OPTIONS`):\n\n```json\n{\n  \"maxPoolSize\": 50,\n  \"minPoolSize\": 5,\n  \"serverSelectionTimeoutMS\": 30000,\n  \"socketTimeoutMS\": 0,\n  \"connectTimeoutMS\": 30000,\n  \"keepAlive\": true,\n  \"heartbeatFrequencyMS\": 10000,\n  \"retryWrites\": true,\n  \"retryReads\": true\n}\n```\n\nOverride with:\n```bash\nexport MONGODB_OPTIONS='{\"maxPoolSize\":100,\"minPoolSize\":10}'\n```\n\n## Security\n\n⚠️ **IMPORTANT:**\n- Never commit your `.env` file\n- Never hardcode credentials in your code\n- The server redacts credentials from all logs\n- Credentials are never exposed in error messages\n\n## Troubleshooting\n\n### \"Transport closed\" errors\n- Check your MongoDB connection string\n- Ensure MongoDB is running and accessible\n- Verify network connectivity\n- Check firewall settings\n\n### Connection timeouts\n- Increase `serverSelectionTimeoutMS`\n- Check MongoDB server load\n- Verify connection pool settings\n\n## License\n\nMIT © [krazor](https://github.com/krazor)\n","readmeFilename":"README.md"}