refactor: 分散式目录结构 — 每个条目独立 <id>/index.json

This commit is contained in:
Johnson
2026-02-25 08:55:32 +08:00
parent eb95c7ace3
commit c729eecdd6
24 changed files with 774 additions and 519 deletions

41
mcp/db-mcp/index.json Normal file
View File

@@ -0,0 +1,41 @@
{
"id": "db-mcp",
"name": "Database MCP",
"description": "PostgreSQL 数据库查询与管理,支持 SQL 执行和 Schema 浏览",
"protocol": "mcp",
"status": "offline",
"origin": "registry",
"transport": "stdio",
"capabilities": [
"sql_query",
"schema_browse",
"data_export"
],
"toolCount": 8,
"version": "0.5.2",
"author": "Community",
"tags": [
"数据库",
"PostgreSQL",
"SQL"
],
"install": {
"method": "npx",
"packageName": "@modelcontextprotocol/server-postgres",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-postgres",
"postgresql://localhost/mydb"
]
},
"connection": {
"transport": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-postgres",
"postgresql://localhost/mydb"
]
}
}