Data Studio Agent
Let your AI coding agent securely access all your databases, in plain language.
Local-first. Enterprise-grade security. Open source.
接入你的智能体
發布者自己的指令。不是 PlugMCP 端點。
用我們的金鑰與日誌託管一份副本。
npx -y @geek-fun/[email protected]Claude Code 沒有本機指令的安裝連結。複製下方指令並在終端機中執行。
claude mcp add geek-fun-data-studio-agent -- npx -y @geek-fun/data-studio-mcp@0.1.10在終端機中執行。
{ "mcpServers": { "geek-fun-data-studio-agent": { "command": "npx", "args": [ "-y", "@geek-fun/[email protected]" ] } }}claude_desktop_config.json
遠端 URL 還是本機指令? 兩種安裝方式的差異
來自發布者
Let your AI coding agent securely access all your databases, in plain language.
Local-first. Enterprise-grade security. Open source.
Open-source MCP server that gives AI coding agents secure database access via DocKit and SqlKit bridges — 70+ SQL & NoSQL databases, local-first, read-safe by default.
English · 简体中文
This repository contains the Data Studio MCP Server, a Model Context Protocol server that gives AI coding agents direct access to your databases through the dockit and sqlkit desktop apps.
Install and launch dockit and/or sqlkit, add a database connection, and make sure Settings → MCP Bridge → Auto-start is enabled (it is by default). Install both apps for the full SQL + NoSQL tool set.
npm install -g @geek-fun/data-studio-mcp
Or run it without installing (npx downloads it on first run):
npx -y @geek-fun/data-studio-mcp
OpenAI Codex, one command:
codex mcp add data-studio -- npx -y @geek-fun/data-studio-mcp
Claude Code, one command:
claude mcp add --transport stdio data-studio -- npx -y @geek-fun/data-studio-mcp
Cursor. Create .cursor/mcp.json (project) or ~/.cursor/mcp.json (global):
{
"mcpServers": {
"data-studio": {
"command": "npx",
"args": ["-y", "@geek-fun/data-studio-mcp"]
}
}
}
Windsurf. Create ~/.codeium/windsurf/mcp_config.json (global only):
{
"mcpServers": {
"data-studio": {
"command": "npx",
"args": ["-y", "@geek-fun/data-studio-mcp"]
}
}
}
OpenCode. Add to opencode.json (project) or ~/.config/opencode/opencode.json (global):
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"data-studio": {
"type": "local",
"command": ["npx", "-y", "@geek-fun/data-studio-mcp"],
"enabled": true
}
}
}
Any other MCP client. Register a stdio server with command npx and args -y @geek-fun/data-studio-mcp.
Open Settings → MCP Bridge in dockit/sqlkit to control what the agent can do:
Use plain language. The agent queries your databases for you:
orders*"The agent reads schemas, runs queries, and explores your data, then shows you every query it executed.
The LLM gets broad access to your data, but it never sees your credentials. The policy model gates every capability by risk level.
connection_id. Real credentials are resolved inside dockit/sqlkit and never cross the MCP boundary. Your passwords and keys stay on your machine, in your app.Ask in the policy. The client prompts the user for explicit confirmation before anything destructive runs.127.0.0.1 exclusively. It is unreachable from other machines, with no server to host and no API keys to manage.All tools follow the data_studio__{backend}__{action} convention. The User confirmation column shows which operations surface an explicit confirmation prompt in your AI client before they run.
code agent (Claude Code / Cursor / OpenCode ...)
|
| MCP stdio protocol
v
@geek-fun/data-studio-mcp ← npm package (pure TypeScript)
|
| HTTP (localhost)
+----------------+----------------+
v v |
dockit:9120 sqlkit:9121 |
(NoSQL bridge) (SQL bridge) |
| | |
v v |
Elasticsearch PostgreSQL |
MongoDB MySQL |
DynamoDB SQL Server |
OpenSearch SQLite |
The MCP server is a thin routing layer. All database drivers, SSH tunnels, and connection management live in the desktop apps, which expose a local HTTP bridge (127.0.0.1 only). The MCP server auto-discovers running backends via each app's port file.
This repository also contains the data-studio-agent Rust framework, the shared AI agent loop (provider adapters, streaming, tool calling, context compaction) that powers the built-in assistants in dockit and sqlkit.
See crates/data-studio-agent/README.md for installation, architecture, and integration guides.
Apache 2.0. See LICENSE.
Open-source MCP server that gives AI coding agents secure database access via DocKit and SqlKit bridges — 70+ SQL & NoSQL databases, local-first, read-safe by default.
{ "mcpServers": { "geek-fun-data-studio-agent": { "command": "npx", "args": [ "-y", "@geek-fun/[email protected]" ] } }}工具
尚無工具清單。遠端伺服器會在首次健康檢查後取得工具清單。
常見問題
在本頁複製適用於 Cursor、Claude Desktop、Claude Code 或 VS Code 的 stdio 設定。它使用發布者的安裝方式,而不是 PlugMCP 代理伺服器。
這筆記錄未列出必要的環境變數。
Data Studio Agent 透過 stdio 在本機執行。
上次檢查時間:2026-10-28。 Open-source MCP server that gives AI coding agents secure database access via DocKit and SqlKit bridges — 70+ SQL & NoSQL databases, local-first, read-safe by default.