MCP server

The same API, spoken directly by Claude and other agents — without you writing an HTTP client.

What it is

MCP (Model Context Protocol) is the open standard Claude and other agents use to call external tools. kinapi-mcp-server exposes the whole v1 API as a set of tools: create and read check-ins, check the report at SES, download the signed contract, manage properties. The agent already knows when and how to use them — you do not explain endpoints to it or write it a client.

Compared with integrating the REST API directly

It does not replace the API — it is another way of talking to it. What changes is what you have to build:

  • No HTTP client. You install the package and that is it: no managing auth headers, serialising JSON or mapping responses by hand.
  • Errors the agent understands, not JSON to parse. A 404 does not arrive as a bare {"error":"not found"}: it arrives as “that check-in does not exist, check the reservationId”, so the agent can react or ask you instead of falling over.
  • It chains calls without you programming the orchestration. “Cancel booking R-2026-0412 and confirm it went through” is two API calls resolved by the agent from one request of yours.
  • Anyone on the team can use it, not just whoever writes code. Support or operations can ask Claude for a guest’s status without touching code or opening the panel.
  • One line to install. npx downloads and runs it; there is nothing to clone and no TypeScript to compile.

Installation

In Claude Desktop, Claude Code or any MCP client, add this to its configuration (`claude_desktop_config.json` or `.mcp.json`):

mcp.json
{
  "mcpServers": {
    "kinapi": {
      "command": "npx",
      "args": ["-y", "kinapi-mcp-server"],
      "env": {
        "KINAPI_API_KEY": "kinapi_…"
      }
    }
  }
}

The API key is the same one you generate in the panel (Settings → API) — see Authentication.

Available tools

62 tools
FieldTypeDescription
kinapi_create_checkinwriteCreate a check-in (language, template, house rules, payment type, capacity, manual filing)
kinapi_list_checkinsreadList check-ins (by dates, status, property or owner)
kinapi_get_checkinreadDetails of a check-in
kinapi_update_checkinwriteUpdate any field of the booking
kinapi_cancel_checkinwriteCancel the check-in and void its reports at SES
kinapi_list_guestsreadList the guests on a booking
kinapi_get_guestreadDetails of a guest
kinapi_add_guestwriteRegister a guest
kinapi_delete_guestwriteDelete a guest
kinapi_get_ses_statusreadReport status at SES, with rejections decoded
kinapi_submit_ses_nowwriteFile the report with SES now
kinapi_download_partereadDownload the paper traveller report
kinapi_download_ses_receiptreadDownload the SES proof of filing (PDF)
kinapi_get_ses_catalogsreadOfficial SES code tables
kinapi_refresh_ses_catalogswriteRefresh the code tables from SES
kinapi_download_contractreadDownload the signed contract
kinapi_list_contract_templatesreadList contract templates
kinapi_get_contract_templatereadDetails of a contract template
kinapi_create_contract_templatewriteCreate a contract template
kinapi_update_contract_templatewriteUpdate a contract template
kinapi_delete_contract_templatewriteDelete a contract template
kinapi_preview_contract_templatereadPreview a template as a PDF
kinapi_list_house_rulesreadList house rule sets
kinapi_get_house_rulesreadDetails of a house rule set
kinapi_create_house_ruleswriteCreate a house rule set
kinapi_update_house_ruleswriteUpdate a house rule set
kinapi_delete_house_ruleswriteDelete a house rule set
kinapi_list_propertiesreadList properties
kinapi_get_propertyreadDetails of a property
kinapi_create_propertywriteCreate a property
kinapi_update_propertywriteUpdate a property
kinapi_deactivate_propertywriteRetire a property (delete or deactivate)
kinapi_list_ownersreadList owners
kinapi_get_ownerreadRead an owner
kinapi_create_ownerwriteCreate an owner
kinapi_update_ownerwriteUpdate an owner
kinapi_delete_ownerwriteDelete an owner
kinapi_create_exportwriteRequest a records export as a ZIP (by owner, properties or dates)
kinapi_get_exportreadStatus of an export and until when it can be downloaded
kinapi_list_exportsreadList exports
kinapi_download_exportreadDownload the ZIP of a ready export
kinapi_get_settingsreadRead the tenant settings
kinapi_update_settingswriteChange settings and Telegram alerts
kinapi_get_brandingreadRead the form branding
kinapi_set_brandingwriteChange the form colours and logo
kinapi_reset_brandingwriteRestore the Kinapi branding
kinapi_list_ses_credentialsreadList SES credentials
kinapi_get_ses_credentialreadDetails of an SES credential set
kinapi_create_ses_credentialwriteCreate SES credentials
kinapi_update_ses_credentialwriteUpdate SES credentials
kinapi_delete_ses_credentialwriteDelete SES credentials
kinapi_test_ses_credentialreadTest SES credentials
kinapi_get_usagereadRead usage and billing
kinapi_billing_portalwriteOpen the billing portal
kinapi_get_webhookreadRead the outgoing webhook
kinapi_set_webhookwriteConfigure the outgoing webhook
kinapi_delete_webhookwriteDelete the outgoing webhook
kinapi_test_webhookwriteTest the webhook
kinapi_webhook_deliveriesreadWebhook delivery history
kinapi_simulate_ses_resultwriteTest mode: simulate the Ministry’s answer
kinapi_list_test_emailsreadTest mode: test inbox
kinapi_reset_test_environmentwriteTest mode: delete every test booking

Package

Published on npm as kinapi-mcp-server. Version 0.8.0 adds records exports, the proof of filing and the owner filter on kinapi_list_checkins (see Exports and offboarding).