Skip to content

MCP and AI assistants ​

MCP lets an AI assistant work with HCAPP data at your request. You ask a question in natural language, and the assistant retrieves the answer through the HCAPP connection: lists and filters tasks, calculates totals, shows where a vehicle is, summarizes comments, and creates tasks and comments when you ask for it.

The assistant always acts as one HCAPP bot that you choose when connecting. It sees and does only what this bot is allowed to in your company.

What you can do ​

  • See the forms available to the bot, their fields and the users who can be responsible for tasks.
  • List tasks in a form, filtered by dates, author, responsible user, status and field values.
  • Calculate counts, sums, averages, minimums and maximums over a whole form, grouped by user, step, field or period.
  • Read a task: its fields, comments and attached files, with a link to the task in HCAPP.
  • Get a temporary download link for a file attached to a task.
  • See where a vehicle is now and how far it is from a destination or from the stops of an order, when a telematics integration is opened to bots.
  • Create a task or a comment.

Updating and deleting tasks, deleting comments and uploading files are not available through MCP. The connection enforces this even if the bot has broader rights in HCAPP.

HCAPP plugin for ChatGPT ​

The HCAPP plugin connects ChatGPT to your HCAPP company in a few clicks. No tokens or secrets are entered by hand.

  1. In ChatGPT, open Plugins, find HCAPP and choose Install.
  2. ChatGPT opens the HCAPP sign-in page. Sign in with your usual HCAPP account. The account must be an admin or super-admin.
  3. Choose an active bot of your company. ChatGPT will act as this bot.
  4. Review what the application may do and choose Allow access.
  5. Return to ChatGPT and ask it to show your HCAPP forms.

Your password and the Bot token stay in HCAPP. ChatGPT receives a separate temporary credential that works for up to 8 hours; after that, connect again.

Only admins and super-admins can connect a bot. If two-factor authentication is required for your account, finish its setup in HCAPP before connecting.

Example requests ​

Show my available HCAPP forms, then show the Orders form details and the users who can be responsible for its tasks.

In the Orders form, how many orders per truck do we have this month, and what is the total Freight?

Where is truck 010BTN now and how many kilometres are left on its order?

Find order DEMO-2026-001, summarize its fields and comments, post the summary as a new comment and give me a download link for the CMR file.

Create a task in Orders with the order number 2026-118. Leave the other fields at their defaults.

Use form names, order numbers and plates from your own company.

What you need ​

  1. An HCAPP user with the BOT role and a valid Bot API token. See Users.
  2. Access for this bot to the forms you want to use, set in each form's Access tab. Read access is enough for questions and analytics. Creating tasks and comments also requires the create right on the form.
  3. An admin or super-admin account to authorize the connection.

Grant the bot access only to the forms you intend to use with the assistant. Access rules for individual tasks are not applied to bots: a bot with access to a form reads all of its tasks. Keep confidential forms closed to the bot.

Vehicles and routes ​

If your company uses a telematics integration (Mapon, Volvo Connect or Eurowag), the assistant can answer where a vehicle is, how fast it is moving, how fresh the position is, and how many kilometres remain to a destination or along the route of an order.

Fleet data is closed to bots by default. To open it:

  1. Open Profile → Integrations and select the telematics integration.
  2. Turn on Available to AI bots (MCP).
  3. Enter the company's Google Maps API key in the same form. It is used to calculate road distances and addresses.
  4. Save the integration.

Remaining distance for an order requires a Vehicle location field in the order form that links the vehicle and the route. Road figures are car routing: they do not include truck restrictions or driver breaks. Telematics credentials are never sent to the assistant.

Files ​

When the assistant reads a task, it sees the list of attached files: name, size and date. For each file it can give you a temporary download link that works for 10 minutes without signing in. Ask again to get a fresh link.

HCAPP does not send file contents to the assistant, and files cannot be uploaded through MCP. The assistant identifies a file by its name. To have a document analyzed, download it and attach it to the conversation yourself.

Other AI applications ​

