# MentorMcpExposure enum

> Whether MentorAgent's MCP server publishes an action, by its rules, as MentorActionInfo.McpExposure says.

- URL: https://docs.mentoragent.net/api/novior-mentoragent-abstractions-models/mentormcpexposure
- Verified with: MentorAgent 1.2.0
- Last updated: 2026-10-27
- Packages: Novior.MentorAgent.Abstractions

## Definition

Namespace: `Novior.MentorAgent.Abstractions.Models`. Package: `Novior.MentorAgent.Abstractions`.

`public enum MentorMcpExposure`

```shell
dotnet add package Novior.MentorAgent.Abstractions
```

## Values

| Value | Number | Description |
|---|---|---|
| `Published` | 0 | In every caller's `tools/list`. |
| `PublishedToRoles` | 1 | In the `tools/list` of the callers `McpCallerPrincipal` identifies as holding one of its roles. |
| `Withheld` | 2 | Never published: it asks for confirmation, the `RequiresApproval` predicate keeps it back, or it requires roles and no `McpCallerPrincipal` is set. |
| `NotServed` | 3 | The MCP server does not serve it: the host does not map the server (`MapMentorAgentMcp`), the action belongs to a specialist or a team, or its class is not registered in the container. |

---

- Previous: [MentorLanguageExtensions class](https://docs.mentoragent.net/api/novior-mentoragent-abstractions-models/mentorlanguageextensions.md)
- Next: [MentorMetricsSnapshot record](https://docs.mentoragent.net/api/novior-mentoragent-abstractions-models/mentormetricssnapshot.md)
