Engineering Corpus

Engineering Corpus in VS Code and GitHub Copilot

GitHub Copilot in VS Code uses the MCP servers you add here. Add the server once, and Copilot picks its tools when a request needs them.

  1. Open the install link

    • From the vendor’s docs, not run here

    VS Code documents the handler vscode:mcp/install, which takes the server’s JSON, name included. The first link opens the server’s details in VS Code, where you review it before you install. The second does the same in VS Code Insiders.

  2. Or add it in the MCP Servers editor

    • From the vendor’s docs, not run here

    Select Copilot as the session target, run Chat: Open Customizations from the Command Palette and select MCP Servers. Select Add Server (+) in the User group, choose Command (stdio) instead of HTTP, and enter this command. VS Code then asks for a server ID, for which you can use engineering-corpus, and for a destination. Review the trust request before you accept it.

    Command
    uvx engineering-corpus serve
  3. Or write the config file

    • From the vendor’s docs, not run here

    VS Code’s current docs name two files for Copilot: ~/.copilot/mcp-config.json for every project, and .mcp.json at the workspace root. Both use a top level mcpServers key, and a command server takes type set to stdio. For new setups the docs say to avoid .vscode/mcp.json and the profile mcp.json, the older editor files, which use servers instead.

    ~/.copilot/mcp-config.json
    {  "mcpServers": {    "engineering-corpus": {      "type": "stdio",      "command": "uvx",      "args": ["engineering-corpus", "serve"]    }  }}
  4. Ask your agent to use the corpus

    Ask your agent to call corpus_status. It answers with the engine’s version and how many repos are indexed. Then ask it to use corpus_search for something your index holds. You need an index first: run the demo or index your stars.

In the docs

Sources