Skip to content

Connect AxisCare to ChatGPT: Manage Home Care Staff and Schedules

Learn how to connect AxisCare to ChatGPT using a managed MCP server. Execute complex home care workflows, manage caregivers, and update visits via LLMs.

Nidhi KN Nidhi KN · · 9 min read
Connect AxisCare to ChatGPT: Manage Home Care Staff and Schedules

If you need to connect AxisCare to ChatGPT so your operations team can manage care schedules, assign caregivers to visits, or update client Activities of Daily Living (ADLs) via natural language, you need a Model Context Protocol (MCP) server.

Building this integration layer from scratch means dealing with AxisCare's composite primary keys, handling complex pagination schemes, and mapping dynamic schedules to static JSON-RPC tool definitions. Instead of building and maintaining this infrastructure, you can use a managed platform like Truto to dynamically generate a secure, authenticated MCP server URL.

If your team uses Claude, check out our guide on connecting AxisCare to Claude or explore our broader architectural overview on connecting AxisCare to AI Agents.

This guide breaks down exactly how to use Truto to generate a secure MCP server for AxisCare, connect it natively to ChatGPT, and execute complex home care workflows using natural language.

The Engineering Reality of the AxisCare API

Exposing an enterprise home care management system to a Large Language Model (LLM) is not a standard CRUD exercise. If you attempt to build a custom MCP server for AxisCare, you must account for several domain-specific API mechanics that will otherwise cause LLM hallucinations and execution failures.

Composite Keys for Visits

AxisCare does not use simple integer or UUID primary keys for visits. Depending on the state of the visit, the ID is a composite string. A scheduled visit uses a schedule key format (s=scheduleId:d=date), while an instantiated visit uses a full key (v=visitId:s=scheduleId:d=date). If an LLM tries to update a visit using a standard integer ID, the request will immediately fail with a 404. Your MCP schemas must explicitly instruct the LLM on how to construct and parse these composite keys.

Strict "AND" Filtering and Cursor Pagination

AxisCare list endpoints use strict "AND" logic for filtering. If an LLM attempts to pass a broad query payload, the API will aggressively filter out records that do not match every single parameter, often resulting in empty arrays. Furthermore, pagination relies on a nextPage URL property rather than a simple integer offset. The LLM must be explicitly told to pass the exact cursor string back to the API without decoding or modifying it.

Disjointed Linked Contacts

In AxisCare, clients and leads are linked through a Linked Contacts feature, but these are read-only in the customer API. You cannot programmatically create the link between a lead and a contact via a single API call. An LLM attempting to create a full client record with nested emergency contacts will fail unless it knows the strict sequencing and limitations of the contact endpoints.

Truto handles these nuances by deriving MCP tool definitions directly from the integration's documentation and resource schemas. When a tool is generated, instructions regarding composite keys and cursor pagination are automatically injected into the JSON Schema provided to ChatGPT.

How to Generate an AxisCare MCP Server

Before connecting ChatGPT, you need to generate an MCP server scoped specifically to an authenticated AxisCare instance. Truto derives the available tools dynamically based on the active connection.

There are two ways to generate this server: via the Truto UI or programmatically via the API.

Method 1: Via the Truto UI

This is the fastest method for internal operational use cases.

  1. Navigate to the Integrated Accounts page in the Truto dashboard.
  2. Select your connected AxisCare instance.
  3. Click the MCP Servers tab.
  4. Click Create MCP Server.
  5. Select your configuration (e.g., restrict to read and write methods, filter by specific tags like visits or caregivers).
  6. Copy the generated MCP server URL (e.g., https://api.truto.one/mcp/a1b2c3d4e5f6...).

Method 2: Via the Truto API

If you are provisioning MCP servers dynamically for your own customers, you should use the API. This single POST request scopes the server to a specific account and returns a ready-to-use URL.

curl -X POST https://api.truto.one/integrated-account/<INTEGRATED_ACCOUNT_ID>/mcp \
  -H "Authorization: Bearer $TRUTO_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "AxisCare Operations Agent",
    "config": {
      "methods": ["read", "write"],
      "tags": ["visits", "schedules", "caregivers"]
    }
  }'

The API responds with the self-contained Server URL:

{
  "id": "ax-8849-xyz",
  "name": "AxisCare Operations Agent",
  "config": {
    "methods": ["read", "write"],
    "tags": ["visits", "schedules", "caregivers"]
  },
  "expires_at": null,
  "url": "https://api.truto.one/mcp/a1b2c3d4e5f6..."
}

This URL acts as the routing layer and authentication token. Treat it like a sensitive credential.

Connecting the MCP Server to ChatGPT

