> ## Documentation Index
> Fetch the complete documentation index at: https://developers.ailunapro.com/llms.txt
> Use this file to discover all available pages before exploring further.

# MCP data handling

> Exactly which data the AiLunaPro MCP server returns, what it stores and what it logs.

## What each tool returns

| Tool | Returns | Personal data |
| - | - | - |
| `summary_draft_from_result` | Audit id, audit type, date, confidence, scores, maturity, findings, contradiction counts | None |
| `audit_unanswered_required_count` | Audit id, status, last update, two counts | None |
| `docs_search_product` | Up to 5 lines of AiLunaPro product help | None |

The tools never return your individual answers, the questions you were shown, your user ID, your organisation ID, internal hashes, scoring rules or version data. Full field lists are on each [tool page](https://developers.ailunapro.com/developers/reference/tools/index.md).

## What AiLunaPro stores for MCP

| Data | Purpose | Kept |
| - | - | - |
| SHA-256 fingerprint of each key | Recognise the key on each request | Until the organisation is deleted |
| Key id, creator, creation date, revoked flag | Show keys in Settings and revoke them | Until the organisation is deleted |
| Daily call count per key | Enforce the 500-calls-per-day limit | Replaced each day |

The key itself is never stored. MCP adds no copy of your audit data: tools read the same audit records you see in the app.

## What AiLunaPro logs

For each request, the server logs the method, the tool name and an outcome code such as `ok`, `not_found` or `rate_limited`. Failed key checks are logged as security events without the key.

Logs never contain keys, key fingerprints, user IDs, organisation IDs, audit IDs or tool content.

## Where the data goes next

Your AI client sends what it reads to its model provider (for example Anthropic, OpenAI or GitHub) to write its answer. That provider's terms and data controls apply from that point. Choose a client and plan that your organisation allows for compliance data.

## Turning access off

| You want to | Do this |
| - | - |
| Stop one client | Remove the server from that client and revoke its key |
| Stop all MCP access for your organisation | Revoke every key in **Settings → Organization → AI client access (MCP)** |
| Have MCP disabled for your organisation | Contact [AiLunaPro support](https://developers.ailunapro.com/developers/support.md) |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.