Back to Browse

Voyagier Cli MCP Server

Developer ToolsLow Risk10.0MCP RegistryLocal
Free

Server data from the Official MCP Registry

Book real travel from your agent — flights, hotels & activities behind a price-gated checkout.

About

Book real travel from your agent — flights, hotels & activities behind a price-gated checkout.

Security Report

10.0
Low Risk10.0Low Risk

Valid MCP server (1 strong, 1 medium validity signals). No known CVEs in dependencies. Package registry verified. Imported from the Official MCP Registry.

5 files analyzed · 1 issue found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

Shell Command Execution

Runs commands on your machine. Be cautious — only use if you trust this plugin.

What You'll Need

Set these up before or after installing:

Voyagier Personal Access Token (travel.voyagier.com → Settings → Personal Access Tokens). Access is by invitation — request at https://www.voyagier.com/agents.Required

Environment variable: VOYAGIER_TOKEN

Voyagier API base URL. Defaults to production; override only for non-production environments.Optional

Environment variable: VOYAGIER_API_URL

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "com-voyagier-cli": {
      "env": {
        "VOYAGIER_TOKEN": "your-voyagier-token-here",
        "VOYAGIER_API_URL": "your-voyagier-api-url-here"
      },
      "args": [
        "-y",
        "@voyagier/cli"
      ],
      "command": "npx"
    }
  }
}

Documentation

View on GitHub

From the project's GitHub README.

@voyagier/cli

CI npm version node MCP license

Search flights, book activities, manage trip plans — from your terminal. Everything syncs to voyagier.com.

npm install -g voyagier        # or the canonical package: @voyagier/cli
voyagier auth set-token <your-token>
voyagier doctor   # confirm auth + schema reachability

voyagier is a convenience alias that tracks the latest compatible @voyagier/cli release (currently ^3). Pinning an exact version? Use the canonical package: npm install -g @voyagier/cli@<version>.

No install permissions (sandboxed agent, CI)? Every command works zero-install via npx:

VOYAGIER_TOKEN=<your-token> npx @voyagier/cli doctor --json

Quick Start

A trip plan is a goal graph: the plan ships with goals (flights, hotel, dates, destination, travellers) and you compose the trip by searching against those goals and selecting options. Searches are asynchronous — a search creates a selection, and options arrive shortly after, so you poll for them.

# 1) Resolve a client (idempotent by email)
voyagier clients upsert --email "smith@example.com" --name "Smith Family" \
  --type Individual --json

# 2) Scaffold a plan (creates the plan + the goal graph its template names;
#    optionally adds the party if you pass --travellers)
voyagier plan-trip --client "Smith Family" --title "Smith — Tokyo" --json
# --template picks the shape: RoundTripFlightAndHotel (default) | RoundTripFlight
#   | OneWayFlight | OneWayFlightAndHotel | HotelOnly | Blank
# Returns a scaffold summary: { ok, tripPlanId, title, travellerIds, scaffolded,
# template, goals, note, url, nextSteps } — nextSteps are the compose commands.

# 3) Add a traveller
voyagier travellers add --plan <PLAN_ID> --first John --last Smith \
  --type Adult --json

# 4) Search flights → poll for options → select
voyagier search flights --plan <PLAN_ID> --from JFK --to NRT \
  --date 2026-09-15 --return 2026-09-22 --json
# Returns a selectionId. Options are fetched asynchronously:
voyagier selection-options <SELECTION_ID> --wait --json
voyagier select --selection-id <SELECTION_ID> --option-id <OPTION_ID> --wait --json

# 5) Search a hotel → poll → select
voyagier search hotels --plan <PLAN_ID> --location Tokyo \
  --checkin 2026-09-15 --checkout 2026-09-22 --json
voyagier selection-options <SELECTION_ID> --wait --json
voyagier select --selection-id <SELECTION_ID> --option-id <OPTION_ID> --json

# 6) Inspect readiness at any time — one call: what's blocked, what's next
voyagier plan-status <PLAN_ID> --json

# 7) Pre-flight (dry-run: blockers + chargeable subtotal), then checkout (price gate required)
voyagier book <PLAN_ID> --dry-run --json                   # preview: blockers + chargeable subtotal; no gate needed
voyagier book <PLAN_ID> --expect-total <subtotal> --json   # checkout only at that exact price
voyagier book <PLAN_ID> --validate --expect-total <subtotal> --json  # strict: also abort if ANY item is non-bookable

What's Bookable

SelectionBookable?Source
Activity✅ per slotActivity supplier
Hotel✅ via room-rate itemAccommodation supplier / advisor inventory (pick hotel → pick room; baseline rate auto-carted; rate-less listings stay display-only)
Flight✅ via Fare & Cabin itemAir supplier / GDS (fare-level item carted once all legs are picked; defaults to Economy)

