A developer types to their agent: “Look at this customer’s recent transactions and find the bug.” The agent goes to the database through an MCP server and pulls the record. The record contains the customer’s name, national ID number and IBAN. All of it goes to the model. Nobody pasted anything, nobody broke a rule. The agent just did its job.
Sitre today checks what people type into AI tools. In the scenario above, though, it isn’t a person typing. The agent brings the data in itself.
Sitre MCP Gateway is meant for that gap. It’s on our roadmap: we’ve approved the business requirements and are working on the solution design.
How it will work
MCP is the standard way agents connect to resources such as databases and internal services. The gateway will sit in front of the company’s MCP servers. The agent will only see Sitre’s address. Sitre will forward the call, and the result will go through the same detection and masking engine Sitre uses today before it reaches the agent.
So in the example above, the agent will still get the record, but with the national ID number and the IBAN masked. What was found and what was done will be logged. The log won’t contain the data itself, only its type and the action taken. The policy will be chosen by the developer’s identity: the company-wide policy plus any exceptions granted to that person, the same way it works in Sitre today.
There’s one more thing we want to catch. Text coming from the data sometimes tries to give the agent instructions (“ignore previous instructions and do this”). That’s called indirect prompt injection. Tool results will be checked for that as well.
Why not on the agent’s machine
Putting this check on the developer’s computer would have been easier, and we tried that route first. But a check that lives on the machine is one the agent can get around. On the server side, there’s no way around it. It has one condition: agents must not be able to reach the data any other way than MCP, for example through a direct database connection.
From a KVKK (Turkey’s personal data protection law) point of view it’s simple. The moment the data the agent fetched goes to the model, that’s a transfer. If personal data is masked before it goes, the amount transferred shrinks to a minimum, and the log shows that precautions were taken.
If you’re thinking about this for your own environment, get in touch.
- Sitre
- MCP
- KVKK
- AI