Once you have the Truto MCP URL, you can connect it to ChatGPT. You can do this visually in the ChatGPT interface or manually via a configuration file if you are running a local agent orchestration framework.

Option A: Via the ChatGPT UI

Note: Custom MCP connectors require a ChatGPT Pro, Plus, Business, Enterprise, or Education account with Developer Mode enabled.

  1. In ChatGPT, navigate to Settings -> Apps -> Advanced settings.
  2. Toggle Developer mode on.
  3. Under MCP servers / Custom connectors, click Add new.
  4. Enter a name (e.g., "AxisCare Operations").
  5. Paste the Truto MCP URL into the Server URL field.
  6. Click Save.

ChatGPT will immediately perform a handshake with the Truto MCP router, execute an initialize request, and call tools/list to populate the AI's context with the available AxisCare tools.

Option B: Via Manual Config File

If you are testing locally or using an agent framework that relies on the standard MCP file format (such as Claude Desktop or custom LangGraph setups), you can configure the connection using the standard Server-Sent Events (SSE) transport adapter.

Add the following to your MCP configuration file (e.g., mcp-config.json):

{
  "mcpServers": {
    "axiscare-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-sse",
        "--url",
        "https://api.truto.one/mcp/a1b2c3d4e5f6..."
      ]
    }
  }
}

Hero Tools for AxisCare Operations

Truto automatically generates highly descriptive snake_case tool names based on the AxisCare API documentation. Below are the most critical operations for automating home care workflows.

list_all_axis_care_visits

Retrieves a paginated list of visits. The tool schema explicitly instructs the LLM on how to handle the strict "AND" filtering and how to pass pagination cursors back cleanly.

"Find all visits scheduled for tomorrow that do not currently have a caregiver assigned. Only return the visit IDs and the client IDs."

get_single_axis_care_visit_by_id

Fetches the complete details for a specific visit. The LLM must construct the ID using AxisCare's composite format (e.g., s=scheduleId:d=date).

"Get the full details for the visit with ID s=49281:d=2024-11-12 to check the start time and the required ADLs."

update_a_axis_care_visit_by_id

Modifies an existing visit. This is primarily used for reassigning caregivers. Passing null for caregiverId will unassign the current caregiver.

"Caregiver John Doe called out sick. Unassign him from visit s=49281:d=2024-11-12 and assign Caregiver Jane Smith (ID 8492) instead."

create_a_axis_care_schedule

Generates a new recurring or one-off schedule for a client. The payload requires specific days, start dates, and time boundaries.

"Create a new schedule for client ID 294. The schedule should run on Mondays and Wednesdays from 9:00 AM to 1:00 PM starting next week."

list_all_axis_care_caregivers

Queries the caregiver database. This tool is essential for finding available staff to cover sudden call-outs or new client intakes.

"List all active caregivers in the system. I need to find someone available for morning shifts who has dementia care experience."

create_a_axis_care_client_adl

Assigns a specific Activity of Daily Living (ADL) requirement to a client. This ensures the assigned caregiver knows exactly what tasks must be performed during the visit.

"Assign the 'Medication Reminders' ADL to client 294. The event should trigger for every morning visit."

To view the complete inventory of available proxy tools and schemas, visit the AxisCare integration page.

Workflows in Action

When you connect AxisCare to ChatGPT via Truto's MCP server, the LLM can orchestrate multi-step operational tasks that normally require a coordinator to click through dozens of screens.

Workflow 1: Managing Caregiver Call-Outs

When a caregiver calls out sick, a care coordinator needs to quickly find the impacted visits, identify available replacement staff, and update the schedule. ChatGPT can handle this end-to-end.

"Caregiver John Doe (ID 102) called out sick today. Find his scheduled visits for today, look up active caregivers to find a replacement, and assign the first available active caregiver to his morning visit."

  1. Query existing schedule: ChatGPT calls list_all_axis_care_visits filtering by caregiverId=102 and today's date.
  2. Find replacement: ChatGPT calls list_all_axis_care_caregivers to find active staff.
  3. Execute swap: ChatGPT extracts the composite ID of the morning visit (e.g., s=993:d=2024-10-25) and calls update_a_axis_care_visit_by_id with the new caregiverId.
sequenceDiagram
    participant User as User
    participant LLM as ChatGPT
    participant Truto as Truto MCP
    participant AxisCare as AxisCare API

    User->>LLM: "Reassign John's visits today"
    LLM->>Truto: Call list_all_axis_care_visits(caregiverId: 102)
    Truto->>AxisCare: GET /visits?caregiverId=102
    AxisCare-->>Truto: Visit array [s=993:d=today]
    Truto-->>LLM: JSON result
    LLM->>Truto: Call list_all_axis_care_caregivers(status: Active)
    Truto->>AxisCare: GET /caregivers?status=Active
    AxisCare-->>Truto: Caregiver array
    Truto-->>LLM: JSON result (Jane Smith, ID 405)
    LLM->>Truto: Call update_a_axis_care_visit_by_id(id: s=993:d=today, caregiverId: 405)
    Truto->>AxisCare: PUT /visits/s=993:d=today
    AxisCare-->>Truto: Success
    Truto-->>LLM: Success
    LLM-->>User: "Visit reassigned to Jane Smith."

