Db Planner

io.dbplannerPublished by dbplanner.ioOfficial publisherv1.1.0Updated Oct 27, 2026

Read and edit DB Planner database schemas, diagrams and board layouts as an AI agent.

VerifiedStreamable HTTPWeb executableDatabasesProductivity & Workflow

Overview

AI-generated overview

Hosted MCP server for DB Planner that lets an assistant read and edit database schemas, diagrams and board layouts in your projects.

What you can do
  • Inspect session and public profiles, and list organizations and projects with their members
  • Create, rename and delete organizations and projects, and manage their members
  • Create, update, delete and reorder documents and diagrams, and set table colors
  • Read the board, render it as PNG or SVG, list tables and drawings, and update board layouts
  • Draw ink, arrows, shapes and images on the board, and erase drawings
  • Browse the template marketplace, use templates, and publish or unpublish your own listings
When to use it
Useful when you design or maintain database schemas in DB Planner and want an assistant to draft DBML or SQL documents, adjust diagrams, or rearrange a shared board without switching to the web app.
Requirements
Remote endpoint at api.dbplanner.io/mcp over streamable HTTP; nothing to install. OAuth 2.1 with PKCE sign-in through the browser on first tool call, with dynamic client registration. No API key or password is stored in the client configuration.
Before you install
Write tools change shared data: they can delete organizations, projects and documents, remove members, and erase drawings. The write scope is on by default at consent and also covers publishing to the public marketplace, so uncheck it for a read-only connection. Published listings through MCP are always free.

Installation

In SourceWeft

  1. Open Db Planner in the dashboard and add it to a workspace.
  2. Connect the required credentials. They are stored privately and never shown on public pages.
  3. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.dbplanner%2Fdb-planner/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config. The client completes OAuth sign-in on first connect.

{
  "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.

https://api.dbplanner.io/mcp

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

bash
claude mcp add --transport http db-planner https://api.dbplanner.io/mcp

Cursor and other clients with a JSON config

json
{  "mcpServers": {    "db-planner": {      "type": "http",      "url": "https://api.dbplanner.io/mcp"    }  }}

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

bash
npx @modelcontextprotocol/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-configuration
  • https://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:

ScopeGrants
dbplanner:readEvery read tool. Always granted, because the endpoint requires it.
dbplanner:writeThe mutating tools, checked per tool. Also covers publishing to the public marketplace.

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.

GroupReadWrite
Sessionwhoami, get_public_profiles
Organizationslist_orgs, get_orgcreate_org, rename_org, delete_org, upsert_org_member, remove_org_member
Projectslist_projectscreate_project, update_project, delete_project, upsert_project_member, remove_project_member
Documentslist_documents, list_diagramscreate_document, update_document, delete_document, reorder_documents, set_table_color
Boardget_board, get_board_image, list_tables, list_drawingsupdate_board, draw, draw_shape, erase_drawings, add_board_image
Marketplacebrowse_templates, get_template, list_my_listingsuse_template, publish_listing, update_listing, unpublish_listing

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_document and update_document and the board follows. There is no tool that creates a table directly.
  • get_board_image renders the board to a PNG so the model can look at a layout rather than infer it from coordinates. Pass format='svg' for the vector source as text.
  • draw and draw_shape are the drawing tools. Ink and arrows are one tool with a kind; 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 through update_board.
  • update_board takes 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

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.

Source: README.md at commit e9909a0

Tools

0
This server asks you to sign in, so SourceWeft could not read its tools without an account and has not indexed them. What a connected account sees can depend on that account and its permissions.

Version history

1
  1. v1.1.0LatestSep 16, 2026

Score

85% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts