Skip to content

Cannot use get-library-docs in Github Copilot (VSCode) #202

Description

@daffaalex22

I prompted Github Copilot this way. # is the way they reference tools (MCP) on Copilot

#get-library-docs #resolve-library-id Can you tell me what Expo is?

While the Copilot returns an answer, I don't think that Context7 is used here as the get-library-docs returns:

Documentation not found or not finalized for this library. This might have happened because you used an invalid Context7-compatible library ID. To get a valid Context7-compatible library ID, use the 'resolve-library-id' with the package name you wish to retrieve documentation for.

This is my settings.json:

//...

  "mcp": {
    "servers": {
      "Context7": {
        "type": "stdio",
        "command": "npx",
        "args": ["-y", "@upstash/context7-mcp@latest"]
      }
    }
  },
//...

How can I solve this so I can use Context7 on VsCode using Github Copilot?

Image

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    mcpRelated to mcp server

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions