AdoMcp MCP server
io.github.John0King/adomcp·v1.5.0·4 starsDatabase MCP server for schema discovery, comments, and SQL queries.
not scanned yet
4 stars
Reviews
Write oneNobody has reviewed AdoMcp yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
AdoMcp tools
No tool declarations could be read from the package source. They show once the server is installed.
How AdoMcp compares
Against every graded Databases MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 88/100
- higher than 75% of 802 Databases servers
- GitHub stars
- 4
- more than 70% of 602 Databases servers
Release history: 3 versions in the registry since 2026-09-11, latest 2026-10-30, typically one every 34 days.
Install AdoMcp in Claude Code, Cursor or VS Code
The registry entry has no remote endpoint or installable package.
What the publisher says
From the AdoMcp repository's README, as published. We do not edit it. Read it on GitHub
AdoMcp
一个开箱即用的数据库 Model Context Protocol (MCP) Server,让 AI Agent 能够发现数据库对象、理解表结构和注释、检查索引,并安全地执行 SQL。
A ready-to-run database MCP server for schema discovery, comments, indexes, and controlled SQL execution.
支持 SQL Server、MySQL/MariaDB、PostgreSQL、SQLite 和 Oracle;插件核心遵循 Agent Plugins(Open Plugin Spec)1.0,可用于 Codex、Claude Code、GitHub Copilot App 和 Copilot CLI。
<!-- mcp-name: io.github.John0King/adomcp -->
Server name 和 version 由 MCP SDK 根据程序集元数据自动生成;Server 会在 MCP initialize/server/discover 响应中返回根级 instructions,指导客户端先定位连接与对象、只用 querysql 读数据,并仅在明确授权后调用 executesql。
功能
前置要求
- .NET 10 SDK
- 使用插件时,客户端需要允许启动本地 dnx 进程
无需提前安装 AdoMcp。插件和示例配置使用 dnx -y AdoMcp,首次运行时会从 NuGet 获取包。
插件安装
仓库根目录的 plugin.json、mcp.json 和 skills/adomcp/SKILL.md 是通用的 Agent Plugins 1.0 插件核心。.codex-plugin/、.claude-plugin/、.mcp.json 和 marketplace 文件是客户端兼容与分发入口。插件默认以 stdio 启动 AdoMcp,且不会开启写 SQL。
Codex
仓库包含 .codex-plugin/plugin.json,可被 Codex 插件市场或本地插件源使用。若只需要 MCP Server,可直接添加:
codex mcp add adomcp -- dnx -y AdoMcpClaude Code(cc)
/plugin marketplace add John0King/AdoMCP
/plugin install adomcp@adomcp-plugins安装后执行 /reload-plugins;使用 /mcp 检查 adomcp 是否已连接。
GitHub Copilot CLI
可以从 GitHub 仓库直接安装:
copilot plugin install John0King/AdoMCP
copilot mcp get adomcp也可以通过 marketplace 安装:
copilot plugin marketplace add John0King/AdoMCP
copilot plugin install adomcp@adomcp-pluginsGitHub Copilot App
在 Copilot App 中打开 Customize → Plugins,添加 John0King/AdoMCP marketplace,然后安装 AdoMcp。本仓库的 .github/plugin/marketplace.json、plugin.json、.mcp.json 和 skill 会作为一个插件加载。
Copilot App/云端 Agent 必须能运行 .NET 10 和访问 NuGet,才能启动这个本地 stdio MCP Server。若运行环境不允许本地进程,请先自行以 HTTP 模式部署 AdoMcp,再按下文配置远程地址。
直接配置 MCP
适用于任何支持本地 MCP 的客户端:
{
"mcpServers": {
"adomcp": {
"command": "dnx",
"args": ["-y", "AdoMcp"]
}
}
}HTTP 模式需先启动服务:
dnx -y AdoMcp -- --http然后连接端点:
{
"mcpServers": {
"adomcp": {
"url": "http://localhost:5100/mcp"
}
}
}数据库连接配置
AdoMcp 按以下顺序加载配置,后面的来源覆盖前面的来源:
- 应用目录中的 appsettings.json
- appsettings.{Environment}.json
- 用户配置 ~/.adomcp.json(Windows 为 %USERPROFILE%\.adomcp.json)
- ADOMCP_ 前缀的环境变量
- .NET User Secrets
- 命令行 --allow-any-sql(仅覆盖写 SQL 开关)
最常用的方式是在用户目录创建 .adomcp.json:
{
"AllowAnySql": false,
"Databases": [
{
"Name": "mydb",
"DbType": "PostgreSql",
"ConnectionString": "Host=localhost;Database=app;Username=postgres;Password=***;",
"Description": "Local development database"
}
]
}DbType 可选值:SqlServer、MySql、PostgreSql、Sqlite、Oracle。
也可以不创建配置文件,让 Agent 在会话中调用 add_connection。动态连接仅在当前 AdoMcp 进程中有效,重启后不会保留。
不要把真实连接字符串提交到 Git。生产环境建议使用环境变量、User Secrets 或客户端的密钥管理能力。
运行模式
默认使用 stdio;stdout 仅传输 MCP JSON-RPC,日志写入 stderr。
# 默认 stdio
dnx -y AdoMcpShortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
AdoMcp: common questions
- Is AdoMcp MCP server safe?
- Yes, by our scan: it is graded A (88/100). Read the AdoMcp safety report
- Does AdoMcp need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is AdoMcp maintained?
- The last commit was 39 days ago (2026-09-26). The latest release is v1.5.0.
- What can I use instead of AdoMcp?
- Servers from other publishers that do the same job: LINQ to DB MCP server, Grain SQL MCP server and Mssql Reader MCP server. Compare all AdoMcp alternatives.
- How does AdoMcp compare with other Databases MCP servers?
- safety score 88/100 (higher than 75% of 802 Databases servers); github stars 4 (more than 70% of 602 Databases servers). Full comparison.
Alternatives to AdoMcp
Same job from other publishers: the closest match first, then the best rated.
- LINQ to DBInspect database schemas and execute SQL queries across multiple database providers with LINQ to DB.not reviewedEstablishedA
Grain SQLRun SQL queries and inspect database schemas through safe, visible MCP tools.not reviewedGrowingB- Mssql ReaderRead-only MCP server for Microsoft SQL Server — schema discovery, profiling, safe queryingnot reviewedGrowingA
- DBHubToken-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLitenot reviewedWidely usedA
AirtableRead and write access to Airtable database schemas, tables, and records.not reviewedEstablishedB