GitHub Copilot CLI deactivate tool "web_fetch" #189107
Select Topic AreaQuestion Copilot Feature AreaGeneral BodyI wanted to disable the Note that I truncated the output a little bit. It still seems to use the Thanks in advance for any help. |
Replies: 3 comments 7 replies
This comment was marked as off-topic.
This comment was marked as off-topic.
|
Hey, I ran into this exact issue before — let me walk you through what's actually happening and how to properly fix it. What's going on The clue is right here in your output: The Step 1 — Figure out exactly which server is providing it Before touching any config, first confirm what you're dealing with. Run this inside the Copilot CLI after startup: This lists every available tool — built-in and MCP-provided — with their exact names. Find Then check your MCP config to see which servers are loaded: cat ~/.config/github-copilot/mcp.jsonor if you're using a project-level config: cat .github/copilot/mcp.jsonThis tells you the exact server name you need to target. Step 2 — Disable just that server Once you know which server is responsible, remove or disable only that entry from your config — no need to wipe everything. For example, if your config looks like this: {
"servers": {
"my-web-server": {
"command": "..."
},
"some-other-server": {
"command": "..."
}
}
}Just remove the Step 3 — Verify the fix Start Copilot again and run: If What if you still need the MCP server for other tools? If that server provides other tools you actually use, check its own documentation. Some MCP servers support disabling specific tools through their own config options — but this varies by implementation, so there's no universal field for it. The server's README should mention it if it's supported. This should fully resolve it. The key thing is |
Yes, there are several other sources that can
provide tools besides MCP servers:
Built-in Copilot tools
Copilot CLI ships with its own native tools
like web_fetch, web_search and file system
tools built directly into the binary.
VS Code Extensions
Extensions can register tools and agents
that become available inside Copilot Chat
via the @extension syntax.
GitHub Actions tools
Workflow steps can expose tools that
interact with Copilot in CI environments.
Language Server Protocol (LSP)
LSP servers can provide context-aware
tools for code navigation, diagnostics
and refactoring inside Copilot.
Custom slash commands
Defined in .github/copilot-instructions.md
or via VS Code settings,…