HCAPP works with any AI application that supports remote MCP over Streamable HTTP with OAuth. The connection is not tied to one model or provider.

  1. Add a remote MCP server in your application's settings and enter the HCAPP address:

    text
    https://api.hcapp.ee/mcp
  2. Select OAuth. The application must be registered in HCAPP in advance; contact support to register it. Do not put a Bot token or your password into the application's settings.

  3. Start connecting, sign in to HCAPP as an admin or super-admin, choose a bot and allow access.

Analytics ​

For totals and breakdowns the assistant uses one aggregation request over the whole form instead of reading tasks page by page. It supports counts, sums, averages, minimums and maximums of numeric fields, separately for all, open, closed and overdue tasks, with up to three levels of grouping: author, responsible user, step, a field or a period (day, week, month, quarter, year).

Periods and dates are calculated in your company timezone from the company settings. The assistant states which timezone was used.

Filters and loading data ​

Tasks can be filtered by creation date, the form's primary date, author, direct responsible user, status and field values. Field conditions are combined with AND. Text supports equality and substring search, numbers and dates support comparisons, linked fields are matched by the linked task. Table columns and some field types cannot be filtered; the server returns an error instead of silently dropping a condition.

Each request returns up to 50 records. Reading a task initially loads 20 comments; more are loaded separately. One page is not a complete list. For totals, ask for a calculation rather than a list.

Request limits ​

Limits are counted per bot and per minute, shared with the Bot API:

OperationLimit per minute
Task reads300
Task lists, form lists, comment lists60 each
Aggregations30
Vehicle status and tracks60
Route calculations20
Task creation30
Comment creation20

Exceeding a limit returns 429 with a Retry-After header. The assistant should wait for the specified delay before retrying.

Tools ​

The connected application requests the list of tools from HCAPP by itself; nothing needs to be uploaded manually.

ToolPurpose
list_formsThe bot's forms and rights
get_formForm details and whether a responsible user is required
list_form_fieldsField IDs, names, types and supported filters
list_form_usersUsers with access to a form
list_usersCompany users by name or ID
get_task_create_schemaFields and value formats for creating a task
list_tasksFiltered task lists
aggregate_tasksTotals and breakdowns over a form
get_taskTask fields, files and the first page of comments
list_commentsComments of a task
create_taskCreate a task
create_commentCreate a comment or a reply
list_fleet_integrationsTelematics integrations opened to bots
get_vehicle_statusCurrent position and status of a vehicle
get_route_progressRoad distance and time to a point or along an order's route
get_vehicle_trackTrips of a vehicle over a period of up to 7 days

Data shared with the assistant ​

The assistant receives the form, task, comment, file-list and vehicle data it requests within the bot's permissions. This data is sent to the AI application you chose. User emails and phone numbers are returned only when explicitly requested. Check your AI provider's data handling settings before connecting company data.

Your password, the Bot token and telematics credentials are not sent to the assistant. Never paste a token or a password into a conversation.

Access and disconnecting ​

The administrator's session and role, the bot's activity, its token and its form rights are checked on every request. To stop access, do any of the following:

  • disconnect HCAPP in the AI application;
  • revoke the Bot token or block the bot;
  • remove the bot's access to a form;
  • turn off Available to AI bots (MCP) in the telematics integration.

Revoking access stops future requests. It does not delete data already received by the AI application.

Troubleshooting ​

  • The connection is unavailable or sign-in fails — check that your account is an admin or super-admin and that two-factor setup is finished in HCAPP.
  • No bot to choose — create a user with the BOT role, issue a Bot API token and give the bot access to at least one form.
  • A form is missing — check the bot's rights in the form's Access tab.
  • "No telematics integration is available to bots" — turn on Available to AI bots (MCP) in the integration and save it.
  • Remaining kilometres are not calculated — check the Google Maps API key in the integration and the Vehicle location field in the order form.
  • New features do not appear — disconnect and connect HCAPP again in the AI application to refresh its tool list.
  • The connection expired — connect again; a connection lasts up to 8 hours.

Support ​

Contact support@hcapp.ee with the application name, the time of the request and the error message. Never include tokens, passwords or client secrets. See the HCAPP privacy policy and terms of service.