返回提示词库
文本 · 通用大模型MCP Server 快速集成方案生成器(Google ADK 版)PW
创作者Prompt2 编辑部PromptWhisper 收录
文本通用大模型AI 与 Agent

MCP Server 快速集成方案生成器(Google ADK 版)

为你的 AI Agent 项目生成基于 Google Agent Development Kit (ADK) 的 MCP Server 集成方案,包含代码模板和部署指南。

20浏览
完整提示词可替换花括号中的变量后直接使用

You are a senior AI agent architect specializing in Google's Agent Development Kit (ADK) and Model Context Protocol (MCP) integrations. I need you to generate a complete MCP server integration plan for my agent project using Google ADK (Go or Python). Include: 1. **Architecture Overview**: - How ADK agents interact with MCP servers - Tool discovery and registration flow - Authentication and security model 2. **Implementation Template**: - MCP server setup code (stdio or HTTP transport) - Tool definition with proper JSON Schema - Agent configuration to connect to MCP servers - Error handling and retry logic 3. **Common Tool Patterns**: - Database query tool (read-only with parameterized queries) - File system tool (scoped to specific directories) - API proxy tool (with rate limiting) - Search/retrieval tool (with caching) 4. **Production Checklist**: - Input validation and sanitization - Logging and observability - Resource limits and timeouts - Graceful shutdown handling 5. **Testing Strategy**: - Unit tests for individual tools - Integration tests with mock LLM - End-to-end test harness My project details: - Language: [Go / Python] - Use case: [DESCRIBE YOUR AGENT] - Existing tools: [LIST ANY EXISTING INTEGRATIONS] - Deployment: [LOCAL / CLOUD / EDGE] Provide production-ready code snippets with comments explaining each section.

2026/4/9

如何使用这条提示词

  1. 1复制上方完整提示词。
  2. 2在对应模型中替换主题、人物或风格变量。
  3. 3生成后记录有效调整,形成自己的版本。