Give different teams different tools from the same MCP URL
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-adminand sign in
In the dashboard
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.
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.
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…".
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
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.
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.
Create the full integration
Create a second integration for the same provider and keep the tools the other team needs.
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: fill access groups from Entra ID, Okta or Google groups
- Tool permissions: how tools are sorted into read-only, write and destructive
- Limit which tools an agent sees: trim the list per client