Connect to Wiv Air MCP

Query Wiv Air spend and utilization from your AI assistant. Add the server URL to your client and sign in when prompted.

Setup your client

Connect AI clients to Wiv Air with MCP. Choose your client and follow its install card. Each client signs in with Wiv through OAuth and inherits your organization's Air access.

Cursor
Open Cursor with this server pre-filled and sign in with Wiv.
OAuth
  1. 1
    Click Add to Cursor above - Cursor opens with the server pre-filled and walks you through OAuth.
  2. 2
    Prefer to add it manually? Open Cursor → Settings → MCP → Add new MCP server with these values:
  3. 3
    Server URL:
Claude
Add Wiv Air as a custom connector inside claude.ai.
OAuth
  1. 1
    Click Open in Claude above - the Add custom connector dialog opens directly.
  2. 2
    Set the connector name:
  3. 3
    Paste this URL into the Remote MCP server URL field:
  4. 4
    Click Add - Claude opens the Wiv OAuth screen. Approve to connect.

On Claude Team or Enterprise plans an Owner must add the connector under Organization settings → Connectors first.

ChatGPT
Connect via ChatGPT's Developer mode connectors. Requires Pro/Business.
OAuth
  1. 1
    Click Open in ChatGPT - you land on Settings → Connectors → Advanced.
  2. 2
    Toggle Developer mode on and click Create app.
  3. 3
    Set the connector name:
  4. 4
    Paste this URL into MCP Server URL:
  5. 5
    Leave Authentication on OAuth and submit. ChatGPT will open the Wiv OAuth screen - approve to connect.
VS Code
Open VS Code's MCP installer with this server pre-filled.
OAuth
  1. 1
    Click Add to VS Code - VS Code prompts to install the MCP server with these values pre-filled. Approve and authorize.
  2. 2
    Manual setup uses the same name and URL:
  3. 3
    Server URL:
Claude Code
Add the server with a single CLI command.
OAuth
  1. 1
    Run this in any terminal - Claude Code stores the server in its global config and walks you through OAuth on first use.
Codex
Paste a prompt into Codex and it installs the server itself.
OAuth
  1. 1
    Paste the prompt below into any Codex chat - Codex registers the server in its own config and starts the login.
  2. 2
    Approve the Wiv OAuth screen when Codex opens it in your browser - that's it.
  3. 3
    Prefer the terminal? The same install is one command (codex mcp login wiv-air re-runs auth later if a grant is ever revoked):
Other clients
Drop this into any client that reads an mcpServers.json (Continue, Zed, Windsurf, Gemini CLI, JetBrains, Kiro, …).
OAuthAPI key
  1. 1
    Add the entry below to your client's MCP config file. The OAuth flow runs automatically on first request.

Legacy clients that only support SSE can use . Clients that cannot run OAuth may send an Air organization API key as x-api-key or Authorization: Bearer.

Before you connect

Prerequisites. You need an active Wiv organization account with Wiv Air enabled (apps.air). Your org admin can grant Air access if you do not have it yet.

What you are granting. When you sign in with OAuth, this MCP server receives an authorization from Wiv (via PropelAuth). The server exchanges that for a short-lived context and creates or uses an organization API key so tools can call the Air API on your behalf within your data scope. Default scopes (mcp:tools, mcp:resources) cover the curated monitoring tools only. Expanded air_call_endpoint GETs need mcp:catalog. Mutations and side-effect GETs via air_call_write_endpoint need mcp:write and AIR_MCP_ALLOW_MUTATIONS=1.

OAuth flow (summary).

  1. You add the MCP URL (shown above) in your AI client and start the connection.
  2. Your browser opens Wiv sign-in (PropelAuth).
  3. After success, the client receives credentials to call this server; the server forwards requests to air-api.wiv.ai (or the configured API base) with your API key.

API key alternative. Clients that cannot complete OAuth may send an Air organization API key as X-API-Key. Prefer OAuth when your client supports it.

Revoking access. Remove the connector in your AI client settings, or rotate/revoke API keys from your organization settings.

About this connector

