1. A developer is configuring a GitHub Copilot agent to use an MCP server that provides access to an internal ticketing system. After adding the server definition, the agent does not appear to recognize any of the tools exposed by the MCP server. Which configuration step is MOST likely missing?
- A. The MCP server URL must be added to the repository's CODEOWNERS file so the agent can discover it.
- B. The MCP server must be listed in the agent's allowed tool set (MCP allow list) so the agent is permitted to invoke its tools.✓ Correct
- C. The developer must create a GitHub Actions workflow that manually imports the MCP tool definitions on each run.
- D. The MCP server's tools must be individually declared as repository secrets before the agent can access them.
Explanation
When an MCP server is added as a tool source, its tools are not automatically available to the agent—they must also be explicitly permitted via the MCP allow list. This allow list governs which MCP-exposed tools the agent may call at runtime. Option A is incorrect because CODEOWNERS controls code review assignments, not tool discovery. Option C is incorrect because MCP tool definitions are not imported via workflow steps; the allow list is the correct mechanism. Option D is incorrect because MCP tools are not configured through repository secrets; secrets store credentials, not tool permissions.