Implement MCP Processing and Gemini Call

implementationChallenge

Prompt Content

Develop a service that receives the MCP payload, extracts the relevant context, and uses it to construct a call to the Gemini 2.5 Pro API. Ensure that tool calls specified in the MCP context can be simulated or conceptually handled by Gemini (e.g., if 'calendar_api' is in context, Gemini can suggest a calendar summary). Demonstrate this with the 'MCPContextPropagation' task.

Try this prompt

Open the workspace to execute this prompt with free credits, or use your own API keys for unlimited usage.

Usage Tips

Copy the prompt and paste it into your preferred AI tool (Claude, ChatGPT, Gemini)

Customize placeholder values with your specific requirements and context

For best results, provide clear examples and test different variations