> Documentation index: https://metorial.com/llms.txt. Every page is available as Markdown by adding .md to its URL.

# Metorial how-to answers for admins and security teams
URL: https://metorial.com/docs/platform/guides

Every Metorial how-to guide as a question with a one-sentence answer: decisions, rollout, identity, access control, unattended agents, logs and security.

---

Every how-to guide for running Metorial in a company, as a question with a one-sentence answer and a link to the page with the steps. Metorial is an MCP gateway: one Magic MCP URL behind company SSO gives each employee and agent the integrations, tools and skills they are approved for, with per-user OAuth and a record of every tool call.

## Decisions

| Question                                                                                                                                     | Short answer                                                                                                                                      |
| -------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Should every employee get one MCP gateway URL, or one URL per server?](https://metorial.com/docs/platform/guides/one-url-or-one-per-server) | Give everyone the portal's Magic MCP URL and let sign-in decide the tools. Use a per-server URL only for a client or job that needs one app.      |
| [Native connectors in Claude and ChatGPT, or an MCP gateway?](https://metorial.com/docs/platform/guides/native-connectors-or-mcp-gateway)    | Native connectors are enough for one client and its directory. A gateway adds one policy and one log across clients, and the two can be combined. |
| [When do you not need an MCP gateway?](https://metorial.com/docs/platform/guides/when-you-dont-need-an-mcp-gateway)                          | A small team with one client, one or two OAuth-based servers and no audit requirement can add the servers directly.                               |
| [Shared credentials or per-user OAuth?](https://metorial.com/docs/platform/guides/shared-credentials-or-per-user-oauth)                      | Use per-user OAuth for any app with personal accounts, and a shared connection only for common, limited data.                                     |
| [Metorial's OAuth app or your own?](https://metorial.com/docs/platform/guides/metorial-oauth-app-or-your-own)                                | Start with the managed OAuth app, and register your own when you need your name on the consent screen, your own scopes, or a tenant-only app.     |
| [How does per-user OAuth work?](https://metorial.com/docs/platform/guides/per-user-oauth)                                                    | Each person connects their own account once in the portal, and every tool call their agent makes runs with that person's permissions.             |

## Rollout

| Question                                                                                                                                          | Short answer                                                                                                                                        |
| ------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
| [How do I roll out MCP servers to a whole company?](https://metorial.com/docs/platform/guides/roll-out-mcp-to-your-company)                       | Create a portal, a pilot access group and two shared integrations, connect one client per person, then add SSO and the other teams.                 |
| [How do I give different teams different tools from the same URL?](https://metorial.com/docs/platform/guides/different-tools-for-different-teams) | Create an access group per team with `metorial-admin portals groups create` and share each integration only with the groups that need it.           |
| [How do I approve a new MCP server an employee asks for?](https://metorial.com/docs/platform/guides/approve-a-new-mcp-server-request)             | Review requests under **Access Requests** in the portal. For a server that is new to Metorial, link it, filter its tools and share it with a group. |
| [How do I control shadow MCP servers?](https://metorial.com/docs/platform/guides/control-shadow-mcp)                                              | Give people one approved URL, lock each AI client to it with the client's admin settings, and block other MCP endpoints on your network.            |
| [How do I control who sees and edits skills?](https://metorial.com/docs/platform/guides/skills-access-and-review)                                 | Groups decide who sees a skill, marketplace managers decide who can change it, and merge requests carry proposed changes.                           |
| [Can I self-host Metorial?](https://metorial.com/docs/platform/guides/faq#can-we-self-host-metorial)                                              | Yes, the platform repository includes a Docker Compose setup started with `./self-hosting/run.sh`.                                                  |

## Identity

| Question                                                                                                                         | Short answer                                                                                                                                             |
| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [How do I set up SSO and SCIM?](https://metorial.com/docs/platform/guides/sso-and-scim)                                          | Add a SAML connection under **Enterprise Admin**, **Security**, **Authentication**, then add a SCIM directory to it.                                     |
| [How do I set up SSO with Microsoft Entra ID?](https://metorial.com/docs/platform/guides/sso-entra-id)                           | Create an enterprise application with SAML, enter Metorial's Entity ID and Reply URL, add a group claim, and upload the Federation Metadata XML.         |
| [How do I set up SSO with Okta?](https://metorial.com/docs/platform/guides/sso-okta)                                             | Create a SAML 2.0 app with Metorial's Reply URL and Entity ID, map attributes and groups, paste the Metadata URL, then enable SCIM and push groups.      |
| [How do I set up SSO with Google Workspace?](https://metorial.com/docs/platform/guides/sso-google-workspace)                     | Add a custom SAML app in the Google Admin console with Metorial's ACS URL and Entity ID, map group membership to `groups`, and upload the metadata.      |
| [How do I map identity provider groups to tool access?](https://metorial.com/docs/platform/guides/map-idp-groups-to-tool-access) | Provision groups with SCIM, select them on an access group's **SSO** tab, and share integrations with that access group.                                 |
| [What happens to MCP access when someone leaves?](https://metorial.com/docs/platform/guides/offboard-a-user)                     | With SCIM, deactivating the person in your identity provider deprovisions them in Metorial and revokes their access. Without SCIM, delete their profile. |

## Access control

| Question                                                                                                                 | Short answer                                                                                                                                                                                     |
| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [How do I give a group read-only access to an integration?](https://metorial.com/docs/platform/guides/tool-permissions)  | In the integration's **Tool Filters**, allow **Read-Only Tools**, reject **Write Tools** and **Destructive Tools**, and share that integration with the group's access group.                    |
| [How do I block destructive tools for everyone?](https://metorial.com/docs/platform/guides/block-destructive-tools)      | Set **Destructive Tools** to **Reject** in the Tool Filters of every shared integration. There is no single organization-wide switch.                                                            |
| [How do I limit which tools an agent sees?](https://metorial.com/docs/platform/guides/limit-tools-to-keep-context-small) | Filter tools on the integration, select fewer integrations and tools per client on the consent screen, and set `tool_filters` on API sessions.                                                   |
| Can Metorial require approval before a risky tool runs?                                                                  | No. Metorial allows or rejects tools, and approval prompts are a feature of the AI client. See [Block destructive MCP tools](https://metorial.com/docs/platform/guides/block-destructive-tools). |

## Agents without a person

| Question                                                                                                                                                     | Short answer                                                                                                                              |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------- |
| [How do I give a scheduled job, CI pipeline or background agent MCP access?](https://metorial.com/docs/platform/guides/mcp-access-for-ci-and-scheduled-jobs) | Create a Magic MCP token for one server with `metorial-admin magic-mcp tokens create` and send it as a bearer token to that server's URL. |
| [Whose identity does an agent act under?](https://metorial.com/docs/platform/guides/whose-identity-does-an-agent-act-under)                                  | A signed-in client acts as the person, a token a person created acts as that person, and a service account acts as its own profile.       |

## Logging and security

| Question                                                                                                                                       | Short answer                                                                                                                                                                                                   |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [What is recorded for each tool call, and how long is it kept?](https://metorial.com/docs/platform/guides/audit-logs)                          | The tool, arguments, result, status, person or agent, and session, kept for the project's log retention period and limited by its data retention level. `metorial-admin sessions tool-calls list` prints them. |
| [How do I send logs to Datadog, Splunk or another SIEM?](https://metorial.com/docs/platform/guides/send-mcp-logs-to-datadog-or-splunk)         | Add a Log Stream under **Audit Logs** for Datadog or Splunk Cloud, or log from an Outpost for other SIEMs and full payloads.                                                                                   |
| [How do I see what one person's agent did?](https://metorial.com/docs/platform/guides/see-what-one-persons-agent-did)                          | Open the person under **Identity**, **Accounts** in Workforce and select **Operations**, or run `metorial-admin sessions tool-calls list --consumer-id <consumer-id>`.                                         |
| [How does Metorial handle prompt injection and sensitive data?](https://metorial.com/docs/platform/guides/prompt-injection-and-sensitive-data) | ProtoGuard scans tool calls and outputs and raises alerts. It does not block calls. Masking and blocking run in an Outpost you operate.                                                                        |
| [How do I keep sensitive data inside my network?](https://metorial.com/docs/platform/guides/keep-data-in-your-network)                         | Run an Outpost to redact, block and log MCP traffic in your network, and choose a data retention level.                                                                                                        |
| [How does this map to SOC 2?](https://metorial.com/docs/platform/guides/soc-2-with-mcp)                                                        | SSO and SCIM cover access, groups and tool filters cover least privilege, and logs cover monitoring.                                                                                                           |

## Not supported today

| Question                                                         | Short answer                                                                                                                                                               |
| ---------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Can Metorial run a local stdio MCP server under the same policy? | No. Metorial serves MCP over HTTP. Link the server's hosted version or deploy its code as a [custom provider](https://metorial.com/docs/build/custom-providers).           |
| Can Metorial scan laptops for unapproved MCP servers?            | No. Use device management tooling and each client's admin settings. See [How to control shadow MCP servers](https://metorial.com/docs/platform/guides/control-shadow-mcp). |

## Next steps

* [FAQ](https://metorial.com/docs/platform/guides/faq): short answers to the most common questions
* [Supported clients](https://metorial.com/docs/platform/clients): setup guides for each AI client
* [Get started](https://metorial.com/docs/platform/get-started): how Metorial works and what you can build