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

# Give different teams different tools from the same MCP URL
URL: https://metorial.com/docs/platform/guides/different-tools-for-different-teams

Create one access group per team and share each integration only with the groups that need it. Every team then gets its own tools behind one Magic MCP URL.

---

Every team uses the same Magic MCP URL, and each person's access groups decide which integrations are behind it. Create an access group per team with `metorial-admin portals groups create`, then share each integration with the groups that need it.

**What you'll learn**

* How to create access groups and share integrations with them
* How to give two teams the same app with different tools
* How to check what one person gets

**Before you start**

* A portal with the integrations you want to share
* For the CLI steps, [install `metorial-admin` and sign in](https://metorial.com/docs/build/sandboxes#install-the-tools)

## In the dashboard

### 1. Create a group per team

In Workforce, open your portal, then **Access**, **Access Groups**. Select **Create Access Group** and name it after the team, such as `Engineering` or `Support`. Leave **Assign to every account by default** off.

### 2. Add people

Open the group's **Members** tab and assign accounts. To fill the group from your identity provider, open its **SSO** tab, choose **Selected SSO groups**, and pick the directory groups.

### 3. Share an integration with the group

Open **Access**, **Shared Resources**, and select **Share a Resource**. Choose **Existing Integration**, pick the integration, and add the team's group in the field "Add access groups or people…".

### 4. Repeat for each team

Share each integration with every group that needs it. People in two groups get what both groups are granted.

## With the CLI

```bash
# Find the portal, then create one group per team
metorial-admin portals list
metorial-admin portals groups create <portal-id> --name Engineering
metorial-admin portals groups create <portal-id> --name Support

# Find the server to share, then grant it to a group
metorial-admin magic-mcp servers list --search github
metorial-admin portals access create <portal-id> \
  --consumer-group-id <group-id> \
  --body '{"access":{"type":"magic_mcp_server","magic_mcp_server_id":"<server-id>"}}'

# Review what a group can use
metorial-admin portals access list <portal-id> --consumer-group-id <group-id>
```

`portals groups list <portal-id>` prints the group IDs. The command shares a Magic MCP server, which is a shared connection. Integrations where each person connects their own account are shared from the dashboard. To take access away, run `metorial-admin portals access delete <portal-id> <access-id>`.

## Same app, different tools

Tool filters belong to the integration, so two teams get different tools through two integrations for the same provider.

### 1. Create a read-only integration

In the dashboard, open **Integrations**, **Integrations**, and select **Create Integration**. Open **Tool Filters**, group by **Access**, set **Read-Only Tools** to **Allow**, and set **Write Tools** and **Destructive Tools** to **Reject**.

### 2. Create the full integration

Create a second integration for the same provider and keep the tools the other team needs.

### 3. Share each with its group

Share the read-only integration with `Support` and the full one with `Engineering`.

## Check it worked

Sign in as a member of each team and run `metorial whoami`. It prints the signed-in account, the portal and the groups. `metorial catalog list` then shows the integrations available to that person.

In the dashboard, open the account under **Identity**, **Accounts**, and select **Access** to see its groups and everything it can use.

## Next steps

* [Map identity provider groups to tool access](https://metorial.com/docs/platform/guides/map-idp-groups-to-tool-access): fill access groups from Entra ID, Okta or Google groups
* [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions): how tools are sorted into read-only, write and destructive
* [Limit which tools an agent sees](https://metorial.com/docs/platform/guides/limit-tools-to-keep-context-small): trim the list per client