Filter loaded tools using Domains (local)
mainTo prevent overwhelming the AI model and to respect client tool limits, you can use Domains to load only specific groups of related tools. Use the -d argument in the args array of your mcp.json to specify the domains you want to enable.
Available Domains:
core(Recommended to always enable to fetch project-level info)workwork-itemssearchtest-plansrepositorieswikipipelinesadvanced-security
By default, all domains are loaded if no -d flag is provided.
{
"inputs": [
{
"id": "ado_org",
"type": "promptString",
"description": "Azure DevOps organization name (e.g. 'contoso')"
}
],
"servers": {
"ado_with_filtered_domains": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@azure-devops/mcp", "${input:ado_org}", "-d", "core", "work", "work-items"]
}
}
}