Logo vun Vantage MCP Server

Vantage MCP Server

Organisatioun
vantage-sh

MCP Server to fetch costs and usage data from your Vantage account.

Editeurvantage-sh
Repositoryvantage-mcp-server
SproochTypeScript
Forks
8
Stären
84
Disponibel Tools
0
Transporttypstdio
Kategorien
LizenzMIT
Linken
  • Tools mat KI-Workflows verbannen

    Vantage MCP Server stellt MCP-Funktioune bereit, déi vu kompatibele KI-Clienten a KI-Agente kënne benotzt ginn.

  • 0 disponibel Tools

    Kuckt Iech déi opruffbar Aktiounen hei drënner un, mat Nimm a Beschreiwungen, wa se vum Server geliwwert ginn.

  • Konfiguratioun fir ze kopéieren

    Benotzt d'Installatiounsbeispiller, fir dëse Server an Ärem bevorzugte MCP-Client ze konfiguréieren.

  • Indicateure fir Open Source

    84 Stären an 8 Forks aus dem verlinkte Repository.

Vantage MCP Server

About

The Vantage MCP Server exposes tools for listing, querying, and creating Vantage resources. Tools are defined in /src/tools; see the Vantage MCP documentation for the full tool list, prompting examples, and product details.

This repository supports two deployment modes:

ModeBest for
Hosted (Remote) MCP — Vantage-managed at https://mcp.vantage.sh/mcpMost users and teams. OAuth sign-in, no local server to run.
Self-Hosted (Local) MCP — stdio via npx -y vantage-mcp-server or this repoAPI-token auth, air-gapped environments, or contributing to this codebase.

Start with the hosted MCP unless you have a specific reason to self-host.

Setup Instructions

General

The hosted MCP server uses Streamable HTTP with OAuth 2.1. After connecting a client, a browser window prompts you to sign in to Vantage — the same account you use at console.vantage.sh.

Server URL: https://mcp.vantage.sh/mcp

Clients that support remote MCP natively can connect directly to that URL. For clients that only support stdio, use the mcp-remote bridge (see Visual Studio Code below).

API token auth: If your client or script cannot complete OAuth, pass a Vantage API token as a Bearer token instead:

http
Authorization: Bearer <your_vantage_api_token>

Claude Code

bash
claude mcp add --transport http vantage https://mcp.vantage.sh/mcp

Then run /mcp in a Claude Code session to complete the OAuth flow.

Codex

bash
codex mcp add vantage --url https://mcp.vantage.sh/mcp

Run codex mcp login vantage if Codex prompts you to authenticate.

Cursor

The recommended install is the official Vantage plugin — in the Cursor chat panel, run:

/add-plugin vantage

To configure manually (for example, to commit .cursor/mcp.json to a repo):

json
{
  "mcpServers": {
    "VantageMCP": {
      "url": "https://mcp.vantage.sh/mcp"
    }
  }
}

Open Cursor Settings → Tools & MCP → New MCP Server to edit mcp.json, or create .cursor/mcp.json in your project root.

Claude

Claude.ai (Team / Enterprise): Settings → Connectors → Add custom connector — enter https://mcp.vantage.sh/mcp.

Claude Desktop: Settings → Connectors — add a custom connector with the same URL.

Goose

  1. Extensions → Add custom extension
  2. Type: Streamable HTTP
  3. Endpoint: https://mcp.vantage.sh/mcp

Complete the OAuth flow when Goose connects.

Visual Studio Code

json
{
  "mcpServers": {
    "vantage": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://mcp.vantage.sh/mcp"]
    }
  }
}

Or use the command palette: MCP: Add Server → Command (stdio) and enter:

bash
npx -y mcp-remote https://mcp.vantage.sh/mcp

Windsurf

Under Cascade → MCP servers → Add custom server, add:

json
{
  "mcpServers": {
    "vantage": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://mcp.vantage.sh/mcp"]
    }
  }
}

Zed

In Zed settings, add:

json
{
  "context_servers": {
    "vantage": {
      "source": "custom",
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://mcp.vantage.sh/mcp"],
      "env": {}
    }
  }
}

Other clients

For any stdio-only MCP client, use:

  • Command: npx
  • Arguments: -y mcp-remote https://mcp.vantage.sh/mcp

See the MCP clients list and the Vantage MCP documentation for additional clients (including ChatGPT via the Vantage app).

Authorize

After configuring your client, you may need to restart it. A browser window opens for Vantage OAuth — sign in and click Allow Access. You can revoke access anytime under Vantage Settings → API Access Tokens → MCP Server Token.

Try a prompt like: "In Vantage, which workspaces do I have access to?"


Self-Hosted (Local) MCP

Use self-hosted mode when you need API-key auth without OAuth, or when developing against this repository.

npm package (recommended for self-host)

Install nothing — configure your MCP client to run the published package:

json
{
  "mcpServers": {
    "Vantage": {
      "command": "npx",
      "args": ["-y", "vantage-mcp-server"],
      "env": {
        "VANTAGE_TOKEN": "<your_vantage_api_token>"
      }
    }
  }
}

Create a token in the Vantage console. Requires Node.js 20+.

From this repository (contributors)

For working on the MCP server itself:

bash
git clone https://github.com/vantage-sh/vantage-mcp-server
cd vantage-mcp-server
npm install

Configure your client to run the local entrypoint (replace <path_to_repository> and <personal_vantage_api_token>):

json
{
  "mcpServers": {
    "Vantage": {
      "command": "npx",
      "args": ["tsx", "<path_to_repository>/src/local.ts"],
      "env": { "VANTAGE_TOKEN": "<personal_vantage_api_token>" }
    }
  }
}

Or use the repo's installed binary directly:

json
{
  "mcpServers": {
    "Vantage": {
      "command": "<path_to_repository>/node_modules/.bin/tsx",
      "args": ["<path_to_repository>/src/local.ts"],
      "env": { "VANTAGE_TOKEN": "<personal_vantage_api_token>" }
    }
  }
}

Test from the terminal: npm run local (requires VANTAGE_TOKEN in the environment).


Local Development

To develop the hosted worker locally:

bash
cp .dev.vars.example .dev.vars.development
# Edit .dev.vars.development — set VANTAGE_MCP_TOKEN to your API token
npm run dev

Wrangler serves the worker at http://localhost:8787 (default). Setting VANTAGE_MCP_TOKEN bypasses OAuth for local testing.


Running Evals

Each tool is tested with one direct prompt and one inferred prompt. Both runs load the target tool plus four distractors, then the same cases can be replayed across models. Outcomes are committed as JSON so we do not re-run the whole suite; GitHub Pages rebuilds the report from those files. The approach and full workflow are in evals.md.

New tools must ship with cases under evals/cases/<resource>/<tool>.eval.ts. Authoring conventions: .agents/skills/writing-evals/SKILL.md.

View outcomes locally

bash
npm run eval:site
open evals/site/index.html

No model API keys required. The published report is at https://vantage-sh.github.io/vantage-mcp-server/.

Run a new eval

Set ANTHROPIC_API_KEY and/or OPENAI_API_KEY in .env, then:

bash
npm run eval -- --tool <your-tool> --model gpt-5.6-sol-high

--model is required (npm run eval -- --list-models prints the catalog). That writes evals/results/<model>/<resource>/<tool>.json and leaves every other result file untouched. Commit the new JSON.

Overwrite an eval

Re-run the same --tool and --model. The JSON for that pair is replaced. Do this after changing a tool's description, schema, or prompts — you do not need to re-run every model unless you want those baselines refreshed too.


