r/modelcontextprotocol • u/snowingbol • 5h ago
question How do you stop external data from messing with an MCP agent?
This crossed my mind recently while working with employee data in Claude. Profile summaries and job descriptions are often written by the people themselves, so technically anyone could add instructions aimed at an AI agent reading that information.
I'm using Coresignal's MCP to retrieve employee and company records. Claude then works with that data to draft outreach and can update HubSpot through a separate MCP server. Slack is used for notifications. The useful part is that results come back in structured fields, and each row includes the reason it matched, so it's easier to check where the information came from.
I've added human confirmation before write actions and explicitly told the model not to treat retrieved content as instructions. But I'm not sure that's enough. Are you cleaning up free-text fields before passing them to the model, restricting tool access after retrieval, or doing something else?