Repository avatar
Other Tools
v0.1.0
active

dmcguide

io.github.CloudCorpRecords/dmcguide

Boutique DMC catalogue: company facts, destinations, experiences, itineraries, reviews.

Documentation

dmcguide

Browse a boutique destination-management company's catalogue before you ever talk to an advisor. dmcguide is a small forwarding client for the hosted Kratons catalogue service: the tool list is answered from your own machine using captured definitions, and each call travels upstream, with the service's answer handed back exactly as it arrived.

Six of the service's eight captured tools are exposed — the published catalogue reads. Read who the company is (legal identity, address, contact channels, countries served, languages, services and pricing policy); list the countries and cities where tours or tickets currently run, with counts; search the tours and tickets catalogue by country, city and free text; browse published sample itineraries with day-by-day outlines; read the aggregate rating and newest traveller reviews, each attributed to the platform that published it; and read the checklist describing what to send to receive a bespoke proposal and how a human advisor follows up.

Two captured tools are deliberately left out. request_a_proposal submits a traveller's or agent's contact details and trip request to the vendor for a human reply, and get_proposal_request_status exists only to track a request submitted through it. Neither tool is registered, callable through the MCP server, or available as a CLI command in this package. The documentation about the proposal flow (how_to_request_a_proposal) is kept, because it is a published read; the submission itself is not.

The tools

  • get_company_facts — Who the company is: legal identity, address, contact channels, countries served, languages, services, pricing policy and how to request a proposal. Takes no arguments.
  • list_destinations — Countries and cities where tours or tickets are currently offered, with counts. Takes no arguments.
  • search_experiences — Tours and tickets in the catalogue, filtered by country, city and free-text q, capped by limit (default 20, max 50). Results carry name, type, city, country, category, duration, a free-cancellation flag and a summary — never prices or suppliers, because trips are quoted as one package price.
  • list_sample_itineraries — Published sample itineraries, filtered by country and free-text q, capped by limit. Each carries a destination, duration, category, summary and day-by-day outline.
  • get_reviews — The aggregate rating (1–5) and the newest traveller reviews from Zicasso and Google, each attributed to the platform that published it, capped by limit (default 6, max 20). A source that cannot be read is listed as unavailable rather than invented.
  • how_to_request_a_proposal — The checklist a traveller or agent should send to receive a bespoke proposal, the pricing policy, and how a human advisor follows up. Takes no arguments.

Install and run

As an MCP server via npm:

npx -y @reneturcios/dmcguide mcp

MCP client configuration:

{
  "mcpServers": {
    "dmcguide": {
      "command": "npx",
      "args": ["-y", "@reneturcios/dmcguide", "mcp"]
    }
  }
}

As a container:

docker run -i ghcr.io/cloudcorprecords/dmcguide
docker run --rm ghcr.io/cloudcorprecords/dmcguide get_company_facts '{}'

CLI

A single binary covers both the command line and the MCP server. Every tool is a subcommand whose one argument is a JSON string of that tool's inputs:

dmcguide get_company_facts '{}'
dmcguide list_destinations '{}'
dmcguide search_experiences '{"country":"Spain","city":"Madrid","limit":10}'
dmcguide list_sample_itineraries '{"country":"Portugal"}'
dmcguide get_reviews '{"limit":3}'
dmcguide how_to_request_a_proposal '{}'
dmcguide --version

Exit codes: 0 for a successful forwarded call, 1 when the result that comes back is an error, and 2 for usage mistakes like an unknown subcommand or a JSON argument that does not parse.

Configuration

  • KRATONS_MCP_URL — Replaces the upstream endpoint. Defaults to the pinned hosted endpoint, https://api.kratons.com/api/mcp. (This override variable is a reconstruction introduced by this rebuild.)

The Kratons registry record lists no headers for its remote, so dmcguide never attaches an authentication header — every call goes upstream keyless.

When the upstream cannot answer — it returns a JSON-RPC error, answers with a non-2xx status, sends a body that cannot be read, or the request itself fails — the caller receives an error result whose text begins with dmcguide error:.

How forwarding works

The first call of a process opens a session against the upstream: an initialize request (protocol version 2025-03-26), a notifications/initialized notification, and then the tools/call. If the service issues an Mcp-Session-Id header during initialize, dmcguide repeats it on subsequent requests and keeps reusing that one session until the process ends. Replies are understood in both plain JSON and server-sent-events framing. Successful results are passed through untouched, isError flag and any extra fields included.

Development

npm install
npm run build   # tsc -> dist/ (dist/cli.js is the bin)
npm test        # tsx --test test/*.test.ts — stubbed upstream, no network
npm run dev     # run the CLI from source

The suite compares the served tool list against the captured kept subset tool for tool, asserts the two omitted tools are absent from the registry, the MCP layer and the CLI, walks the session handshake and its reuse, proves no Authorization header is sent under any environment, and confirms that arguments travel upstream unchanged and results return unchanged for every one of the six tools.

License

MIT — see LICENSE. Copyright (c) 2026 Rene Turcios.

NPM
@reneturcios/dmcguide
Install Command
npm install @reneturcios/dmcguide
Runtime: npx
OCI
ghcr.io/cloudcorprecords/dmcguide:0.1.0
Install Command
docker pull ghcr.io/cloudcorprecords/dmcguide:0.1.0:undefined
Runtime: docker