Workflow 2: Client Intake and Schedule Generation

Setting up a new client requires creating their base record, establishing their ADLs (tasks the caregiver must perform), and generating their baseline schedule.

"We have a new intake named Robert Jenkins. Create his client record. Then assign him the 'Meal Preparation' ADL. Finally, create a schedule for him on Tuesdays from 10:00 AM to 2:00 PM starting tomorrow."

  1. Create record: ChatGPT calls create_a_axis_care_client with firstName: "Robert" and lastName: "Jenkins".
  2. Assign ADL: Using the returned id from step 1, ChatGPT calls create_a_axis_care_client_adl to attach the meal prep requirements.
  3. Build schedule: ChatGPT calls create_a_axis_care_schedule with the clientId, the specified days, and time boundaries.

The LLM orchestrates the sequence, automatically passing the id from the creation step down into the ADL and scheduling steps.

Handling Rate Limits

When AI agents execute bulk operations - like iterating over paginated lists of visits - they can easily hit API rate limits.

It is critical to understand how Truto handles these limits architecturally:

  • No Automatic Retries: Truto does not retry, throttle, or apply backoff on rate limit errors.
  • Strict Error Passing: When the upstream AxisCare API returns an HTTP 429 Too Many Requests error, Truto immediately passes that 429 error directly back to the MCP client (ChatGPT).
  • Standardized Headers: Truto normalizes the upstream rate limit information into standardized IETF headers (ratelimit-limit, ratelimit-remaining, ratelimit-reset).

The caller (the AI agent framework or the developer orchestrating the calls) is entirely responsible for detecting the 429 error, parsing the ratelimit-reset header, and implementing its own retry or backoff logic.

Security and Access Control

Giving an LLM direct access to a home care scheduling system containing sensitive patient data requires strict security controls. The Truto MCP token URL is a powerful credential, but you can heavily restrict what it is allowed to do.

When configuring your AxisCare MCP server, Truto provides four key security layers:

  • Method Filtering: You can strictly enforce read-only access. By setting methods: ["read"], Truto will only generate tools for get and list operations. The LLM simply will not possess the tools required to create or modify data.
  • Tag Filtering: You can isolate the server to specific operational domains. Setting tags: ["caregivers", "schedules"] ensures the LLM cannot access billing data or raw client records.
  • API Token Auth (require_api_token_auth): For higher security environments, you can force the MCP client to pass a valid Truto API token in the Authorization header. This ensures that possessing the MCP URL is not enough - the caller must also be an authenticated developer in your ecosystem.
  • Time-to-Live (expires_at): For temporary operational audits, you can set an exact ISO expiration datetime. Truto will automatically destroy the token and the server endpoint at that time, leaving zero stale credentials.

Automate Home Care with Truto

Connecting AxisCare to ChatGPT fundamentally changes how care coordinators and dispatch teams interact with their scheduling software. Instead of navigating complex UIs to cover a sick shift, they can simply tell an AI agent to handle the logistics.

By utilizing Truto's dynamically generated MCP servers, you skip the heavy lifting of maintaining AxisCare schemas, mapping composite keys, and updating tool definitions when the API changes.

Your engineering team handles the initial setup, and Truto handles the protocol translation.

FAQ

How do I connect AxisCare to ChatGPT?
You can connect AxisCare to ChatGPT using a Model Context Protocol (MCP) server. Truto generates this server dynamically, providing a secure URL that you can add directly to ChatGPT's custom connectors.
Does Truto automatically retry AxisCare API rate limits?
No. Truto does not retry, throttle, or apply backoff on rate limit errors. It passes the HTTP 429 error to the caller and normalizes upstream rate limit info into standardized headers (ratelimit-limit, ratelimit-remaining, ratelimit-reset).
How does ChatGPT handle AxisCare's composite visit IDs?
Truto's dynamically generated MCP tools include schema definitions that instruct the LLM on how to format composite IDs (e.g., s=scheduleId:d=date) before executing updates or deletes.
Can I restrict what AxisCare data ChatGPT can access?
Yes. When generating the MCP server in Truto, you can use method filtering (e.g., read-only) and tag filtering to scope the server to specific resources like schedules or caregivers.

More from our Blog