Skip to main content

MCP Toolsets

A Toolset is a named collection of specific tools drawn from one or more MCP servers. Instead of giving an agent access to every tool on every server, you pick exactly which tools it needs β€” from whichever servers they live on β€” and bundle them under a single name.

How it works​

                    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ MCP Toolset β”‚
β”‚ "devtooling-prod" β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
β”‚
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ β”‚
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ CircleCI MCP β”‚ β”‚ DeepWiki MCP β”‚
β”‚ (10+ tools) β”‚ β”‚ (3 tools) β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”˜
β”‚ β”‚
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ βœ“ get_build_logs β”‚ β”‚ βœ“ read_wiki_structureβ”‚
β”‚ βœ“ find_flaky_tests β”‚ β”‚ βœ“ read_wiki_contents β”‚
β”‚ βœ“ get_pipeline_ β”‚ β”‚ βœ— ask_question β”‚
β”‚ status β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
β”‚ βœ“ run_pipeline β”‚
β”‚ βœ— list_followed_ β”‚
β”‚ projects β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Agent sees exactly 6 tools, nothing more.

Instead of 13+ tools across two servers, the agent gets 6 β€” the ones it actually needs.

Why this matters:

  • Smaller tool lists β†’ fewer tokens, faster responses, less hallucination
  • Combine tools from GitHub + Linear + CircleCI into one named grant
  • Assign to keys and teams the same way you assign MCP servers today

Create a toolset​

1. Go to the MCP page​

Navigate to MCP in the left sidebar.

Navigate to MCP

2. Open the Toolsets tab​

Click the Toolsets tab on the MCP page.

Click Toolsets tab

3. Click "New Toolset"​

New Toolset button

4. Enter a name​

Type a name for the toolset. Pick something descriptive β€” this is what agents will reference.

Enter toolset name

Toolset name field

5. Add the first tool​

Select an MCP server from the dropdown, then choose the tool you want to include from that server.

Select MCP server

Choose server from dropdown

Select tool from server

6. Add tools from a second server​

Click Add Tool, pick a different MCP server, and select another tool. Repeat for as many tools as you need β€” they can come from any number of servers.

Add tool from second server

Select second server

Select tool from second server

7. Create the toolset​

Click Create Toolset to save.

Create Toolset


Use a toolset in the Playground​

Once created, your toolset appears alongside MCP servers in the MCP Servers dropdown in the Playground β€” it's selectable the same way.

1. Go to the Playground​

Navigate to Playground

Click Playground

2. Select your toolset from MCP Servers​

In the left panel under MCP Servers, open the dropdown and pick your toolset. The model will only see the tools you included in it.

Select MCP servers dropdown

Open MCP server picker

Select toolset

Toolset selected and active

The model now has access to exactly the tools in your toolset and nothing else.


Use a toolset via API​

Pass the toolset's route as the server_url in your tools list. LiteLLM resolves it server-side β€” no public URL needed.

import openai

client = openai.OpenAI(
api_key="your-litellm-key",
base_url="http://your-proxy/v1",
)

response = client.responses.create(
model="gpt-4o",
input="What CI/CD tools do you have?",
tools=[
{
"type": "mcp",
"server_label": "devtooling-prod",
"server_url": "litellm_proxy/mcp/devtooling-prod",
"require_approval": "never",
}
],
)
print(response.output_text)

Manage toolsets via API​

# List all toolsets
curl http://your-proxy/v1/mcp/toolset \
-H "Authorization: Bearer your-litellm-key"

# Create a toolset
curl -X POST http://your-proxy/v1/mcp/toolset \
-H "Authorization: Bearer your-litellm-key" \
-H "Content-Type: application/json" \
-d '{
"toolset_name": "devtooling-prod",
"description": "CircleCI + DeepWiki tools for the dev team",
"tools": [
{"server_id": "<circleci-server-id>", "tool_name": "get_build_failure_logs"},
{"server_id": "<circleci-server-id>", "tool_name": "run_pipeline"},
{"server_id": "<deepwiki-server-id>", "tool_name": "read_wiki_structure"}
]
}'

# Delete a toolset
curl -X DELETE http://your-proxy/v1/mcp/toolset/<toolset_id> \
-H "Authorization: Bearer your-litellm-key"