Available Scripts

  • npm run dev — Start the Wrangler development server
  • npm run local — Run the stdio MCP server locally
  • npm run inspect — Launch the MCP inspector
  • npm run test — Run Vitest
  • npm run format / npm run lint:fix — Biome format and lint
  • npm run type-check — TypeScript check
  • npm run cf-typegen — Generate Cloudflare Worker types
  • npm run generate-tools-index — Regenerate src/tools/index.ts after tool changes
  • npm run generate-resources-index — Regenerate src/resources/index.ts after resource changes
  • npm run eval — Run tool-selection evals (npm run eval -- --tool <name> --model gpt-5.6-sol-high)
  • npm run eval:site — Merge stored JSON and write evals/site/index.html
  • npm run eval:view — Open promptfoo's local results viewer

Contribution Guidelines

  1. Fork this repository and create a branch: git checkout -b feature/my-feature.
  2. Make your changes.
  3. Verify locally:
    bash
    npm run format
    npm run lint:fix
    npm run type-check
    npm test -- --run
  4. Submit a pull request.

See AGENTS.md for conventions when adding tools, evals, or resources.


License

See LICENSE.md for commercial and non-commercial licensing details.

Installatioun

TypingMind
Viraussetzungen:

Node.js 18+

{
  "mcpServers": {
    "vantage-sh-vantage-mcp-server": {
      "command": "",
      "args": []
    }
  }
}

Vantage MCP Server MCP mat verschiddene KI-Modeller benotzen

TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Soubal Vantage MCP Server verbonnen ass, kënnt Dir et mat verschiddene KI-Modeller an TypingMind benotzen, amplaz et fir all Modell separat anzeriichten. Dës MCP-Integratioun leeft lokal iwwer den TypingMind-MCP-Connector op Ärem Apparat.

Ariichtungsuleedung fir de lokale Connector ze benotzen

Benotzt dës Optioun, wann den MCP-Server Zougrëff op lokal Fichieren, Appen oder privat Ressourcen op Ärem Computer brauch.

1

D'MCP-Astellungen opmaachen

Gitt an TypingMind op „Astellungen“, „Erweidert Astellungen“, dann op „Model Context Protocol“ a wielt „Connector ariichten“.

  1. Maacht TypingMind an Ärem Browser op.
  2. Klickt op d'Astellungssymbol.
  3. Gitt op „Erweidert Astellungen“.
  4. Maacht d'Sektioun „Model Context Protocol“ op.
  5. Klickt op „Connector ariichten“ a wielt „Dësen Apparat“.
Ariichtungsbildschierm vum TypingMind-MCP-Connector mat „Dësen Apparat“ ausgewielt
2

De Connector-Befeel ausféieren

Wielt „Dësen Apparat“, kopéiert de Befeel aus TypingMind a féiert en am Terminal aus. Loosst de Prozess lafen, wärend Dir MCP benotzt.

  1. Kopéiert den Ariichtungsbefeel, deen TypingMind uweist.
  2. Maacht Terminal op macOS oder Windows Terminal op Windows op.
  3. Pescht de Befeel an a féiert en aus.
  4. Bestätegt d'Installatioun vum Package, wann den Terminal Iech freet, ob Dir weiderfuere wëllt.
  5. Loosst den Terminal an de Prozess doranner lafen, wärend Dir MCP-Tools benotzt.
3

Vantage MCP Server als Server derbäisetzen

Wann de Connector-Status „Prett“ ass, klickt op „Serveren änneren“ a pescht d'MCP-Serverkonfiguratioun an.

  1. Waart, bis de Connector-Status „Prett“ weist.
  2. Klickt op „Serveren änneren“.
  3. Pescht d'MCP-Serverkonfiguratioun vu Vantage MCP Server an.
  4. Späichert d'Serverlëscht.
  5. Aktualiséiert, wann Dir kontrolléiere wëllt, ob de Connector nach ëmmer prett ass.
MCP-Astellunge vun TypingMind mat aktivem Server an dem Knäppchen „Serveren änneren“
{
  "mcpServers": {
    "vantage-sh-vantage-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "vantage-mcp-server"
      ]
    }
  }
}
4

