A Model Context Protocol server that provides AI assistants with direct access to Dolt databases, enabling database operations, version control workflows, and data management tasks through SQL queries.
List all available databases.
Create a new database.
Remove a database.
Get Dolt server version information.
List tables in current database.
Show table creation SQL.
Show table schema and structure.
Create new tables.
Modify table structure.
Remove tables.
Execute SELECT queries (read operations).
Execute INSERT, UPDATE, DELETE queries (write operations).
List all branches.
Show currently active branch.
Create new branches.
Create branch from current HEAD.
Remove branches.
Rename branches.
View commit history.
Create commits with staged changes.
Stage specific tables.
Stage all modified tables.
Remove tables from staging area.
Clear staging area.
Show uncommitted changes.
Show changes for specific table.
Show changes within date range.
Check merge conflicts and status.
Merge branches (fast-forward when possible).
Force merge commit.
Soft reset specific table.
Soft reset all tables.
Hard reset to specific commit.
List configured remotes.
Add new remote repositories.
Remove remote repositories.
Clone remote databases.
Fetch specific branch from remote.
Fetch all branches from remote.
Push branch to remote.
Pull branch from remote.
{
"mcpServers": {
"dolt-mcp": {
"command": "/path/to/dolt-mcp-server",
"args": [
"--stdio",
"--dolt-host", "0.0.0.0",
"--dolt-port", "3306",
"--dolt-user", "root",
"--dolt-database", "your_database_name"
],
"env": {
"DOLT_PASSWORD": "your_password_if_needed"
}
}
}
}