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.
npxdownloads 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`):
{
"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
| Field | Type | Description |
|---|---|---|
kinapi_create_checkin | write | Create a check-in (language, template, house rules, payment type, capacity, manual filing) |
kinapi_list_checkins | read | List check-ins (by dates, status, property or owner) |
kinapi_get_checkin | read | Details of a check-in |
kinapi_update_checkin | write | Update any field of the booking |
kinapi_cancel_checkin | write | Cancel the check-in and void its reports at SES |
kinapi_list_guests | read | List the guests on a booking |
kinapi_get_guest | read | Details of a guest |
kinapi_add_guest | write | Register a guest |
kinapi_delete_guest | write | Delete a guest |
kinapi_get_ses_status | read | Report status at SES, with rejections decoded |
kinapi_submit_ses_now | write | File the report with SES now |
kinapi_download_parte | read | Download the paper traveller report |
kinapi_download_ses_receipt | read | Download the SES proof of filing (PDF) |
kinapi_get_ses_catalogs | read | Official SES code tables |
kinapi_refresh_ses_catalogs | write | Refresh the code tables from SES |
kinapi_download_contract | read | Download the signed contract |
kinapi_list_contract_templates | read | List contract templates |
kinapi_get_contract_template | read | Details of a contract template |
kinapi_create_contract_template | write | Create a contract template |
kinapi_update_contract_template | write | Update a contract template |
kinapi_delete_contract_template | write | Delete a contract template |
kinapi_preview_contract_template | read | Preview a template as a PDF |
kinapi_list_house_rules | read | List house rule sets |
kinapi_get_house_rules | read | Details of a house rule set |
kinapi_create_house_rules | write | Create a house rule set |
kinapi_update_house_rules | write | Update a house rule set |
kinapi_delete_house_rules | write | Delete a house rule set |
kinapi_list_properties | read | List properties |
kinapi_get_property | read | Details of a property |
kinapi_create_property | write | Create a property |
kinapi_update_property | write | Update a property |
kinapi_deactivate_property | write | Retire a property (delete or deactivate) |
kinapi_list_owners | read | List owners |
kinapi_get_owner | read | Read an owner |
kinapi_create_owner | write | Create an owner |
kinapi_update_owner | write | Update an owner |
kinapi_delete_owner | write | Delete an owner |
kinapi_create_export | write | Request a records export as a ZIP (by owner, properties or dates) |
kinapi_get_export | read | Status of an export and until when it can be downloaded |
kinapi_list_exports | read | List exports |
kinapi_download_export | read | Download the ZIP of a ready export |
kinapi_get_settings | read | Read the tenant settings |
kinapi_update_settings | write | Change settings and Telegram alerts |
kinapi_get_branding | read | Read the form branding |
kinapi_set_branding | write | Change the form colours and logo |
kinapi_reset_branding | write | Restore the Kinapi branding |
kinapi_list_ses_credentials | read | List SES credentials |
kinapi_get_ses_credential | read | Details of an SES credential set |
kinapi_create_ses_credential | write | Create SES credentials |
kinapi_update_ses_credential | write | Update SES credentials |
kinapi_delete_ses_credential | write | Delete SES credentials |
kinapi_test_ses_credential | read | Test SES credentials |
kinapi_get_usage | read | Read usage and billing |
kinapi_billing_portal | write | Open the billing portal |
kinapi_get_webhook | read | Read the outgoing webhook |
kinapi_set_webhook | write | Configure the outgoing webhook |
kinapi_delete_webhook | write | Delete the outgoing webhook |
kinapi_test_webhook | write | Test the webhook |
kinapi_webhook_deliveries | read | Webhook delivery history |
kinapi_simulate_ses_result | write | Test mode: simulate the Ministry’s answer |
kinapi_list_test_emails | read | Test mode: test inbox |
kinapi_reset_test_environment | write | Test 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).