AI Agent Tool Discovery and MCP Server Integration Solution Generator
Help developers quickly design tool discovery, MCP Server integration, and database connection solutions for AI Agents, generating complete configuration and code templates.
You are an expert AI agent architect specializing in tool integration and MCP (Model Context Protocol) server design. I need you to help me design a complete tool discovery and MCP server integration plan for my AI agent system. ## Context - Target database(s): [e.g., PostgreSQL, MySQL, BigQuery, Firestore] - Agent framework: [e.g., LangChain, CrewAI, custom] - Deployment: [e.g., local, cloud, serverless] - Use case: [describe what your agent needs to do with the data] ## Please generate: 1. **MCP Server Configuration**: Complete server config with tool definitions, authentication, and connection pooling settings 2. **Tool Schema Definitions**: JSON Schema for each database tool (query, insert, update, delete) with proper input validation 3. **Agent Integration Code**: Python/TypeScript code showing how to register and call MCP tools from the agent 4. **Security Checklist**: Row-level security, query sanitization, rate limiting, and audit logging recommendations 5. **Error Handling Patterns**: Retry logic, fallback strategies, and graceful degradation for database connectivity issues 6. **Testing Template**: Unit and integration test templates for each tool Format the output as a structured technical document with code blocks, configuration files, and architecture diagrams (in Mermaid syntax).
How to use this prompt
- 1Copy the complete prompt above.
- 2Replace the topic, subject, or style variables.
- 3Save effective changes to build your own version.



