Skip to main content
Glama
highnote-mcp

highnote-mcp

by Mohith26

highnote-mcp

An MCP server that lets an AI agent issue and govern Highnote virtual cards: one card per agent or workflow, a per-transaction limit and a merchant category rule on it, a look at what it spent, and closing it when the work is done.

I built it on Highnote's own Node SDK (@highnote-oss/nodejs-sdk), so every call goes through the SDK's typed GraphQL operations. It is not an official Highnote project.

Tools

Tool

What it does

issue_virtual_card

Issue an active virtual card on a financial account, with a capped lifetime and an idempotency key

set_transaction_limit

Create an amount-limit spend rule and attach it to the card

restrict_merchant_categories

Create an allow or block list (Highnote MerchantCategory names or 4-digit MCCs) and attach it

suspend_payment_card

Suspend a card (reversible)

close_payment_card

Close a card for good

get_payment_card

Status, last 4, network, expiration (never the card number)

get_financial_account

Ledger balances and the cards on the account

list_account_activity

Recent authorizations and clearings with merchant, amount and card

simulate_authorization

Test environment only: run a fake authorization to check the rules decline what they should

Related MCP server: ASG Card

Guardrails

An agent holding a card-issuing API key needs limits that don't depend on the model behaving, so the server enforces them itself:

  • Test by default. The live environment needs both HIGHNOTE_ENVIRONMENT=live and HIGHNOTE_ALLOW_LIVE=true, or the server refuses to start.

  • Confirmation in live. Every tool that changes something only describes the change until it is called again with confirm: true, so a client can show the user exactly what will happen first.

  • Hard caps. set_transaction_limit refuses limits above HIGHNOTE_MAX_TRANSACTION_LIMIT and issue_virtual_card refuses lifetimes above HIGHNOTE_MAX_CARD_LIFETIME_DAYS, before any request is sent.

  • Read-only mode. HIGHNOTE_READ_ONLY=true hides every write tool.

  • Spend rules are enforced by Highnote at authorization time, so the limits hold even if the agent later misuses the card.

Setup

npm install
npm run build

Claude Desktop / any MCP client:

{
  "mcpServers": {
    "highnote": {
      "command": "node",
      "args": ["/path/to/highnote-mcp/dist/index.js"],
      "env": { "HIGHNOTE_API_KEY": "<test API key>", "HIGHNOTE_MAX_TRANSACTION_LIMIT": "10000" }
    }
  }
}

Variable

Default

HIGHNOTE_API_KEY

required

API key from the Highnote dashboard

HIGHNOTE_ENVIRONMENT

test

test or live

HIGHNOTE_ALLOW_LIVE

unset

must be true to use live

HIGHNOTE_READ_ONLY

false

hide write tools

HIGHNOTE_MAX_TRANSACTION_LIMIT

50000

largest per-transaction limit, in minor units ($500.00)

HIGHNOTE_MAX_CARD_LIFETIME_DAYS

365

longest card lifetime

HIGHNOTE_CURRENCY

USD

currency for amounts

Tests

npm test        # 38 tests
npm run typecheck
  • tests/tools.test.ts drives the server through a real MCP client (in-memory transport) with a fake SDK: tool lists per mode, arguments sent to the SDK, caps, live confirmation, errors.

  • tests/contract.test.ts runs the real Highnote SDK over HTTP against a local GraphQL server built from Highnote's published schema (tests/fixtures/highnote-schema.graphql, a snapshot from the SDK repo; refresh with npm run schema:sync). Every request the tools make is validated and executed against that schema, so a wrong field, enum value or input shape fails the test. It caught one of mine: I had guessed AIRLINES as a merchant category, which Highnote doesn't have.

I don't have a Highnote account, so this has not been run against the real test environment yet. The contract tests check the requests against the schema, not Highnote's business rules (for example which card products allow virtual cards).

Available Tools

9 tools
close_payment_cardClose payment cardA
Destructive

Permanently close a card, e.g. when the agent's workflow is finished. Cannot be undone.

Inputs: paymentCardId (required), confirm.

get_financial_accountGet financial accountA
Read-only

Look up a financial account with its ledger balances and the payment cards issued on it.

Inputs: financialAccountId (required).

get_payment_cardGet payment cardB
Read-only

Look up a payment card: status, last 4, network, form factor and expiration. Never returns the card number.

Inputs: paymentCardId (required).

issue_virtual_cardIssue virtual cardA
Idempotent

Issue a new active virtual card on a financial account, e.g. one card per agent, workflow or vendor. Pair it with set_transaction_limit and restrict_merchant_categories before using it.

Inputs: financialAccountId (required), confirm, externalId, expiresInDays, +1 more.

list_account_activityList account activityA
Read-only

List recent activity on a financial account, newest first: authorizations and clearings with merchant, amount and card.

Inputs: financialAccountId (required), limit.

restrict_merchant_categoriesRestrict merchant categoriesA

Create a merchant category spend rule (allow list or block list, by Highnote MerchantCategory name or MCC) and attach it to a card.

Inputs: paymentCardId (required), name, allowed, blocked, +3 more.

set_transaction_limitSet per-transaction limitA

Create an amount-limit spend rule and attach it to a card, so any single authorization above the limit is declined. Limits above 500.00 USD are refused by this server.

Inputs: maximumAmount (required), paymentCardId (required), name, confirm.

simulate_authorizationSimulate authorization (test environment)A

Simulate a card authorization in the Highnote test environment, e.g. to check that a card's spend rules decline what they should.

Inputs: amount (required), paymentCardId (required), merchantName, merchantCategory.

suspend_payment_cardSuspend payment cardA

Temporarily suspend a card so new authorizations are declined. Reversible.

Inputs: paymentCardId (required), confirm.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 9 tools

    Disambiguation5/5

    Each tool targets a distinct resource+action pair: authorization simulation, card/account lookups, activity listing, issuance, two clearly-scoped spend-rule types, and two distinct card-state operations. The suspend vs close overlap is disambiguated by explicit 'reversible'/'cannot be undone' wording, and the amount-limit vs merchant-category rules are clearly separated.

    Naming Consistency5/5

    All nine tools follow a consistent snake_case verb_noun pattern (get_*, list_*, issue_*, set_*, restrict_*, suspend_*, close_*, simulate_*). Verb choices are meaningful and the singular/plural noun usage is coherent.

    Tool Count5/5

    Nine tools is well-scoped for a card-issuance and spend-control domain, and every tool earns its place by covering a distinct operation. No filler or trivially duplicative tools.

    Completeness3/5

    Core lifecycle (issue, look up, limit, simulate, suspend, close) is covered, but suspend is described as reversible with no resume/unsuspend tool, and spend rules can be created but not listed, updated, or removed. These dead ends will block agents that need to reverse or audit their changes.

    Related MCP Connectors

    Related MCP Servers

    • -
      license
      Not graded
      quality
      D
      maintenance
      Enables AI agents to manage and use prepaid virtual Visa cards with hard budget limits for secure online transactions. It provides tools for creating cards, checking balances, and retrieving payment credentials with human-in-the-loop approvals.
      1
      -
    • A
      license
      A
      quality
      B
      maintenance
      AI-native payment infrastructure that enables AI agents to make purchases, issue virtual cards, and manage spending within delegated budgets and policy controls.
      7
      1,698 npm
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables AI assistants to issue and manage virtual cards, check balances, pull transactions, file disputes, and start KYC via the CardOS API.
      26
      12 npm
      MIT