The cart materializes only bookable, fare/room-level options — the per-item isBookable flag is the live truth. Always run voyagier book <planId> --dry-run first for pre-flight checks (blockers + chargeable subtotal, no gate needed); --validate is a strictness modifier on the real booking that aborts if any item is non-bookable. A real checkout requires a price gate (--expect-total or --max-total) against the chargeable subtotal, and the checkout is always pinned to that gated set via itemIds--types / --only-bookable narrow it server-side. Note: unpaid (Pending) checkout sessions are not visible to the CLI, so never retry a successful book. Cart items sourced from live-rate suppliers may report source: "OTHER" — that's normal, not an error.

Commands

CommandDescription
voyagier doctorSelf-check: auth, schema, reachability, state, version
voyagier clientsAdvisor CRM (list, get, create, update, archive, upsert)
voyagier destinationssearch <query> — resolve freeform destination text to structured candidates (id, type, country, region)
voyagier planscreate, list, get, summary, delete; plans goals for the goal graph + readiness; plans bookable for pre-flight
voyagier plan-tripScaffold a plan (plan + the goal graph its --template names; adds the party only if --travellers is given) and print compose next-steps. --destination-id <id> from destinations search pins the destination; --destination <name> is the freeform fallback
voyagier plan-status <planId>One-shot readiness: BOOKED / READY_TO_BOOK / BLOCKED / IN_PROGRESS, ordered blockers, runnable next steps
voyagier travellersAdd, list, update, remove travellers
voyagier traveller-groupsManage traveller groups (list, create, update, delete, members)
voyagier traveller-choicesInspect per-traveller selection choices for a plan
voyagier searchFlights, hotels, activities, airports — creates a selection; options arrive async
voyagier selection-options <selectionId>Read / poll a selection's options (--wait to poll until ready)
voyagier selectChoose an option (--selection-id <id> --option-id <id>, or by index; --wait to settle readiness after the pick)
voyagier itineraryComputed itinerary (sourced from tripPlanEvents)
voyagier listingsAdvisor inventory listings — recent change events, add to selection
voyagier placesSearch / get / attach / list / highlight (external places + internal catalog)
voyagier cartView cart with by-goal grouping and per-item bookability
voyagier quoteOffer snapshot: itemized bookables + the exact total a gated book will enforce (--json includes the acceptance command)
voyagier sendEmail the client an invite link to the live trip (self-serve close; requires confirmation / --yes)
voyagier bookStripe checkout gated by --expect-total / --max-total; --validate, server-side --only-bookable / --types, --rebook
voyagier bookingsView booking records
voyagier whoamiIdentity + profile (live-verifies the token; --cached for offline reads)
voyagier authManage PAT / API URL
voyagier agent-docsPrint full AI agent integration reference

Most data-bearing commands accept --json for structured output (notable exceptions: telemetry, several auth subcommands). Use --plan <id> on select to prevent cross-plan state corruption when running parallel workflows.

For AI Agents

voyagier agent-docs    # full reference (AGENT.md)
npx @voyagier/cli agent-docs   # zero-install variant

Or read AGENT.md directly. It covers the goal-graph compose model, async option fetch, per-command JSON shapes, the error code table, and the bookability matrix.

Connect an AI agent

Voyagier runs a hosted MCP server at https://mcp.voyagier.com/api/mcp. It is the recommended way for AI agents and assistants to use Voyagier: the client connects to it over HTTP with your Personal Access Token and gets the whole tool surface, with no local install to manage. The CLI itself remains the tool for command-line workflows, scripting, and CI.

voyagier mcp install <client> sets this up in one step:

voyagier mcp install claude-code      # writes ./.mcp.json (--global writes ~/.claude.json)
voyagier mcp install cursor           # writes ~/.cursor/mcp.json (--project writes ./.cursor/mcp.json)
voyagier mcp install claude-desktop   # writes claude_desktop_config.json

It uses your saved token (voyagier login), merges a voyagier entry into the client's existing config, and leaves every other server in that file untouched. Pass --dry-run to see the resolved path and the exact entry before anything is written, or --token <pat> to install a specific token. The token is masked in all output and is only ever written into the config file. Restart the client afterwards to pick up the change.

Claude Desktop's config format describes stdio servers only, so that client is pointed at the CLI's local server (voyagier mcp) instead. Voyagier can also be added through the remote connectors section of the app settings, which uses the hosted endpoint directly.

MCP server

The CLI ships an MCP stdio server that exposes the agent surface as tools, for hosts that speak the Model Context Protocol (Claude Desktop, Cursor, etc.):

voyagier mcp          # run the stdio server (JSON-RPC on stdout)

It's a thin adapter: each tool call self-spawns the CLI as a subprocess with --json (the one exception is agent_docs, which runs without it), so the tools inherit the CLI's uniform error codes and price-gated checkout — zero behaviour drift. The MCP layer normalises every result into ONE canonical envelope: on success { ok: true, data: <object>, planContext? } (agent_docs markdown arrives as data.content), and on failure { ok: false, error: { code, message, details? } } with isError: true. Authentication flows through the environment (VOYAGIER_TOKEN / VOYAGIER_API_URL); the MCP layer never sees your token.

Claude Desktop (claude_desktop_config.json):

{
  "mcpServers": {
    "voyagier": {
      "command": "npx",
      "args": ["-y", "@voyagier/cli", "mcp"],
      "env": { "VOYAGIER_TOKEN": "voy_pat_xxxxx" }
    }
  }
}

Cursor (.cursor/mcp.json):

{
  "mcpServers": {
    "voyagier": {
      "command": "npx",
      "args": ["-y", "@voyagier/cli", "mcp"],
      "env": { "VOYAGIER_TOKEN": "voy_pat_xxxxx" }
    }
  }
}

Tools

ToolMaps toNotes
doctordoctorHealth check: auth, schema, state, version.
clients_listclients listRoster of CRM clients; page/limit page through it.
client_createclients upsertIdempotent by email; a plan needs a client.
plans_listplans listOwned + shared plans in one list, each tagged relationship owner/shared; the plan-discovery entry point. relationship/active/page/limit filter and page it.
search_destinationsdestinations searchFreeform text → ranked structured destinations; run before plan_trip.
plan_tripplan-tripScaffold a plan + goal graph from a template; returns nextSteps. travel_destination_id (from search_destinations) is preferred over the freeform destination.
travellers_addtravellers addAdds the whole party in one call; required before search.
search_flightssearch flightsAsync — optionCount 0 means poll options.
search_hotelssearch hotelsPrices are stay totals, not nightly.
search_activitiessearch activitiesBookable per slot.
get_selection_optionsselection-optionswait (default true) polls the async fetch to completion.
refresh_optionsrefresh-optionsRe-fetch a selection's options; force after a fetch error.
select_optionselectExplicit-id mode; wait (default true) settles readiness.
choices_viewchoices-viewFlat participant-choice view; source of room-slot ids.
choose_room_slotchoose-room-slotUpsert a room/rate participant choice.
plan_statusplan-statusOne-call "what's left before booking?".
quotequoteAdvisor offer snapshot + acceptance block.
book_dry_runbook --dry-runChargeable subtotal + blockers; no gate needed.
bookbookRequires a price gateexpect_total_cents (integer cents, preferred) or expect_total (dollars), or max_total alone as a cap; fails closed with PRICE_CHANGED.
booking_statusbook --statusPost-payment confirmation lookup.
agent_docsagent-docsThe full agent reference as markdown.

Deprecated aliases. create_client and add_traveller remain registered as deprecated aliases of client_create and travellers_add (same behaviour) for one release. Prefer the canonical names, which align with the Voyagier platform's first-party MCP tool registry.

send is intentionally excluded from the MCP surface. voyagier send emails a real client an invite link and is not idempotent — every call re-emails. That side effect is too consequential to expose behind an autonomous tool call; use the CLI directly (voyagier send <planId> --yes) when you mean it. The MCP close path is quotebook.

book cannot be retried safely. Unpaid Stripe sessions are invisible to the pre-flight, so a retry mints a duplicate payable link. Treat a successful book as terminal.

Environment Variables

VariableDescription
VOYAGIER_TOKENPersonal access token (overrides config)
VOYAGIER_API_URLAPI base URL (default: https://travel.voyagier.com/api; the CLI appends /graphql)

How It Works

Thin client over Voyagier's GraphQL API — the same API the web app uses. Everything syncs both ways. A plan is a goal graph; searching composes selections against goals, and air, accommodation, activity, and places suppliers are all surfaced through one unified selection model.

Getting Access

Voyagier access is granted, not open signup — request access at voyagier.com/agents. That's the gate for advisors, trip-planner customers, and agent builders alike.

Once your account is granted API access, mint a personal access token at travel.voyagier.com/me/settings/tokens and you're in. Two account tiers use the CLI today:

  • Travel advisors — manage a book of clients (voyagier clients); plans are created against a client (--client).
  • Trip planners — paying customers planning their own travel. Just run voyagier plan-trip — no client setup, no --client flag. (voyagier whoami shows your tier.)

Non-admin tokens expire (90 days max, 30 by default) — mint a fresh one when yours lapses.

Tip: prefer voyagier login (interactive prompt) over voyagier auth set-token <token> — it keeps your token out of shell history. For scripts, use the VOYAGIER_TOKEN env var.

Claude Desktop Extension (MCPB)

The MCP server is also packaged as a Claude Desktop extension bundle (MCPB). Build it from the repo with scripts/build-mcpb.sh, which produces dist-mcpb/voyagier-<version>.mcpb. To install, drag the .mcpb file into Claude Desktop → Settings → Extensions, then enter your Personal Access Token when prompted.

Privacy Policy

Data processed through the CLI and Voyagier services is handled per the Voyagier privacy policy.

License

Apache-2.0 — Copyright 2026 Voyagier, Inc. Use of Voyagier services through the CLI is subject to the Voyagier Terms of Service. "Voyagier" and the Voyagier logo are trademarks of Voyagier, Inc.; the Apache-2.0 license does not grant trademark rights.

Reviews

No reviews yet

Be the first to review this server!