Inspect database schemas and execute SQL queries across multiple database providers with LINQ to DB.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add linq-to-db -- dnx linq2db.cli --yes --config '<CONFIG>'~/.codex/config.toml
[mcp_servers.linq-to-db]
command = "dnx"
args = ["linq2db.cli", "--yes", "--config", "<CONFIG>"]
# codex mcp add linq-to-db -- dnx linq2db.cli --yes --config '<CONFIG>'~/.cursor/mcp.json
{
"mcpServers": {
"linq-to-db": {
"command": "dnx",
"args": [
"linq2db.cli",
"--yes",
"--config",
"<CONFIG>"
]
}
}
}.vscode/mcp.json
{
"servers": {
"linq-to-db": {
"type": "stdio",
"command": "dnx",
"args": [
"linq2db.cli",
"--yes",
"--config",
"<CONFIG>"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"linq-to-db": {
"command": "dnx",
"args": [
"linq2db.cli",
"--yes",
"--config",
"<CONFIG>"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"linq-to-db": {
"command": "dnx",
"args": [
"linq2db.cli",
"--yes",
"--config",
"<CONFIG>"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"linq-to-db": {
"command": "dnx",
"args": [
"linq2db.cli",
"--yes",
"--config",
"<CONFIG>"
]
}
}
}