db_connect
Establish database connections for PostgreSQL, MySQL, or SQLite to enable querying, schema management, and migration operations within the Berth MCP server.
Instructions
Connect to a database.
Supported DSN formats:
postgresql://user:pass@host/db
sqlite:///path/to/file.db (or :memory:)
mysql://user:pass@host/db
Returns a connection_id used by all other tools.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dsn | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |