Skip to content
VS Code

mcp server for VS Code

io.github.top5stocksapi/mcp-server

Daily AI-ranked stock, crypto, and macro research data from the Top 5 Stocks API.

client:VS Code transport:stdio runtime:npm

Install mcp server in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "top5stocks-api-key",
      "description": "TOP5STOCKS_API_KEY",
      "password": true
    }
  ],
  "servers": {
    "mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "top5stocks-mcp-server"
      ],
      "env": {
        "TOP5STOCKS_API_KEY": "${input:top5stocks-api-key}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

mcp server in other clients