Skip to content
Terminal

VS Code

Published . Updated .

VS Code can read your alerts and propose changes through Terminal's MCP server. MCP (Model Context Protocol) lets an AI assistant call tools on a server you choose. Read MCP for the tools and what they cost.

The address is https://terminal.tokensmarketcap.com/mcp. Use this address. Sign-in works only on this host.

Add the server

VS Code with GitHub Copilot reads MCP servers from ~/.copilot/mcp-config.json in your home directory, for every workspace, or from .mcp.json at the root of a workspace. You can also run MCP: Add Server from the Command Palette and choose Global, then Copilot Global. Add terminal under mcpServers:

{
  "mcpServers": {
    "terminal": {
      "type": "http",
      "url": "https://terminal.tokensmarketcap.com/mcp",
      "tools": ["*"]
    }
  }
}

GitHub Copilot Chat in VS Code then lists Terminal's tools and picks them when your question needs one.

An older setup reads .vscode/mcp.json, with servers in place of mcpServers. VS Code calls that setup the Local harness and says it will be removed in February 2027, so use the files above for a new setup.

Sign in

If VS Code asks you to sign in, or offers Authenticate for the server, your browser opens Terminal. Sign in to Terminal first if it asks.

Terminal's page asks whether to allow the app to use your Terminal account, and lists what it may do. "Read alerts, rules and receipts" is always on. "Create and change alerts" lets VS Code propose changes for you to confirm. "Subscribe to services on the exchange" shows only if the exchange is open to your account. It starts unticked, because it spends credits. Untick anything you do not want, then press Allow.

Terminal's server follows the sign-in rules of the MCP specification. We have tested sign-in from Claude Code. We have not tested it from VS Code yet. If sign-in does not finish, use an API key.

With an API key

Create a key at API keys. Tick "Create and change alerts" when you create it if VS Code should propose changes. Every plan includes a key. Then send the key on the Authorization: Bearer header:

{
  "mcpServers": {
    "terminal": {
      "type": "http",
      "url": "https://terminal.tokensmarketcap.com/mcp",
      "headers": {
        "Authorization": "Bearer ${TERMINAL_API_KEY}"
      },
      "tools": ["*"]
    }
  }
}

VS Code fills ${TERMINAL_API_KEY} from the environment variable of that name, so the key itself stays out of the file. Set the variable before you start VS Code. Do not put the key in the address. Each tool call counts as one API call for the key. Read Authentication for scopes and caps.

What the tools do

Terminal does not place trades, and neither do these tools.

What to ask

Stop access

Open the API keys page in Settings. Under Connected apps, revoke VS Code. If you connected with a key, revoke the key on the same page. Then remove the terminal entry from the file you added it to.

Where these steps come from

The file names, the mcpServers entry, "type": "http", the headers and tools fields, the ${NAME} form and the end of the Local harness are from the VS Code documentation, MCP configuration reference, read on November 12, 2026. VS Code can change these. If a step here does not match what you see, follow the VS Code page.

Create a free account

All developer pages

Terminal reports market events for conditions you set. It does not tell you to buy, sell, or hold, and it does not place trades.