siddiqui-zeeshan/datagrip-database-mcp
DataGrip plugin that extends the built-in MCP server with database query and schema tools for AI assistants
Platform-specific configuration:
{
"mcpServers": {
"datagrip-database-mcp": {
"command": "npx",
"args": [
"-y",
"datagrip-database-mcp"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
A DataGrip plugin that extends its built-in MCP server with 6 database tools. AI assistants like Claude Code can query databases through DataGrip's existing connections -- SSH tunnels, SSL, and auth included -- with zero extra config.
./gradlew buildPluginThe plugin zip is written to build/distributions/.
build/distributions/.Option A: All tools (database + built-in IDE tools)
{
"mcpServers": {
"datagrip": {
"command": "/path/to/datagrip",
"args": ["mcp", "stdio"]
}
}
}Option B: Database tools only (recommended)
Add the following deny list to .claude/settings.local.json (or .claude/settings.json for team-wide config) to hide DataGrip's built-in IDE tools and keep only the 6 database tools:
{
"permissions": {
"deny": [
"mcp__jetbrains__open_file_in_editor",
"mcp__jetbrains__reformat_file",
"mcp__jetbrains__execute_run_configuration",
"mcp__jetbrains__get_run_configurations",
"mcp__jetbrains__build_project",
"mcp__jetbrains__get_file_problems",
"mcp__jetbrains__get_project_dependencies",
"mcp__jetbrains__get_project_modules",
"mcp__jetbrains__create_new_file",
"mcp__jetbrains__find_files_by_glob",
"mcp__jetbrains__find_files_by_name_keyword",
"mcp__jetbrains__get_all_open_file_paths",
"mcp__jetbrains__list_directory_tree",
"mcp__jetbrains__get_file_text_byLoading reviews...