You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/my-website/docs/mcp.md
+19Lines changed: 19 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -313,6 +313,24 @@ MCP Access Groups allow you to group multiple MCP servers together for easier ma
313
313
314
314
#### 1. Create an Access Group
315
315
316
+
##### A. Creating Access Groups using Config:
317
+
318
+
```yaml title="Creating access groups for MCP using the config" showLineNumbers
319
+
mcp_servers:
320
+
"deepwiki_mcp":
321
+
url: https://mcp.deepwiki.com/mcp
322
+
transport: "http"
323
+
auth_type: "none"
324
+
spec_version: "2025-03-26"
325
+
access_groups: ["dev_group"]
326
+
```
327
+
328
+
While adding `mcp_servers` using the config:
329
+
- Pass in a list of strings inside `access_groups`
330
+
- These groups can then be used for segregating access using keys, teams and MCP clients using headers
331
+
332
+
##### B. Creating Access Groups using UI
333
+
316
334
To create an access group:
317
335
- Go to MCP Servers in the LiteLLM UI
318
336
- Click "Add a New MCP Server"
@@ -343,6 +361,7 @@ Include the access group name in the `x-mcp-servers` header:
343
361
```
344
362
345
363
This gives you access to all servers in the "dev_group" access group.
364
+
- Which means that if deepwiki server (and any other servers) which have the access group `dev_group` assigned to them will be available for tool calling
346
365
347
366
#### Advanced: Connecting Access Groups to API Keys
0 commit comments