All agents
EditorsGitHub Copilot

Agent mode in VS Code, pointed at your own numbers

Agent mode in VS Code, pointed at your own numbers. One MCP server, five read-only tools, and a key that opens exactly one site.

  • TransportStreamable HTTP
  • AccessRead only, always
  • ScopeOne site per key
Already installed in most teams, so nobody has to adopt anything new.
Why GitHub Copilot
How to connect

Three steps, and GitHub Copilot can read your site

A key is issued per site and cannot be talked into reading another one, so handing one to an agent hands it exactly what you meant.

  1. Issue a site key

    In Alexander: Settings, Integrations, MCP server. Keys look like alx_ and a fresh one is shown once, so paste it straight into the config below.

    alx_live_7f2c…

  2. In .vscode/mcp.json, add the server

    Paste this into .vscode/mcp.json in the workspace.

    .vscode/mcp.json in the workspace
    {
      "mcpServers": {
        "alexander": {
          "type": "http",
          "url": "https://mcp.alxndr.ai/mcp",
          "headers": {
            "Authorization": "Bearer alx_your_site_key"
          }
        }
      }
    }
  3. Ask it something you already know

    The fastest way to tell a working connection from a confident guess is to ask for a number you can check.

    ask GitHub Copilot
    Which of the pages in this PR carry traffic?
What you can ask

Questions, not queries

Type it the way you would say it. GitHub Copilot picks the tool, Alexander returns the rows, and the answer arrives with the numbers in it.

Which of the pages in this PR carry traffic?

get_pages· Pages

Two of the nine: /pricing at 2,777 views and /docs at 1,402. The other seven had under 40 between them.

What is the site doing right now?

get_overview· Headline numbers

37 visitors online, 612 today, €288 so far, and the most read page in the last hour is /pricing.

Is the referral traffic from the docs site converting?

get_sources· Sources

482 visitors, 0.6% converting, €74. It is the lowest revenue per visitor of the ten sources.

Example answers, shaped exactly as the tools return them, on a demo shop rather than a real customer's books.

The surface

Five tools. That is the whole of it.

Every client on this site reaches the same five, and not one of them can write. There is no sixth tool, no settings tool and no way to reach a site the key was not issued for.

Headline numbers

get_overview

Visitors, pageviews, revenue, conversions, bounce rate and who is on the site this second.

Sources

get_sources

Where visitors came from, ranked by revenue per visitor rather than by volume.

Pages

get_pages

The most viewed pages, each with the revenue of the sessions that saw it.

Funnel

get_funnel

Every step with the drop-off to the next, so the leak has a name.

Insights

get_insights

The written findings: what changed, the evidence, the suggested action, a confidence score.

Also works with

Point GitHub Copilot at your own numbers

Add the tracker, issue a key for the site, paste it where the config goes. The free plan covers 10,000 events a month and asks for no card.

10,000 events a month on the free plan, no card, and the tracker is one line.