-
Notifications
You must be signed in to change notification settings - Fork 35.5k
Description
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.106.0-insider
- OS Version: macOS 15.6.1 (24G90)
Steps to Reproduce:
We have configured GitHub Copilot with a "Copilot Only Account" and enabled the Model Context Protocol Allow List policy. Our MCP registry endpoint is hosted as an AWS Lambda function.
Our registry implements v0/servers path defined by the MCP Registry Rest API spec.
The MCP Registry JSON object we return is:
{
"servers": [
{
"server": {
"created_at": "2025-10-03T15:33:21Z",
"description": "MCP server providing GitLab integration for repos, issues, PRs, and CI/CD pipeline management",
"id": "devai/gitlab",
"name": "devai/gitlab",
"remotes": [
{
"transport_type": "streamable-http",
"url": "mcp_server_url"
}
],
"repository": {
"id": "some_id",
"readme": "# DevAI GitLab MCP Server\n\nMCP server providing GitLab integration for repos, issues, PRs, and CI/CD pipeline management.\n\nThis server enables AI assistants to interact with GitLab repositories through the Model Context Protocol (MCP).\n\n## Features\n\n- Repository management\n- Issue tracking\n- Pull request operations\n- CI/CD pipeline management\n- GitLab API integration\n\n## Configuration\n\nRequires a GitLab personal access token with 'api' or 'read_api' scope.\n\n## Usage\n\nConnect through the MCP protocol using the provided endpoint and authentication token.\n",
"source": "gitlab",
"url": "gitlab_repo_url"
},
"updated_at": "2025-10-03T15:33:21Z",
"version_detail": {
"is_latest": true,
"release_date": "2025-10-03T15:33:21Z",
"version": "1.0.0"
}
}
}
],
"metadata": {
"next_cursor": "devai/gitlab",
"count": 1,
"total_pages": 1
}
}
In VS Code Insiders, we have MCP registry only configured. This MCP Registry is detected, however we are seeing the following error:
[error] [Window] Cannot read properties of undefined (reading 'io.modelcontextprotocol.registry/official'): TypeError: Cannot read properties of undefined (reading 'io.modelcontextprotocol.registry/official')
We are looking for guidance to resolve this error and successfully configure the MCP Registry Allowlist for GitHub Copilot VS Code users.
Can the VS Code team please address the following questions:
What is the expected MCP Registry schema we need to use? Where can we find the latest updates?
How do we best triage TypeErrors seen in VS Code Output Window? We have seen multiple for missed fields in the JSON response?
Is this object required for the current spec? If so, where do we get the id or other fields?
"x-io.modelcontextprotocol.registry": {
"id": "976a2f68-e16c-4e2b-9709-7133487f8c14",
"is_latest": true,
"published_at": "2025-09-09T10:55:22.907101Z",
"release_date": "2025-09-09T10:55:22.907101Z",
"updated_at": "2025-09-09T10:55:22.907101Z"
}