A
securityA
licenseA
qualityFacilitates management and optimization of PostgreSQL databases, offering analysis, setup guidance, and debugging, while ensuring secure and efficient database operations.
Last updated -
3
6
12
TypeScript
AGPL 3.0
模型-控制器-提供程序 (MCP) 服务器:
此应用程序遵循模型-控制器-提供者(MCP)模式:
.env.template
创建.env
文件:.env
文件。所有配置都通过环境变量进行管理:
GET /api/schemas
- 列出所有架构GET /api/schemas/:schema/tables
- 列出模式中的表GET /api/schemas/:schema/tables/:table
- 获取表架构详细信息GET /api/schemas/:schema/relationships
- 获取表关系GET /api/structure
- 获取完整的数据库结构GET /api/search?q=term
- 搜索表和列POST /api/query
- 执行 SQL 查询POST /api/query/explain
- 获取查询执行计划GET /api/schemas/:schema/tables/:table/sample
- 获取示例数据GET /api/schemas/:schema/tables/:table/stats
- 获取表统计信息GET /api/prompts
- 列出分析提示模板GET /api/prompts/:templateId
- 获取提示模板详细信息POST /api/prompts/:templateId/generate
- 从模板生成 SQLGET /api/schemas/:schema/tables/:table/analysis/suggest
- 获取分析建议npm run dev
npm test
npm run lint
麻省理工学院
连接到 PostgreSQL 数据库并提供用于安全探索模式、运行只读 SQL 查询以及使用预建模板执行数据分析的工具的服务器。
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Maxim2324/mcp-server-test'
If you have feedback or need assistance with the MCP directory API, please join our Discord server