
Db Planner
io.dbplanner由 dbplanner.io 發布官方發布者v1.1.0更新於 Oct 27, 2026
Read and edit DB Planner database schemas, diagrams and board layouts as an AI agent.
概覽
DB Planner 的託管 MCP 伺服器,讓助理讀取和編輯你專案中的資料庫結構、圖表與畫板版面。
- 可以做什麼
- 檢視工作階段與公開個人資料,列出組織、專案及其成員
- 建立、重新命名和刪除組織與專案,並管理其成員
- 建立、更新、刪除和重新排序文件與圖表,設定資料表顏色
- 讀取畫板、轉成 PNG 或 SVG、列出資料表與繪圖,並更新畫板版面
- 在畫板上繪製筆跡、箭頭、形狀和圖片,並擦除繪圖
- 瀏覽範本市集、套用範本,並發布或下架自己的範本
- 適用情境
- 適合在 DB Planner 中設計或維護資料庫結構時使用,讓助理草擬 DBML 或 SQL 文件、調整圖表,或重新編排共享畫板,而不必切換到網頁應用程式。
- 執行需求
- 透過 streamable HTTP 連線至 api.dbplanner.io/mcp 遠端端點,無需安裝。首次呼叫工具時在瀏覽器完成 OAuth 2.1(PKCE)登入,支援動態用戶端註冊。用戶端設定中不會儲存 API 金鑰或密碼。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Db Planner,將其新增到工作區。
- 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
交給代理程式安裝
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/io.dbplanner%2Fdb-planner/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。
{
"mcpServers": {
"db-planner": {
"type": "http",
"url": "https://api.dbplanner.io/mcp"
}
}
}README
DB Planner MCP server
Hosted MCP server for DB Planner that lets any MCP client edit database schemas (DBML/SQL), Mermaid diagrams and board layouts. OAuth sign-in, nothing to install.
This repository is documentation. The server is built into the DB Planner API and there is no code to run: add the URL to your client, sign in once in the browser, and your agent has 38 tools over your projects.
What is DB Planner
DB Planner is a collaborative database design tool. You write schemas in DBML or import SQL dumps (PostgreSQL, MySQL and SQL Server), sketch diagrams in Mermaid, and lay both out on a shared board that renders relationships, notes and drawings in real time. The template marketplace is where published schemas are shared.
Connect
Claude Code
Cursor and other clients with a JSON config
The url is the same everywhere; the type value is not. Claude Code's .mcp.json takes http as above, Cursor's .cursor/mcp.json needs no type at all, and Cline's mcp.json takes streamableHttp. Check your client's documentation for its remote-server shape.
Claude.ai and Claude Desktop
Settings, then Connectors, then Add custom connector. Paste the URL. Leave authentication on "Always required" and the OAuth client on "register one automatically". No headers.
MCP Inspector
Click Add Servers, then fill in the form: server ID db-planner, transport streamable-http, URL https://api.dbplanner.io/mcp. Add it, switch it on, and the consent screen opens in the browser.
On every client the first tool call opens the DB Planner consent screen. Sign in, pick the scopes, and you are connected. No password or API key is stored in the client configuration. An agent setting this up on your behalf should read llms-install.md.
Authentication
The endpoint is protected by OAuth 2.1 with PKCE. Discovery is standard, so clients configure themselves from the URL alone:
https://api.dbplanner.io/.well-known/openid-configurationhttps://api.dbplanner.io/.well-known/oauth-protected-resource- Dynamic client registration at
https://api.dbplanner.io/connect/register, for both public clients (token_endpoint_auth_method=none) and confidential ones (client_secret_post,client_secret_basic)
Two scopes are the whole permission model, and the split is enforced on the server, not in the client:
MCP clients ask for both. Read is always granted, and write is a checkbox on the consent screen, on by default. Turning it off means the token is issued without write even though the client requested it, so a read-only connection is a real guarantee rather than a client-side courtesy.
Clients also request offline_access. That is a session mechanism rather than a permission: it yields a refresh token so the connection survives token expiry, and it is granted whenever asked.
A tool never sees more than the signed-in user can see in the app: organization and project roles are resolved from the token's subject and enforced by the same services the web app uses.
Tools
Every tool carries a title, a read-only or destructive hint, an openWorldHint of false, a description on every parameter and an output schema, so clients can run reads without confirmation prompts and read structured results instead of parsing text.
A few things worth knowing before an agent calls them:
- Design lives in documents, never on the board. Tables, columns, references, enums, classes and flowchart steps are derived by parsing a document, so the design changes through
create_documentandupdate_documentand the board follows. There is no tool that creates a table directly. get_board_imagerenders the board to a PNG so the model can look at a layout rather than infer it from coordinates. Passformat='svg'for the vector source as text.drawanddraw_shapeare the drawing tools. Ink and arrows are one tool with akind; rectangles, diamonds and ellipses, with optional bound text, are the other. Both mint ids and round coordinates the way the app does. Free text on its own, groups and links go throughupdate_board.update_boardtakes a partial delta. Send only the card ids you are changing; a null value deletes one. It is the same merge contract the app uses, so an agent moving one card does not clobber a collaborator's layout.- Publishing is creator-only, and no tool takes a price. Only the person who created a project may list it, and a listing published through MCP is always free. Pricing requires Stripe onboarding that nobody can do on someone's behalf.
Where it is listed
- Official MCP Registry as
io.dbplanner/db-planner - Smithery
- Glama
- mcp.so
- cursor.directory
Support
Questions and problems: [email protected]. Product documentation is at dbplanner.io/features.
License
This documentation is released under the MIT License. DB Planner itself is a hosted product; see dbplanner.io/pricing.
來源:README.md,提交 e9909a0
工具
0版本歷史
1- v1.1.0最新Sep 16, 2026
評分
已滿足適用檢查項的 85%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通必需25 分
- 已宣告認證方式必需10 分
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分