Wiv Air is AI developer-tool spend visibility and governance. This remote MCP server exposes curated monitoring tools plus catalog meta-tools for the Air API through the Model Context Protocol.

It is separate from the main Wiv platform MCP at mcp.wiv.ai (workflows/cases). Docs: docs.wiv.ai/air/platform/mcp-server.

Transports. Streamable HTTP at /mcp (recommended) and SSE at /sse (deprecated). OAuth scopes: mcp:tools, mcp:resources, optional mcp:catalog (non-curated GET catalog calls), and optional mcp:write (with AIR_MCP_ALLOW_MUTATIONS=1 for mutations and export/query side-effect GETs).

Capabilities. 12 curated monitoring tools (overview, usage, Cost Explorer, per-user spend, cap utilization, identities, connector health) plus 4 meta-tools (air_list_endpoints, air_describe_endpoint, air_call_endpoint, air_call_write_endpoint) that discover and call the full Air API without one MCP tool per route. Money is in cents; cost_basis defaults to list.

Available tools

16 tools — 12 curated monitoring tools (READ) plus 4 meta-tools (air_list_endpoints, air_describe_endpoint, air_call_endpoint, air_call_write_endpoint). Mutations via air_call_write_endpoint are opt-in.

Overview & usage
READair_get_overviewOrg KPIs / spend / forecast
READair_get_usage_summaryUsage rollups by user/model/group
READair_get_utilizationCursor seat utilization
Cost Explorer
READair_get_cost_explorer_usageGrouped spend/tokens
READair_get_cost_explorer_optionsFilter typeahead values
Users & caps
READair_list_users_spendPaged users with limits & spend
READair_get_user_consumptionOne user's cycle spend
READair_get_user_model_usagePer-model breakdown
READair_get_user_daily_costDaily cost series
READair_get_cap_utilizationNear/over cap users
READair_list_identitiesPeople directory
Connectors
READair_get_connectors_healthSync freshness / health
Air API catalog
READair_list_endpointsDiscover catalogued Air API operations
READair_describe_endpointPath params and access tier for one operation
READair_call_endpointCall a catalogued GET
WRITEair_call_write_endpointMutations and side-effect GETs (opt-in)

Resources

air://guides/monitoring-reference — units, cost basis, freshness, scope, paging and error semantics.

Prompts

Quick-start prompts for monitoring tasks.

air_spend_overviewSummarize org AI spend and connector health
air_top_spendersFind top spenders for a billing period

Privacy & security

This page is served over HTTPS. For directory and compliance, link to this section as:

What we collect

  • Authentication data: OAuth authorization codes and tokens during sign-in; temporary mapping between tokens and Air API keys in server memory.
  • Account context: Organization identifiers and user identifiers as returned by PropelAuth / WIV when you sign in, to scope API keys and requests.
  • Tool usage: Requests your AI client sends to this MCP server (tool names and parameters) are forwarded to the Air API; they are not stored by this MCP service for analytics.

How we use it

  • To authenticate you and authorize calls to the Air API on your behalf.
  • To maintain your MCP session while connected (including short-lived caching of resolved credentials to reduce repeated token exchange).

Storage & retention

  • In-process caches (e.g. token-to-key mapping) are bounded and time-limited (on the order of one hour unless configured otherwise).
  • Authorization codes used in the OAuth code flow expire within minutes.
  • Long-lived API keys are issued and revoked through Wiv / PropelAuth; this server does not define separate retention beyond what your identity provider stores.

Third parties

  • PropelAuth — authentication, OAuth, and API key management for WIV.
  • Air API — source of truth for Air spend, utilization, and tenant monitoring data.
  • AWS — hosting (e.g. App Runner) for this MCP service.

Security measures

  • TLS (HTTPS) for client-to-server traffic.
  • OAuth 2.0 with PKCE for compatible clients; optional API key header for trusted configurations.
  • Token introspection for opaque tokens before issuing Air API keys.

Your choices

  • Disconnect the connector in your AI product settings at any time.
  • Use org and identity settings in Wiv / PropelAuth to manage users, roles, and API keys.

Contact

Questions about this connector or your data: support@wiv.ai · wiv.ai