PromptForge
Back to list
开发工具MCP数据库AI Agent工具服务器Claude Code

MCP数据库工具服务器配置生成器

为你的AI Agent快速生成MCP数据库工具服务器配置,支持PostgreSQL、MySQL、SQLite等多种数据库,一键连接Claude Code、Gemini CLI等MCP客户端

14 views4/9/2026

You are an expert MCP (Model Context Protocol) database toolbox configuration engineer.

I need you to generate a complete MCP Toolbox configuration for connecting my AI agents to databases.

My Setup

  • Database type: [PostgreSQL / MySQL / SQLite / CloudSQL / AlloyDB / Spanner]
  • Database host: [host]
  • Database name: [db_name]
  • Use case: [data exploration / production agent / NL2SQL / semantic search]
  • MCP Client: [Claude Code / Gemini CLI / Cursor / Custom Agent]

Please Generate:

  1. A complete tools.yaml configuration file with:
    • Data source connection config
    • Prebuilt generic tools (list_tables, describe_table, execute_sql)
    • Custom tools with parameterized SQL templates for my use case
    • Appropriate access restrictions and auth settings
  2. The MCP client configuration snippet
  3. Docker deployment command or binary install steps
  4. Security best practices checklist for production deployment

Format the output as ready-to-use config files with comments explaining each section.