connect_mongodb
Establish a connection to a MongoDB database using a URL or configuration details, enabling seamless integration with the MCP-MongoDB-MySQL-Server for database operations.
Instructions
Connect to MongoDB database using URL or config
Input Schema
Name | Required | Description | Default |
---|---|---|---|
database | No | MongoDB database name | |
url | No | MongoDB URL (mongodb://user:pass@host:port/db) | |
workspace | No | Project workspace path |
Input Schema (JSON Schema)
{
"properties": {
"database": {
"description": "MongoDB database name",
"optional": true,
"type": "string"
},
"url": {
"description": "MongoDB URL (mongodb://user:pass@host:port/db)",
"optional": true,
"type": "string"
},
"workspace": {
"description": "Project workspace path",
"optional": true,
"type": "string"
}
},
"type": "object"
}