A developer adds the following MCP configuration to an IDE so Copilot Chat can use the hosted GitHub MCP server in agent mode. The team also wants Copilot Spaces tools available, without losing the default GitHub MCP tools. Evaluate the following statements. 1. The configuration targets the hosted GitHub remote MCP endpoint. 2. The configuration keeps default tools while adding Spaces tools. 3. The configuration authenticates with a PAT inside the JSON.
{
"servers": {
"github": {
"type": "http",
"url": "https://api.githubcopilot.com/mcp/",
"headers": {
"X-MCP-Toolsets": "default,copilot_spaces"
}
}
}
}Choose an answer
Tap an option to check your answer.
Correct answer: 1=Yes 2=Yes 3=No.
Why this is the answer
Statement 1 is correct because the url field https://api.githubcopilot.com/mcp/ explicitly points to the hosted GitHub MCP server endpoint. Statement 2 is correct because X-MCP-Toolsets: "default,copilotspaces" specifies both the default tools and the copilotspaces tools, meaning the default tools are retained while Spaces tools are added. Statement 3 is incorrect because the provided JSON configuration does not contain any fields for a Personal Access Token (PAT) or any other authentication credentials. Authentication for GitHub Copilot in an IDE is typically handled through the IDE's built-in GitHub authentication or a separate login flow, not directly within the MCP server configuration JSON.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed