Project Aby Julia Wicht20267 min read
Privacy-compliant use of large language models: Project A as an LLM proxy
Prompting counts as processing of personal data under the GDPR. The Project A Proxy pseudonymises requests before they reach the model and only reinserts the real data in the response – including when MCP servers are connected.
Almost every LLM use case in a company involves personal data. Prompting is processing within the meaning of the GDPR and therefore requires a legal basis. The solution is the Project A Proxy, which pseudonymises requests, forwards them to the model and only reinserts the real data in the response. MCP servers can be connected as well.
Introduction
Large language models (LLMs) have become an integral part of everyday work in no time at all. Today they are used to summarise entire folders of text files, meeting notes or email threads in just a few seconds. This saves employees an enormous amount of time, but it also has data protection implications.
Almost every use case mentioned above involves personal data, such as author names, customer information or participant information. Legally speaking, prompting or training LLMs with such content is processing of personal data and is therefore subject to the General Data Protection Regulation (GDPR). The GDPR is fundamentally based on the principle of prohibition subject to permission, which means that processing is only lawful on specified legal bases, such as the explicit consent of all data subjects. Failure to comply with this requirement can lead to heavy fines and operational sanctions, which is why a solution to this problem is needed. In addition, the most common LLM providers are based abroad, so transfers to the LLMs are often also transfers to third countries under Chapter 5 GDPR. Prompts containing personal data in particular should therefore only be submitted in pseudonymised form.
The most obvious way to pseudonymise data before it reaches AI providers is to replace personal content with placeholders by hand. With large volumes of data, however, this can be so time-consuming that the time saved by using the LLM is lost. Manual replacement is also error-prone, and rehydrating the AI responses requires a mapping table to be maintained and used manually. Our Project A Proxy is the technical, automated counterpart to this manual approach. It enables privacy-compliant pseudonymisation towards the LLMs without affecting the user experience. In short: the pseudonymisation remains invisible to the user, while the LLM only receives a pseudonymised version of the original text.
How is privacy-compliant use of large language models implemented?
At the heart of the solution is the Project A LLM proxy, which sits between the client and the language model. Users can work in their familiar environment and submit their request without any manual pseudonymisation preparation. The Project A Proxy first intercepts this client request and pseudonymises it using the Project A Anonymiser. The resulting assignment of placeholders to entities is recorded in a mapping table so that the entities can later be identified or rehydrated. The pseudonymised request is then forwarded to the LLM, which generates a response containing the placeholders. This is where the mapping table comes into play, making it possible to produce a rehydrated response for the user. The basic process is shown in Figure 1.
How does Project A work as a proxy, using a Jira ticketing system connected via the Model Context Protocol (MCP) as an example?
A Model Context Protocol (MCP) server connects the language model to external systems such as Jira and performs actions there. For privacy-compliant use, a single pseudonymisation step is not enough, because the MCP server can neither resolve the placeholders nor query them against the Jira API. The MCP interface of the Project A Proxy solves this problem by pseudonymising and rehydrating both the request and the response.
How is a request from the client forwarded to the Jira MCP server in a privacy-compliant way?
A natural-language request created by the client is pseudonymised by the first instance of the Project A Proxy, producing a request with placeholders and an associated mapping table. The pseudonymised request is then forwarded to the AI provider, which generates a pseudonymised tool call from it. The Jira MCP server cannot yet understand this tool call, however. The tool call therefore has to be rehydrated using the second instance of the Project A Proxy and the mapping from the first instance. The rehydrated tool call can then be forwarded to the MCP server, which passes the call on to the Jira back end via the REST API. An overview of the request path can be found in Figure 2.
How is the Jira MCP server's response converted into natural language in a privacy-compliant way?
As soon as a result from the Jira API is available, the resulting tool response from the MCP server is pseudonymised by the second instance of the Project A Proxy. This creates a second mapping. The pseudonymised tool response is then sent to the AI provider again so that the tool response can be translated into natural language. Here, too, the LLM uses the established placeholders from both mappings. The first instance of the Project A Proxy then uses both mappings to rehydrate the generated LLM response. The client receives a natural-language response without pseudonyms. An overview of the response's return path can be found in Figure 3.
What insight does the user have into the overall process?
Users have no insight into the pseudonymisation or into the tool requests and responses that are generated. All that remains visible is their own request and the response generated by the LLM. This makes using LLMs simpler, because familiar workflows do not have to change and the pseudonymisation takes place at infrastructure level instead.
What are the benefits of Project A as a privacy-compliant LLM proxy, and where are its limits?
The most important benefits of the Project A Proxy are GDPR compliance and the time saved by no longer having to pseudonymise data by hand. Because personal data leaves the system in pseudonymised form, the proxy is a concrete, technically suitable implementation of Art. 25 GDPR, which provides legal certainty when working with LLMs. This results in two further practical effects:
- Because many model providers are based in the USA, sending a prompt to common LLMs is often a transfer to a third country. Using the Project A Proxy significantly reduces the transfer of real names in this process.
- The potential damage of a data breach is drastically reduced, because a compromised data set does not reveal any individuals without the associated mapping table. As data protection breaches often result in fines running into the millions, the Project A Proxy offers not only legal but also financial protection.
A further technical benefit is Project A's scalable cloud infrastructure with auto-scaling. The aim of this architecture is high availability even at peak loads, combined with low latency. Compared with using LLM APIs directly, a proxy layer naturally adds an extra processing step, but this trade-off is deliberately accepted in favour of data protection. One technical limit of the Project A Anonymiser is the accuracy of the pseudonymisation, for which a 100 per cent hit rate cannot be guaranteed. In our tests, however, the Project A Anonymiser achieves a hit rate of around 95 per cent and thus meets the requirements for appropriate technical measures under Art. 25(1) GDPR. Another component to consider is the mapping table, as it contains the sensitive information needed to rehydrate the text and is therefore a part of the architecture that needs protecting.
Our conclusion for you
Do you regularly use AI to process texts or documents containing personal data, and is manual pseudonymisation impractical or too time-consuming for you and your employees? This is exactly where our Project A Proxy can help: automated pseudonymisation enables GDPR-compliant use of LLMs, because our proxy passes your requests on to the LLM in pseudonymised form. This applies to direct prompts as well as to applications with connected MCP servers, in which the model accesses external systems such as your Jira ticketing system. All in all, you save the manual effort of anonymising by hand, with only slightly higher request latency.
Contact us today to find out more about the Project A Proxy. Together, we will make your use of AI more secure.
Project A
Working on a similar topic?
Tell us what you are working on. We'll put you in touch with Julia Wicht and the team working on this topic.



