sqemo-mcp
MCP server for Sqemo, a web-based ERD tool with team naming standards. 34 tools: read/edit entities, attributes, and relationships; generate physical names from a shared glossary and naming rules; SQL (7 dialects) and DBML import/export; ERD lint, diff, and ALTER generation.
README
sqemo-mcp
MCP server for Sqemo — design ERDs with your team's naming standards.
AI agents can query and edit entities, relationships, and domains; generate physical names
from a shared team glossary; and import/export SQL (7 dialects) and DBML. Works with both
local .erd.json files and ERDs stored on the Sqemo cloud.
- npm:
sqemo-mcp - Official MCP Registry:
io.github.sqemo/sqemo - Web app: app.sqemo.com
Requires Node.js >= 22. Local-file tools work without any account or configuration — login is only needed for cloud ERD tools.
Installation
Claude Code (.mcp.json)
{
"mcpServers": {
"sqemo": { "command": "npx", "args": ["-y", "sqemo-mcp"] }
}
}
Claude Desktop
Add the same mcpServers entry to your config file:
- Windows:
%APPDATA%\Claude\claude_desktop_config.json - macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
Cursor (.cursor/mcp.json)
{
"mcpServers": {
"sqemo": { "command": "npx", "args": ["-y", "sqemo-mcp"] }
}
}
Login (only for cloud ERDs)
npx sqemo-mcp login # email + password → stores a refresh token
npx sqemo-mcp logout # removes stored credentials
Credentials are stored in ~/.erdmaker/credentials.json (mode 0600 on POSIX);
your password is never persisted.
What you can do
Read (16 tools)
| Tool | Description |
|---|---|
list_erds / list_workspaces |
Cloud ERDs and workspaces you belong to (login required) |
get_erd_overview |
Name, dialect, entity/relationship/domain/glossary stats |
list_entities / get_entity |
Entity list and full detail (attributes, keys, logical/physical mapping) |
list_relationships |
Relationships with endpoints and cardinality |
list_domains |
Domain definitions (also from workspace standard glossaries) |
search_dictionary |
Search the team glossary (logical/physical words, abbreviations, synonyms) |
check_naming |
Check a logical name against the team naming standard |
generate_physical_name |
Logical name → physical name via glossary + naming rules |
export_sql |
CREATE TABLE SQL — mysql, postgres, cubrid, oracle, sqlserver, sqlite, h2 |
export_dbml |
DBML text |
validate_erd / lint_erd |
Structural validation and full lint (naming drift, referential integrity, duplicates) |
diff_erds |
Diff two sources (files, cloud ERDs, or raw SQL/DBML text) — dry-run before imports |
list_proposals |
Glossary proposal queue status (login required) |
Write (17 tools)
| Tool | Description |
|---|---|
create_erd |
New ERD from scratch or from SQL/DBML text — to a file or the cloud |
upsert_entity / delete_entity |
Entity editing with automatic physical-name derivation |
upsert_attribute / delete_attribute |
Attribute editing — PK rules and FK propagation handled automatically |
upsert_relationship / delete_relationship |
Relationship editing with automatic FK derivation |
upsert_domain / delete_domain |
Domain definition editing |
upsert_dictionary_word / delete_dictionary_word |
Glossary editing (standard-linked glossaries are protected) |
update_naming_rules |
Naming rule editing (delimiter, case, unknown-word handling) |
import_sql / import_dbml |
Replace an ERD from parsed SQL/DBML (IDs preserved) |
auto_layout |
Automatic entity/table layout (dagre) |
propose_dictionary_word / withdraw_proposal |
Propose new glossary words for owner approval |
Cloud writes require owner or shared-editor permission and are protected by version CAS with 3-way auto-merge for concurrent edits.
CLI for CI pipelines
Two offline, file-based subcommands (no login needed):
# Naming-standard check — exits 1 on violations, great as a CI gate
npx sqemo-mcp lint schema.erd.json
# Schema export to stdout
npx sqemo-mcp export schema.erd.json --format sql --dialect postgres > schema.sql
npx sqemo-mcp export schema.erd.json --format dbml > schema.dbml
GitHub Actions example:
- run: npx sqemo-mcp lint schema.erd.json
Environment variables
| Variable | Purpose |
|---|---|
ERDMAKER_HOME |
Override the credentials directory (default ~/.erdmaker) |
ERDMAKER_SUPABASE_URL |
Override the API URL (defaults to the Sqemo cloud) |
ERDMAKER_SUPABASE_ANON_KEY |
Override the API publishable key |
ERDMAKER_MAX_REQUESTS_PER_MINUTE |
Per-minute request cap (default 120, 0 disables) |
ERDMAKER_MAX_REQUESTS_PER_DAY |
Daily request cap (default 10000, 0 disables) |
The request caps are a safety net against agents stuck in loops; exceeding them
returns a rate_limited error that tells the agent to stop and notify the user.
Errors
All tool errors return { code, message } — e.g. not_authenticated, no_permission,
save_conflict (retry after re-reading), validation_failed, rate_limited.
Links
- Sqemo — team naming standards + ERD design in the browser
- sqemo-mcp on npm
- Feedback and bug reports: issues or hello@sqemo.com
License
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。