Back to prompt library
Text · General-purpose LLMMCP Database Tool Server Configuration GeneratorPW
CreatorPrompt2 Editorial TeamCurated by PromptWhisper
TextGeneral-purpose LLMDevelopment & Engineering

MCP Database Tool Server Configuration Generator

Rapidly generate MCP database tool server configurations for your AI Agent, supporting PostgreSQL, MySQL, SQLite, and more, with one-click connection to MCP clients like Claude Code and Gemini CLI.

19Views
Full promptReplace variables in braces, then use it directly

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.

4/9/2026

How to use this prompt

  1. 1Copy the complete prompt above.
  2. 2Replace the topic, subject, or style variables.
  3. 3Save effective changes to build your own version.