Skip to main content
Loading navigation
Back to prompt library

MCP Tool for Privacy-Controlled Data Access

Linked challenge: Secure Agentic System Design for Privacy-Centric Services

Prompt source

implementation1 lines1 sectionsNo variables0 checklist items
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.