VS Code connects to the Trends API MCP server through .vscode/mcp.json, and the file shape differs from Cursor in one place that breaks copy-paste: the top-level key is servers, and a remote entry carries "type": "http". One entry registers https://api.trendsapi.ai/mcp with the same Bearer key as REST. Copilot chat in agent mode then lists get_time_series, get_growth, and get_top_trends. Server-level detail sits on MCP server setup.

The entry VS Code expects

{
  "servers": {
    "trends-api": {
      "type": "http",
      "url": "https://api.trendsapi.ai/mcp",
      "headers": {"Authorization": "Bearer YOUR_API_KEY"}
    }
  }
}

Start the server from the MCP file once and approve it. A missing type or an mcpServers key leaves the tool list empty with no error worth reading. Keeping the key in an inputs variable keeps the secret out of version control while the file itself travels with the repo.

Questions from the editor

A workspace question reads the same as anywhere else. "Did npm downloads for the package in this repo grow over 12 months" maps to get_growth with source npm and the package name as keyword. "What is on the Steam board" maps to get_top_trends with type Steam Most Played. Keyword calls take a source string; board calls take a type label. Both lists sit on the sources reference.

Shared repos and stored jobs

The committed file should carry the server entry and no secret. Teammates add a personal key at first start. Anything scheduled belongs on POST https://api.trendsapi.ai/api, where the reply is data a job can store. Only successful 200 responses count against quota; caps sit on pricing. The Cursor version of this file shape sits on Cursor Trends MCP.