MCP Tool for Privacy-Controlled Data Access

implementationChallenge

Prompt Content

Develop an MCP-enabled tool that simulates a privacy-controlled data access layer. This tool should accept requests for specific data types (e.g., 'location_history', 'health_records') from agents. Based on a simulated user consent level and predefined privacy policies, the tool should either grant anonymized/scoped access or deny the request. Demonstrate a scenario where a 'Data Steward' agent uses this MCP tool and the request is appropriately handled.

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