Skip to content

Commit ed3ecdc

Browse files
jugaldbsatendrakumar
authored andcommitted
[Docs ]Litellm mcp access group doc (BerriAI#12883)
* add example for config * fix typo
1 parent 9f672a4 commit ed3ecdc

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

docs/my-website/docs/mcp.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,24 @@ MCP Access Groups allow you to group multiple MCP servers together for easier ma
313313

314314
#### 1. Create an Access Group
315315

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+
316334
To create an access group:
317335
- Go to MCP Servers in the LiteLLM UI
318336
- Click "Add a New MCP Server"
@@ -343,6 +361,7 @@ Include the access group name in the `x-mcp-servers` header:
343361
```
344362

345363
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
346365

347366
#### Advanced: Connecting Access Groups to API Keys
348367

0 commit comments

Comments
 (0)