> ## 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 security overview

> What an AI client connected to AiLunaPro can and cannot do, and how AiLunaPro enforces it.

Connecting an AI client to AiLunaPro gives it **read-only** access to a small, fixed set of data. It cannot act on your behalf in AiLunaPro.

## The guarantees

> [card] Read-only
>
> All three tools read data. None can create, change or delete anything in AiLunaPro.

> [card] Deny by default
>
> Only the three published tools run. Every other request is refused, even if a client asks for it by name.

> [card] Your audits only
>
> A key reads the audits of the owner who created it, in one organisation. Never other members, never other organisations.

> [card] Scores stay deterministic
>
> Scores, maturity levels and findings come only from AiLunaPro's scoring engine. Nothing a model sends can change them.

## What leaves AiLunaPro

| Shared with your AI client | Never shared |
| - | - |
| Audit score, maturity level, dimension scores | Your individual answers |
| Findings: observation, recommendation, owner role, effort | Which questions you were shown (branching) |
| Number of contradictory answers | Your user ID or organisation ID |
| Audit status and number of unanswered required questions | Internal hashes, scoring rules, version data |
| Lines of AiLunaPro product help | Billing, payment, team or settings data |

Details: [Data handling](https://developers.ailunapro.com/developers/security/data-handling.md).

## How it is enforced

* **One policy for every request.** Each tool call is checked against AiLunaPro's tool policy before it runs. The policy classes every possible action; only the three read-only tools are approved.
* **Organisation from the key, never from the request.** The organisation and user are taken from the verified key. A tool argument such as `orgId` is rejected.
* **Same answer for "not yours" and "does not exist".** A client cannot probe for other people's audits.
* **Field allowlist.** Tool responses are built from a fixed list of fields; anything not on the list never leaves.
* **Keys stored as fingerprints.** AiLunaPro keeps only a SHA-256 fingerprint of each key. A database leak would not reveal usable keys.
* **Per-key daily limit.** 500 tool calls per key per day limits damage from a leaked key.
* **Revocation is immediate.** A revoked key fails on its next request.
* **Logs without content.** Server logs record which tool ran and whether it succeeded, never keys, identifiers or tool content.

## What stays your responsibility

Your AI client decides what to do with the data it reads. When you connect AiLunaPro:

* Use a client and model provider your organisation has approved for this kind of data.
* Treat summaries written by the AI as drafts. AiLunaPro results are informational and are not legal advice or certification.
* Protect your key like a password, and revoke it when you stop using a device.

> [card] [Manage keys](https://developers.ailunapro.com/developers/security/manage-keys.md)
>
> Create, store, rotate and revoke MCP keys.


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