MCP in VS Code
Create.vscode/mcp.json in the workspace; VS Code requires a servers key
and a type:
MCP in the Copilot coding agent
Configure the autonomous coding agent at repo Settings → Copilot → Coding agent → MCP configuration, using a different schema:mcpServers,
type: "local", and a tools array:
COPILOT_MCP_, referenced as
$VAR in the env block; the tool surface is identical on both. See
MCP Server.
Custom instructions
Copilot reads.github/copilot-instructions.md (repo-wide) and, for the
coding agent, AGENTS.md; add a section pointing at Smithers:
.github/prompts/smithers.prompt.md.
See also
- MCP Server: the full tool reference
- Agent Support: the cross-agent commands