Summary
YCLIENTS (Altegio outside the CIS) booking and CRM for salons, clinics and studios: branches, services, staff, schedules and free slots, appointments (list, create, change), clients and their visit history, products and stock, cash registers and financial transactions (read), reviews and analytics. Partner token plus user token.
Guided setup
Connect YCLIENTS to Gemini in 2 minutes
Start a free trial on AnythingMCP Cloud, connect YCLIENTS in the guided setup, then add your MCP URL to Gemini. No code and no server to run.
No credit card · 7-day trial · Self-host alternative available
Try asking
Example prompts for YCLIENTS
Click any prompt to copy it. Paste into Claude, ChatGPT, Cursor, Gemini, Copilot or OpenClaw to run it against this connector.
Claude is AI and can make mistakes. Please double-check responses.
💡 No install? Use cloud.anythingmcp.com directly. Sign in, click Connectors → YCLIENTS, paste the partner token and the user token and pick YCLIENTS or Altegio as the API host, mint an MCP API key and you're done. No Docker, no
git clone, no local server.
YCLIENTS + Gemini
YCLIENTS (Altegio outside the CIS) booking and CRM for salons, clinics and studios: branches, services, staff, schedules and free slots, appointments (list, create, change), clients and their visit history, products and stock, cash registers and financial transactions (read), reviews and analytics. Partner token plus user token.
Prerequisites
See the full setup instructions baked into the connector (visible in the in-app store when you select the connector). The required environment variables for this connector are:
YCLIENTS_API_HOST, YCLIENTS_PARTNER_TOKEN, YCLIENTS_USER_TOKEN
Step 1 — Get credentials
Setting up takes about 10 minutes.
- Partner token: register as a developer in the integrations marketplace (YCLIENTS: https://yclients.com/appstore/developers, Altegio: https://app.alteg.io/appstore/developers). The token is shown under Account settings. Paste it into
YCLIENTS_PARTNER_TOKEN. - User token: it stands for one user and carries exactly that user's access rights to branches. Request it once with the user's login and password:
POST /api/v1/authon the API host, headerAuthorization: Bearer PARTNER_TOKEN, JSON body withlogin(phone or e-mail) andpassword; the answer holdsuser_token. A user with two-factor sign-in gets a code and sends it in a second call. An application of the marketplace can use the token of its system user instead (developer account, application, API access). Paste the token intoYCLIENTS_USER_TOKEN. - Pick the service in
YCLIENTS_API_HOST: YCLIENTS (either of its two addresses, they reach the same service) or Altegio.
The connector sends both tokens in one header, Authorization: Bearer PARTNER_TOKEN, User USER_TOKEN. Changing the user's password issues a new user token: request it again.
Where to start: yclients_list_companies returns the branches the user manages; every other tool needs the company_id from there. yclients_get_company shows one branch with its time zone.
Catalogue and staff: yclients_list_service_categories, yclients_list_services, yclients_get_service, yclients_list_staff, yclients_get_staff.
Free time: the booking view clients see is yclients_list_bookable_services, yclients_list_bookable_staff, yclients_list_bookable_dates and yclients_list_bookable_times (staff id 0 means any staff member). The internal view is yclients_get_staff_schedule (working slots and busy intervals over a date range) and yclients_list_journal_seances (the journal grid of one day).
Appointments: yclients_list_records (always with a date range), yclients_get_record, yclients_create_record and yclients_update_record. An update is a full replacement: send staff_id, services, client, datetime and seance_length every time. attendance is the visit status: 0 waiting, 2 confirmed, 1 came, -1 did not show up. yclients_delete_record is installed switched off; mark a no-show with attendance -1 instead of deleting.
Clients: yclients_search_clients (quick search by name, phone or e-mail, or filters), yclients_get_client, yclients_create_client, yclients_update_client (send name and phone every time) and yclients_search_client_visits for the visit and purchase history. yclients_delete_client is installed switched off.
Visits and money (read-only): yclients_get_visit, yclients_get_visit_details (payments and receipt of a visit), yclients_list_accounts, yclients_list_transactions. The connector books no payments and creates no financial transactions.
Products: yclients_list_goods, yclients_get_good, yclients_list_storages, yclients_list_goods_transactions.
Analytics and reviews: yclients_get_analytics_overall, yclients_get_analytics_chart, yclients_list_comments.
Formats: every answer has success, data and meta; a refusal carries the reason in meta.message. Dates are YYYY-MM-DD, date-times ISO 8601 with the offset of the branch (2026-12-01T14:30:00+03:00). Durations are in seconds (seance_length 3600 is one hour). Prices and amounts are in the currency of the branch. Phones are digits with the country code and no plus sign. Lists page with page from 1 and count (clients: page_size).
Limits and errors: 200 requests per minute and 5 per second per address. 401 means a token is missing or wrong; 403 means the user of the token has no right to this branch or section (rights are set per user in the branch settings); 404 means the id does not exist in this branch; 422 lists the invalid fields in meta.errors.
Not covered: group events, memberships, gift cards and loyalty cards, payroll, SMS and e-mail campaigns, stock documents, payments and fiscal receipts.
Step 2 — Install the adapter
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
Step 3 — Add the connector in Gemini
Your server URL: in AnythingMCP, open MCP Servers → the server this connector is on, and copy its URL (
https://cloud.anythingmcp.com/mcp/…). Use it wherever this guide showsYOUR_SERVER_ID.
Gemini CLI reads MCP servers from ~/.gemini/settings.json (on Windows %USERPROFILE%\.gemini\settings.json). Add:
{
"mcpServers": {
"anythingmcp": {
"httpUrl": "https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID",
"headers": { "X-API-Key": "YOUR_MCP_API_KEY" }
}
}
}
- Create an MCP API key in AnythingMCP under MCP Servers → your server → API keys, and paste it in place of
YOUR_MCP_API_KEY. - Save the file and restart
gemini. - Run
/mcpinside Gemini CLI (orgemini mcp listin your shell) —anythingmcpshould show as connected. - Start prompting — Gemini CLI can now call the
YCLIENTStools.
Available tools
| Tool | What it does |
|---|---|
yclients_list_companies | List branches (companies): id, title, country, city, timezone_name, address, phone, site, schedule and active_staff_count. By default only… |
yclients_get_company | Read one branch: id, title, country, city, timezone_name, address, coordinates, phone, site, social links, schedule, active_staff_count… |
yclients_list_service_categories | List the service categories of a branch: id, title, api_id, weight (sort order, heavier first) and the staff ids offering them.… |
yclients_list_services | List the services of a branch: id, title, category_id, price_min, price_max (in the branch currency), discount, comment, weight, active… |
yclients_get_service | Read one service: id, title, category_id, price_min, price_max, discount, comment, active, api_id and the staff who offer it with their… |
yclients_list_staff | List the staff of a branch: id, name, specialization, position (id, title), rating, votes_count, user_id, hidden, fired, status and avatar.… |
yclients_get_staff | Read one staff member: id, name, specialization, position, rating, votes_count, information (HTML), user_id, hidden, fired and avatar |
yclients_get_staff_schedule | Read the working schedule of staff for a date range: per staff member and date the working slots (from, to as HH:MM) and, when asked… |
yclients_list_bookable_services | List what clients can book online at a branch: categories (id, title) and services (id, title, category_id, price_min, price_max, discount… |
yclients_list_bookable_staff | List the staff clients can book online: id, name, specialization, position, bookable (has free slots), rating, votes_count, avatar and… |
yclients_list_bookable_dates | List the days with free online booking slots: booking_dates and working_dates (YYYY-MM-DD lists) plus booking_days and working_days grouped… |
yclients_list_bookable_times | List the free slots of one day as clients see them: time (HH:MM), seance_length in seconds and datetime in ISO 8601 with the branch offset.… |
yclients_list_journal_seances | List the journal grid of one staff member for one day: every time step (HH:MM) with is_free true or false. Unlike the bookable times it… |
yclients_list_records | List appointments (records) of a branch: id, company_id, staff_id, services (id, title, cost, discount, first_cost, amount), staff, client… |
yclients_get_record | Read one appointment: id, company_id, staff_id, services (id, title, cost, discount, first_cost, amount), staff, client (id, name, phone… |
yclients_create_record | Create an appointment for a client with one staff member: it appears in the journal at once and blocks that time. Returns the saved… |
yclients_update_record | Change an appointment: move it, change staff, services, comment or the visit status (attendance). This is a full update, not a partial one… |
yclients_delete_record | Delete an appointment from the journal. The slot becomes free again and the client is not asked; it cannot be restored through the API. To… |
yclients_search_clients | Search and list the client base of a branch. Each row holds only the fields asked for in fields; meta.total_count is the number of matches.… |
yclients_get_client | Read one client card: id, name, surname, patronymic, phone, email, categories, sex_id, discount, importance_id, card, birth_date, comment… |
yclients_create_client | Add a client card to a branch. Returns the saved client with its id. A phone number that already exists in the branch is refused, so search… |
yclients_update_client | Change a client card. Name and phone are always required; fields left out can be reset by the API, so read the card with… |
yclients_delete_client | Delete a client card from a branch. The card and its contact data are removed and cannot be restored through the API. Installed switched… |
yclients_search_client_visits | Read the visit history of one client, newest first: records (id, date, visit_id, attendance, services, staff, company, comment) and… |
yclients_get_visit | Read one visit: attendance, datetime, comment and its records (appointments) with services, staff, client and goods_transactions. A visit… |
yclients_get_visit_details | Read the money side of one visit: payment_transactions, loyalty_transactions, kkm_transaction_details_container (fiscal receipts), items… |
yclients_list_goods | List or search the products (goods) of a branch: good_id, title, label, cost and actual_cost (sale and purchase price in the branch… |
yclients_get_good | Read one product: good_id, title, cost, actual_cost, unit, barcode, article, critical_amount, desired_amount and actual_amounts (stock per… |
yclients_list_storages | List the storages (warehouses) of a branch: id, title, for_service (1: consumables are written off here), for_sale (1: default storage for… |
yclients_list_goods_transactions | List stock movements of a branch: id, document_id, type, amount (negative for a write-off or sale), good (id, title), storage, unit, cost… |
yclients_list_accounts | List the cash registers and accounts of a branch: id, title, type (0 cash, 1 cashless) and comment. Their ids filter… |
yclients_list_transactions | List financial transactions of a branch, read-only: id, document_id, date, amount (in the branch currency, negative for an expense)… |
yclients_get_analytics_overall | Read the key figures of a branch for a period, each compared with the previous period of the same length: income_total_stats… |
yclients_get_analytics_chart | Read one analytics series of a branch for a period. income_daily, records_daily and fullness_daily return series with a label and data as… |
yclients_list_comments | List the reviews clients left for a branch or its staff: id, type (1 about a staff member, 0 about the branch), master_id, text, date… |
Example prompts
- "Which appointments do we have tomorrow at the main branch, per staff member?"
- "Which free slots does Anna have for a haircut on Friday?"
- "Book Maria Ivanova for a manicure with Olga next Tuesday at 15:00."
- "Which clients have not come back for more than three months?"
- "How did revenue and the number of visits develop this month compared with last month?"
FAQ
Where do the two tokens come from? The partner token comes from a free developer account in the integrations marketplace (YCLIENTS or Altegio), under Account settings. The user token stands for one user and carries that user's rights to the branches: request it once with POST /api/v1/auth and the user's login and password, or use the system user token of a marketplace application. Changing the user's password issues a new user token. Pick YCLIENTS or Altegio in the API host: tokens of one do not work on the other.
What does it cover? Branches, service categories and services, staff and their schedules, free dates and times as clients see them, the journal of a day, appointments (list, create, change, mark the visit status), clients with their visit history, products, storages and stock movements, cash registers and financial transactions (read only), reviews and analytics. Group events, memberships, gift and loyalty cards, payroll, SMS and e-mail campaigns, payments and fiscal receipts are not included.
Which tools install switched off? yclients_delete_record and yclients_delete_client. Mark a no-show with the visit status instead of deleting the appointment. Switch them on on the connector page only if the AI should use them. Creating and changing appointments and client cards is on, and the AI shows each change and waits for your confirmation.
Where does Gemini CLI look for MCP servers? In ~/.gemini/settings.json for your user, or in .gemini/settings.json inside a project. gemini mcp list shows each server and whether it connects.
Next steps
Was this guide helpful?