GitHub Copilot Setup

Connect Massive to GitHub Copilot with the remote MCP server

Massive's remote MCP server connects GitHub Copilot to live U.S. market data: dividends, trades, quotes, options chains, and the rest of our catalog. It queries our REST API under the hood, so Copilot can pull data and verify response shapes while you build against it.

This guide walks through registering the remote server in VS Code and authenticating over OAuth. There is nothing to install. Setup takes about two minutes and requires GitHub Copilot in VS Code plus a Massive account.

What You Can Do

Once connected, Copilot can:

  • Pull live market data inline in Copilot Chat, like the latest trade or quote for any ticker.
  • Inspect the real response shape of an endpoint before writing code against it.
  • Confirm a field name exists instead of guessing, avoiding hallucinated keys.
  • Discover which Massive endpoint returns the data shape you need.

Because the server makes the calls itself, Copilot can check real responses as it writes code, which keeps generated integrations accurate.

Setup

Two steps. Allow about two minutes start to finish.

1. Install GitHub Copilot

If you don't have it, install the GitHub Copilot extension in VS Code and confirm it is active in the status bar.

2. Add the Massive Remote MCP Server

Create .vscode/mcp.json in your project (or run MCP: Add Server from the Command Palette and choose an HTTP server):

Start the server from the MCP view. The first time its tools are used, VS Code prompts you to sign in to your Massive account. Click Allow and complete the browser sign-in. Authentication uses OAuth, so there is no API key to copy or store. A free Basic account is enough to start.

Note: Connecting to a remote MCP server with OAuth requires VS Code 1.101 or later.

Your MCP access mirrors your Massive entitlements. You can query any asset class your plan includes. If you have Stocks access, stocks data is available through MCP. Requesting data you are not entitled to (for example, Options without an Options plan) returns an access-denied error.

Test the Integration

Now that the connection is live, put it through its paces. A few prompts to start with:

  • "Show me the latest trade for AAPL." (Trades)
  • "Is the U.S. market open right now?" (Market Status)
  • "When is the next market holiday?" (Market Holidays)
  • "What dividends has AAPL paid this year?" (Dividends)
  • "Give me a snapshot of today's biggest gainers." (Snapshots)

When you're ready to go deeper, hand Copilot a full brief and let it chain several calls together:

Pull all dividends declared in the last 30 days, filter to U.S. equities with a market cap over $50 billion, rank them by yield, and summarize the top five with their pay dates.

Copilot will search for the right endpoints, make the live calls, and stitch the results into a single answer.

Troubleshooting

Massive doesn't appear in the Copilot Chat tools. Reload the VS Code window after editing .vscode/mcp.json, and confirm you started the server from the MCP view. Tool calls also require Agent mode.

Authentication didn't complete. Restart the server from the MCP view to re-trigger the browser sign-in, and make sure you clicked Allow.

Copilot answers without calling Massive. It's drawing on training data. Prompt it explicitly to "use the Massive MCP server" before the question.

Access-denied errors. You're querying an asset class your plan doesn't include. Check your entitlements in the Dashboard.

Did you find this page helpful?
Do you still need help with something?