Model Context Protocol (MCP) Create a local .env with your GitHub token and start the MCP server in mcp.json Preview features for the copilot license need to be enabled in the GitHub license settings. Check out the reference repository for other MCP server implementations