D'Verbindung mat verschiddene Modeller benotzen

Späichert d'Serverlëscht, maacht „Plugins“ op an aktivéiert d'MCP-Tools vu Vantage MCP Server. Wielt dann e belibegen ënnerstëtzte KI-Modell an TypingMind a benotzt d'Tools am Chat oder weist se engem KI-Agent zou.

  1. Maacht d'Säit „Plugins“ an TypingMind op.
  2. Aktivéiert d'MCP-Tools vu Vantage MCP Server.
  3. Start e Chat a wielt de KI-Modell, deen Dir benotze wëllt.
  4. Benotzt d'MCP-Tools am Chat oder weist se engem KI-Agent zou.
  5. Wiesselt bei Bedarf op en anere KI-Modell, ouni MCP nei ze verbannen.
TypingMind-Chat mat aktivéierte MCP-Tools an engem ausgewielte KI-Modell
Hëlleft Dir mir bei dëser Aufgab mat Vantage MCP Server?
Vantage MCP Server
Jo. Ech hunn et gelies.
Dat hunn ech mat Vantage MCP Server fonnt.

Heefeg gestallte Froen

Fir wat gëtt de MCP-Server Vantage MCP Server benotzt?

Vantage MCP Server ass e MCP-Server, deen et kompatibele KI-Clienten erlaabt, sech mat externen Tools a Kontext ze verbannen. An TypingMind kënnt Dir dëse MCP-Server eemol derbäisetzen a seng Tools an Ärem KI-Aarbechtsberäich zur Verfügung stellen.

Kann ech Vantage MCP Server MCP mat méi KI-Modeller an TypingMind benotzen?

Jo. TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Sou kënnt Dir Vantage MCP Server mat verschiddene KI-Modeller wéi Claude, ChatGPT, Gemini oder anere Modeller benotzen, déi Dir an TypingMind konfiguréiert hutt, ouni de MCP-Server fir all Modell separat anzeriichten.

Firwat Vantage MCP Server MCP mat TypingMind benotzen?

TypingMind ass eng vun de beschte Benotzeruewerfläche fir LLM-Chat, well et méi KI-Modeller, Prompts, Plugins, KI-Agenten, API-Schlësselen a MCP-Tools an engem Aarbechtsberäich zesummebréngt. Wann Vantage MCP Server verbonnen ass, kënnt Dir seng MCP-Tools mat Äre bevorzugte Modeller benotzen a gläichzäiteg Är Chataarbecht an TypingMind organiséieren.

Wéi verbannen ech Vantage MCP Server MCP mat TypingMind?

Vantage MCP Server leeft iwwer de lokale MCP-Connector vun TypingMind. Dat eegent sech am beschten, wann de MCP-Server Zougrëff op lokal Fichieren, Desktop-Apps, Kommandozeilen-Tools oder privat Ressourcen op Ärem Computer brauch.

Wéi eng Tools stellt Vantage MCP Server MCP an TypingMind zur Verfügung?

Vantage MCP Server stellt MCP-Funktiounen zur Verfügung, déi Dir op der Plugins-Säit vun TypingMind aktivéiere kënnt, fir se am Chat ze benotzen oder KI-Agenten zouzeweisen.

Muss ech meng API-Schlëssele mat TypingMind deelen, fir Vantage MCP Server MCP ze benotzen?

Nee. TypingMind setzt op lokal Veraarbechtung a léisst Iech d'Kontroll iwwer Är Modellubidder, API-Schlësselen, Prompts a MCP-Konfiguratioun. Wann Vantage MCP Server eng Authentifizéierung verlaangt, setzt déi néideg Headeren, OAuth-Astellungen oder lokal Konfiguratioun fir dee MCP-Server derbäi, wann Dir d'Verbindung erstallt.

Änlech MCP-Serveren

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