MCP Server Documentation
LotsBusiness MCP Server
Connect AI agents like Claude and Cursor to LotsBusiness using the Model Context Protocol
Quick Information
MCP Endpoint
https://api.lots.business/mcpAvailable Tools
175 tools
Authentication
OAuth 2.1 with PKCE
Setup Instructions
Configure your MCP client to connect to LotsBusiness
Add this configuration to your Cursor settings:
{
"mcpServers": {
"lotsbusiness": {
"url": "https://api.lots.business/mcp"
}
}
}Steps:
- Open Cursor Settings (Cmd/Ctrl + ,)
- Search for "MCP Servers"
- Click "Edit in settings.json"
- Add the configuration above
- Restart Cursor
- Cursor will automatically discover OAuth endpoints and handle authentication
Authentication
This server implements OAuth 2.1 with PKCE for secure authentication
OAuth 2.1 with PKCE (S256)
Most modern MCP clients will automatically discover and handle the OAuth flow. The server uses OAuth 2.1 with PKCE (S256) for secure authentication.
OAuth Discovery
https://api.lots.business/.well-known/oauth-authorization-serverAuthorization Endpoint
https://api.lots.business/api/oauth/authorizeToken Endpoint
https://api.lots.business/api/oauth/tokenHow it works:
- Clients automatically discover OAuth endpoints
- Users are redirected to authenticate via browser
- Authorization code is exchanged for access token
- Bearer token is used for all MCP requests
Available Tools
175 MCP tools available for LotsBusiness. Use these tool names when calling the MCP server.
support
grant_support_accessGrant Support Access
Let LotsTech support (support@lotstech.com) into one business for a limited time so they can look at a problem and fix it. Support joins as Admin and can never change billing, payments, the owner or the team. Without confirmed: true it changes nothing and returns the consent text; grant only after the person has read it and said yes. duration is 24h, 7d (default) or 30d. may_publish (default false) lets support publish fixes live. Granting again while access is on changes the end time. It opens a support case for the person.
list_support_accessList Support Access
Whether LotsTech support has access to this business, until when, and what support did there. available false means support access is not set up yet.
list_support_requestsList Support Requests
List the support requests the signed-in person has sent to the team that builds this product: number, type, title, status (In progress, Waiting for you, Done), last update, the team's latest reply and a link when one is available. Open requests by default; status all includes finished ones. Pass case_number (for example 1042) to see one request. Use it when the person asks about a problem they reported or whether the team has answered.
revoke_support_accessRevoke Support Access
End LotsTech support's access to this business now. Support leaves the team at once.
submit_support_requestSubmit Support Request
Send a bug report, feature request, feedback or support question to the team that builds this product. It sends exactly the title and details given. Passwords, API keys, tokens and other people's personal data do not belong in a request. Useful details: what was tried, what happened and what was expected; for a failed tool, tool_name, error_message and request_id. The request is filed under the email the person signed in with, and the team replies to that email. Returns the request number, its status, when to expect a reply and a link when one is available. The same error from the same tool within 24 hours is added to the person's open request instead of opening a new one.
General
accept_business_handoverAccept Business Handover
For the client: accept a hand-over into one of your workspaces (personal by default). The business and its linked apps move to you in one step; `moves` says what moved and what waits. Your own plan or credits pay for them from now on.
accept_workspace_invitationAccept Workspace Invitation
Accept a workspace invitation with the token from its link. You must be signed in with the invited email.
activate_businessActivate Business
Make a business a paid unit, which unlocks its website, custom domain, Google Business Profile creation and posts, the directory list and business email. Uses a free place on the workspace owner's plan, or credits. Owners and admins only. go_live does the same with the price shown first, and handles what a payment covers.
add_business_mediaAdd Business Photo
Attach a photo or video URL to a business you own. Upload the file first; only the resulting URL is stored.
add_contact_recipientAdd Contact Recipient
Send website messages to another address (up to 3). The address must confirm by a link first. Without any, messages go to the business email, or the workspace owner.
add_site_blogAdd Site Blog
Give the business's website a blog at /blog: a new LotsBlog blog made for the business (its name, logo, colour and facts carried over), or connect a LotsBlog blog the person already owns (blog_id). The blog shows at /blog, each post at /blog/<post>, with the blog's feed and sitemap, on the website's own domain and its lotssite address, wearing the website's header and footer; the website's sitemap lists it, and a Blog link is added to the header in the draft (live after the next publish; header_link: false skips it). Without confirm: true nothing changes: the answer shows the blog already connected (if any), the person's LotsBlog blogs and which can be connected, and LotsBlog's own price (plans, or credits per blog a month; LotsBusiness adds nothing). Tell the owner the price, and only with their yes call again with confirm: true. remove: true disconnects the blog from the website; the blog and its posts stay in LotsBlog. Posts are written with LotsBlog's tools (create_blog_post) as usual. Needs a paid business and an owner, admin or manager; connecting an existing blog needs its owner in LotsBlog.
answer_business_questionAnswer A Question
Answer a question asked on a business you own. The answer becomes public.
apply_google_business_updateApply Google Business Profile Update
Apply a change previewed with prepare_google_business_update to the live Google Business Profile, after the person agreed to that exact preview. Only the changed fields are sent to Google. If the profile changed on Google since the preview, nothing is sent and the answer asks for a fresh preview. fields applies only some of the previewed changes.
archive_businessArchive Business
Archive a business you own instead of deleting it. It stops being paid (its website goes offline), leaves the directory and nobody can open it. Nothing is deleted, and the owner can restore it for 30 days with restore_business. Owner only. Confirm with the person first; confirm_name must be the business name.
archive_workspaceArchive Workspace
Archive an agency workspace you own once it holds no active businesses (move or archive them first). Nobody can open it until it is restored. Nothing is deleted; the owner can restore it for 30 days with restore_workspace. confirm_name must be the workspace name. Confirm with the person first.
ask_business_questionAsk A Business A Question
Ask a public question on a business profile. The owner is notified and can answer.
autofill_business_from_urlAutofill A Business From Its Website
Read a business's own website and return the facts it states (name, description, phone, email, address, hours from schema.org), each with its source. Saves nothing: create_business or update_business with the values the owner confirms.
build_site_with_aiBuild Site With AI
Build the business's website with AI from its details and the owner's short interview answers (or, with instruction, make one change to the draft). To move an existing website to LotsBusiness, send from_website (their current address) or report_id (their website report from get_website_report): the builder reads the home page and up to 5 main pages and rebuilds the site in the section model with their own words, fixing what the report found; it is a rebuild, not a copy of the old design, and phone numbers and emails always come from the business record. get_build_status then shows from_site (the pages read) and, for a report, before_after (what the new draft does about each check). Designed inside the section model, checked automatically (phones, colours, facts from the record, nothing invented, no placeholder text, a working contact form), and saved as the draft with a private preview; the live site changes only when the owner publishes. Takes a few minutes: follow it with get_build_status. Each live business gets free AI builds and AI edits every month (3 builds and 20 edits on a plan, 1 build and 5 edits when paid with credits). A business that is not live yet builds its draft from LotsTech Credits only, and its private preview shows a Draft bar and lasts 1 hour; it goes live with go_live. Beyond that, a build costs 200 LotsTech Credits and an AI edit 50 ($1 = 1,000 credits), charged once when it starts and refunded automatically if it fails without producing a draft: the call first answers CREDITS_CONFIRMATION_REQUIRED with the price and the balance; tell the owner both, and only with their yes call again with confirm_credits: true. Not enough credits answers INSUFFICIENT_CREDITS with a top-up link (create_checkout with amount_usd). Replacing an existing draft needs replace_draft: true; ask the owner first.
cancel_business_handoverCancel Business Handover
Cancel a pending hand-over.
cancel_business_invitationCancel Business Team Invitation
Cancel a pending invitation. This does not remove an accepted member.
cancel_workspace_invitationCancel Workspace Invitation
Cancel a pending workspace invitation.
check_siteCheck Site
Run the quality and safety check on a version (latest by default). Errors block publishing; warnings are advice.
claim_businessClaim A Business
Claim a business listing that has no owner yet. Verification is by matching email domain, a token on the business website, or manual review. The strongest method your evidence supports is chosen automatically.
complete_google_business_verificationComplete Google Business Verification
Submit a verification PIN the owner received for a pending Google verification. Never guess a PIN.
complete_site_uploadComplete Site Upload
Finish a direct upload after the PUT to upload_url: checks the stored file's size, SHA-256 and type and the business's upload budget, then returns the blob to add to create_site_version as {path, blob}. A file that does not match is removed.
confirm_domain_recordsConfirm Domain Records
After the person checked every imported record: copy them into our DNS (mail first), keep a snapshot to roll back to, and give the nameserver step. When the domain is in LotsTech's own registrar account we switch the nameservers ourselves; otherwise the person changes them at their registrar (two nameservers, shown in nameserver_step). Ask the person first. Owners and admins.
connect_existing_domainConnect Existing Domain
Manage a domain the person already owns elsewhere: we read its current DNS (every common name, mail, text and certificate records, and the zone file they paste, which public DNS cannot fully list) into a list to confirm. Nothing changes until they confirm with confirm_domain_records. The domain stays at its registrar; once the nameservers switch to us, the website (and business email if asked) connect by themselves. Owners and admins.
start_google_business_oauthConnect Google Business Profile
Create a short-lived Google consent URL. Google shows its account chooser, so the owner picks which Google account to connect. Call this when Google is not connected; to switch to a different Google account, disconnect_google_business first. Return the URL to the owner and stop retrying until they finish consent. With business_id, Google returns them to that business's Google tab.
connect_site_domainConnect Site Domain
Connect a domain the owner already owns (e.g. www.example.com). Returns the one DNS record they add. Then poll get_site_domain_status. Owners and admins; paid businesses only.
create_approval_linkCreate Approval Link
Create a link the client can open without an account to review the website draft (scope site), the business details (profile) or both (all), and approve or ask for changes. The website preview is frozen when you ask: the section editor's draft as it is now, or the latest saved version for a site made of files (or the version you give). It also shows on the business's client page (create_client_link). Valid 14 days by default. Nothing is published by the client's answer.
create_businessCreate Business
Add a business you own. It starts as a private draft: build its website with build_site_with_ai (paid from LotsTech Credits while it is a draft) and put it live with go_live. Set business_type to physical, service_area or online; an online business stores no street address at all. Pass city_slug to attach it to a known city. The public LotsBusiness directory listing is off unless list_in_directory is true; then it goes up at once when it has a name, at least one category and a country (and a city for a storefront), otherwise it waits for review and listing_review names what is missing (name, category, country, city, test, links). An account can hold 2 businesses that are not live yet (NOT_LIVE_LIMIT): put one live with go_live or archive one first.
create_checkoutCreate Checkout
Get a checkout link for a LotsBusiness plan (plan starter|pro|business, cycle annual|monthly; annual by default) or a LotsTech Credits top-up (amount_usd 10 to 1000). Only the workspace owner pays. Give business_id when the payment is to put that business live: after paying, the person comes back to it and it goes live (call go_live with after_payment: true if they come back to you instead). Give the link to the person; never pay for them.
create_client_linkCreate Client Link
Make the client page link of this business (one per business, works 90 days). Send the url to the client: with no account they approve or ask for changes on the LotsSocial posts of the linked brand (link_social_brand) and on website or business details checks (create_approval_link), and can change an answer until you act. Approved posts go out on their schedule; website answers are recorded only, you publish. With client_email the client gets a daily email when something new waits. The page shows your agency's name and logo when your plan includes branding (set_agency_branding), else a neutral page. rotate: true replaces the current link (the old one stops working at once). Owners, admins and managers.
create_client_reportCreate Client Report
Make a client report now for any period: today, yesterday, last_7_days, last_week (Monday to Sunday), this_month, last_month, or custom with start_date and end_date (up to 366 days, ending today at the latest), in the business's time zone. It is compared with the period before of the same length (a whole month with the month before) and becomes a read-only page with the agency's name and logo; the link lasts 90 days and can be renewed. Website numbers are kept about 3 months and taps from when counting started, so older ranges say so instead of showing 0. send_to_client: true also emails it to the client's addresses at once (owners and admins). Up to 30 a business a day. Owners, admins and managers of the business.
create_google_business_postCreate Google Business Post
Post an update to the business's Google Business Profile: STANDARD (news, with an image or a button), EVENT (title and dates) or OFFER (title, dates, coupon, terms). One public https image. Buttons: BOOK, ORDER, SHOP, LEARN_MORE, SIGN_UP (with url) or CALL. Ask the owner to approve the text first. Google reviews posts; a rejected post is reported as an error.
create_google_business_profileCreate Google Business Profile
Create exactly the previously previewed Google profile. Requires the single-use confirmation token returned by preview after the owner explicitly approves that exact data. It is idempotent and must not be retried with a new preview after an uncertain result.
create_siteCreate Site
Create the business's website on its LotsBusiness address (<name>.lotssite.com). Optionally start from a kit (from_kit) with a theme; otherwise write every file yourself with create_site_version. Requires a paid business. Idempotent: returns the existing site.
create_site_uploadCreate Site Upload
Start an upload of a big site file (an image up to 10 MB, a PDF or font up to 10 MB, a video in mp4 or webm up to 50 MB). Either give source_url (a public https link to the file: LotsBusiness fetches it and stores it, nothing passes through the chat; for chat agents that cannot send files) and get the blob back at once, or give its path, exact size in bytes and SHA-256 to get upload_url and headers: PUT the bytes there yourself, then call complete_site_upload. already_uploaded: true means the site holds those bytes; skip the PUT. Text files go in create_site_version as content.
create_site_versionCreate Site Version
Save a new draft version of the site and get its check result and a private preview_url. files: [{path, content}] for text files, [{path, blob}] for images from upload_site_image and files from complete_site_upload. With base_version, unchanged files carry over and you send only what changed (delete_paths removes files). Nothing goes live until publish_site.
create_workspaceCreate Workspace
Create an agency workspace that holds client businesses and your team. You become its owner and pay for its businesses.
deactivate_businessDeactivate Business
Stop paying for a business. Its free directory listing stays; its website goes offline and paid features stop. Ask the owner before calling this.
delete_business_mediaDelete Business Media
Remove one photo or video from the business.
delete_google_business_postDelete Google Business Post
Delete a post from the business's Google Business Profile. name is the post's resource name from list_google_business_posts. Ask the owner first.
disconnect_google_businessDisconnect Google Business
Disconnect your own Google account from LotsBusiness, for example to switch to a different Google account (then call start_google_business_oauth, which shows Google's account chooser). The connection is yours, not one business's: it serves every business you manage here, and posting pauses for each business whose profile posts through it until you connect again. LotsBusiness deletes its stored Google access; the profiles stay on Google and stay linked here. Without confirm: true nothing changes and the answer says what would happen. Ask the person first.
edit_domain_recordsEdit Domain Records
Add, change or remove DNS records of a connected domain (up to 50 at once; a snapshot is kept first). Records a product depends on (the website, business email) cannot be removed; an SPF can gain senders but keeps the ones a product needs. Changes reach the internet within minutes: confirm with the person first. Owners and admins.
edit_site_textsEdit Site Texts
Change editable texts by key (from get_site_editables). Creates a new draft version with a preview; publish it to go live.
export_siteExport Site
Download a version (live by default) as a zip. Returns a link valid for one hour.
find_businesses_in_cityFind Businesses In A City
Find businesses of a given category in a given city, for example plumbers in chennai. Matches businesses based in the city and those that declare it as a service area.
finish_business_handoverFinish Business Handover
After a hand-over: move the linked apps that had to wait, for example once the client added credits or a plan in that app, or disconnected a social account they already had. Changes nothing when nothing waits. The new owner (owner or admin) or the agency they kept (manager).
get_agency_brandingGet Agency Branding
How an agency workspace appears to its clients: display name, logo, accent colour, reply-to email and website; eligible says whether client pages show them (the workspace owner has LotsTech for Business or a LotsBusiness Pro or Business plan), and client_pages is exactly what client pages show now. Any member of the workspace.
get_ai_visibilityGet AI Visibility
Found by AI: whether a business is named when someone asks AI for its service in its town, such as "What is the best renovation designer in Wellington?". Each check asks ChatGPT as a logged-out person sees it (8 questions: 6 the same every week, 2 that change weekly), and makes two Google searches from the business's location, reading the AI Overview (when Google shows one), the map results and Google AI Mode. Returns what is asked (business name, website domain, service and town; defaults from the business's category and city), the last 4 weeks in total (rolling: named in how many answers, per engine, and in how many map results), the latest check (the questions and searches, each engine's answers: named or not, its place in the list, the businesses named instead, whether the business's own website was cited; the map results; the date), the last 8 checks, the weekly check (on or off, next date, waiting while its answers come in) and how many "check now" runs are left this month, and next_steps: up to 5 plain steps from the latest check, its answers and the record (each with where: website, details, google or directories); act on them with the owner. Paid businesses only (why_not_text says what is missing). Anyone with access to the business.
get_billingGet Billing
The workspace owner's LotsBusiness plan or credits, today's funding state, how many businesses are paid, and the plans (Starter 1, Pro 5, Business 25 businesses; yearly is the better price). Defaults to your personal workspace.
get_build_statusGet Build Status
Where an AI website build is (designing, fixing what the checks found, ready), which checks passed, whether the AI design or the ready-made base design was used, the private preview link, the real cost of the build, its credits (charged, refunded), whether the business is live (a business that is not live builds from credits only), its free AI builds and edits left this month and, once they are used, the price of the next one in LotsTech Credits with the balance (allowance.credits), the interview questions for build_site_with_ai, and for a website moved with from_website or report_id: from_site (the address and pages read) and before_after (each check of the report: before, after fixed, good, next_step or not_yet, and how); moved_from names the website the business was last moved from, also after later AI edits. Moves an unfinished build forward.
get_businessGet Business
Get the full public profile of one business by slug: contact details, location, hours, categories, media, service areas and rating summary.
get_business_analyticsGet Business Analytics
Daily views, clicks, calls and direction requests for a business you own.
get_business_categoryGet Business Category
Get one category by slug, including its child categories.
get_business_completenessGet Business Completeness
What the record still needs for a good website, a Google Business Profile, directory listings and AI assistants (ai_assistants: a description of what and where, service descriptions and prices, 3 or more answered FAQs, areas served, real reviews, a linked Google profile, a published website). Ask the owner only for what is listed as missing; never invent it.
get_business_email_statusGet Business Email Status
Business email setup status: domain, ownership, funding, receiving and sending setup, and the records still needed.
get_business_handoverGet Business Handover
For the client: what is being handed over (`moves`: each linked app and whether it moves), what they will pay for (`billing`) and the workspaces they can receive it into.
get_client_linkGet Client Link
The client page of this business: one standing link where the client sees what waits for their answer (LotsSocial posts of the linked brand that wait for approval, and website or business details checks from create_approval_link) and answers with no account. Returns the link's status, url (owners, admins and managers), expiry, the client's email for the daily email, whether the page shows your agency branding, and the latest answers. Anyone with access to the business.
get_client_reportsGet Client Reports
The client reports of a business in an agency workspace: whether they are available (paid business, agency workspace, and LotsTech for Business or a LotsBusiness Pro or Business plan; why_not_text says what is missing), the monthly report settings (on or off, the client's email addresses, whether money amounts show), when this month's report is counted (the 1st) and sent (the 3rd), how many on-demand reports are left today, and the last 20 reports with their status, link and preview link. Anyone with access to the business; links only for owners, admins and managers.
get_business_collectionGet Collection
Get one collection by slug with the businesses in it.
get_domain_statusGet Domain Status
Domains of a business: in connected_domains, the ones connected for management (imported records to confirm, the nameserver step, products connected), and in domains any registered through LotsBusiness earlier, with the date each is registered until. domain_id shows one connected domain.
get_google_business_connection_statusGet Google Business Connection
Check whether Google is connected and list only the Google accounts and existing locations available to the signed-in owner. Use this before preparing a new profile and inspect likely duplicates. locations comes from the last read from Google (connection.locations_refreshed_at); pass refresh: true to read it again, for example after someone added your Google account as owner or manager of a profile.
get_google_business_profile_statusGet Google Business Profile Status
Read the persisted creation state and Google Voice of Merchant status for an owner's business, and posting.through: whose Google account posts go through (you, teammate, or nobody when that person no longer has access to the business; then link the profile again with your own account). posting.disconnected is true when the Google account it was linked with was disconnected: connect Google again, or link the profile with your own account. profile.maps_uri is the profile's Google Maps link (null while Google has none yet); the owner manages the profile on Google itself at https://business.google.com/.
get_google_business_verification_optionsGet Google Verification Options
Ask Google which verification methods are currently eligible. For a service-area business, pass its private verification address only when the owner explicitly supplies it; it is used for Google verification and is never copied to the public LotsBusiness listing.
get_linked_appsGet Linked Apps
Every app linked to this business, in one answer: the LotsCRM workspace that receives website messages, the LotsMail email domain, the LotsBlog blog at /blog, the Google Business Profile, the LotsSocial brand and the LotsInvoice business. found: false marks a link whose record was removed or archived. include_options: true also lists the LotsSocial brands and LotsInvoice businesses you can link, and suggests a LotsSocial brand with the business's name for a client business in an agency workspace; nothing is linked until the person confirms. Anyone with access to the business.
get_listing_packGet Listing Pack
Everything a directory asks for, worded the same way every time (name, phone, address or service area, website, categories, descriptions of 80/160/750 characters, hours, services, photos), built only from the record, plus what is missing.
get_locationGet Location
Get one location by slug, with its parent and children. US city slugs carry a state suffix (austin-tx); Indian city slugs do not (chennai).
get_my_businessGet My Business
Get the full record of a business you own, including categories, service areas, media and its directory listing (off, on, in_review, held or rejected).
get_business_profileGet My Profile
Your personal LotsBusiness member profile (display name, bio, avatar), not a business. For a business use get_my_business.
get_siteGet Site
The business's website: address, live and latest version, recent versions with check results, connected domains, kit and theme.
get_site_analyticsGet Site Analytics
Page views by day, top pages and top referrers (cookieless) for up to 90 days.
get_site_contentGet Site Content
The website as structured content: settings and design, pages, and the sections of each page with their fields, plus outline (each page, then its sections by name and type; custom sections list their editable fields). Returns the saved draft, or for a site without one the site converted to sections (saved: false; nothing changes until update_site_content). revision is what to send as base_revision. live_matches_draft says whether the live site shows this draft. restore_point is the last import or AI build that undo_edits goes back to.
get_site_domain_statusGet Site Domain Status
Status of the site's domains and their certificates, with the DNS record each needs. The first domain to go active becomes the primary address.
get_site_editablesGet Site Editables
The editable text regions (data-lb-edit) of a version, for changing texts without code.
get_site_fileGet Site File
Read one file of a version (latest by default).
get_site_filesGet Site Files
List the files and pages of a version (latest by default). Read before editing.
get_site_guideGet Site Guide
Read this before building or redesigning a website. Without topic: the build loop, live-fact markers (data-lb), what blocks publishing, the starter kits and limits, and the index of the premium website skill (a design process for a unique site per business: discovery, brief, art direction, motion, build, look and critique, quality gate). With topic: that part of the skill in full (start with "skill", then the reference it points to).
get_website_reportGet Website Report
One website report, from run_website_report or list_website_reports. Reports are kept 7 days.
get_workspaceGet Workspace
Get one workspace: members and roles, pending invitations (admins), and its businesses with whether each is paid.
go_liveGo Live
Put a business live: its website can be published, and its Google Business Profile, business email and custom domain unlock. A new business is a private draft until then (its website preview carries a Draft bar). Without confirm, answers how it would go live and the price: a free place on the plan, LotsTech Credits, or a checkout to pay (create_checkout with business_id). Tell the owner and only with their yes call again with confirm: true. After a payment, call with after_payment: true: when the plan covers every business that is not live yet, all of them go live; when it covers fewer, the answer lists them (to_choose) and the owner picks, then call with business_id and confirm: true. Owners and admins only.
import_static_siteImport Static Site
Turn a static website (plain HTML pages, one site.css, one site.js, its files) into this website's DRAFT made of custom sections, so it looks the same and stays editable section by section. Pages follow the static contract: header elements marked data-lb-shared="header", footer elements data-lb-shared="footer", every section a top-level element with data-section-name="Hero"; facts marked with data-lb (phone, whatsapp, email, address parts). Send the text files in files ([{path, content}] or [{path, source_url}] to have LotsBusiness fetch the file exactly from a public https address: .html, .css, .js, .svg, .json, .webmanifest, .txt, .xml) and every other file (pictures, fonts, videos, PDF) in blobs ([{path, blob}] uploaded first with upload_site_image or create_site_upload, or [{path, source_url}] fetched for you, up to 100 a call). Texts, pictures, links and repeating cards are marked editable on the way in (mark_fields: false keeps the markup untouched). Nothing goes live: check it with preview_site_content and publish with publish_site_content. A local helper does all of this from a folder: scripts/lotsbusiness-import-static.mjs.
invite_business_memberInvite Business Team Member
Invite a person to assist with a business as admin, manager, or viewer. Never assign ownership through this tool.
invite_workspace_memberInvite Workspace Member
Invite a teammate to a workspace as admin (manages team and billing), manager (edits every business) or viewer (reads). Returns an accept link valid for 7 days. To give a client access to one business only, use invite_business_member instead.
leave_workspaceLeave Workspace
Leave a workspace you are a member of. Owners cannot leave their own workspace.
link_crm_workspaceLink CRM Workspace
Send this business's website messages into a LotsCRM workspace as well as by email: each sender becomes a lead contact (or is matched by email or phone) with the message on their timeline. Give workspace_id to link (you need write access to that LotsCRM workspace; messages are written as you), or unlink: true to stop.
link_google_business_locationLink Google Business Location
Link a Google Business Profile that already exists to this business, instead of creating a new one. Your connected Google account must be an owner or manager of the profile on Google; LotsBusiness checks this live with Google. Linking the business's current profile again with your own Google account (for example after an agency hand-over, once the agency has made you primary owner on Google) switches its posts and updates to your account; only the owner or an admin can do that. location_name comes from get_google_business_connection_status.
link_invoice_businessLink Invoice Business
Link this business to its LotsInvoice business, so the client's records in both apps stay together (the monthly report will read this link). Give invoice_business_id (LotsInvoice list_businesses; you must be its owner or an editor), or unlink: true to remove the link (nothing changes in LotsInvoice). One per business: linking another replaces it. Owners and admins of the business.
link_social_brandLink Social Brand
Link this business to its LotsSocial brand, so the client's records in both apps stay together (the client approval page and the monthly report will read this link). Give brand_id (LotsSocial list_brands; you must be an owner, admin or manager of the brand's workspace), or unlink: true to remove the link (the brand itself does not change). One brand per business: linking another replaces it. Owners and admins of the business.
list_approval_linksList Approval Links
Approval links for a business with each client's decision and comment.
list_business_categoriesList Business Categories
List every business category, with parent/child structure and how many businesses each holds.
list_business_directoriesList Business Directories
The audited local directories that fit this business (its country and trade), with how to submit to each and this business's progress. The owner or agency submits; give them the listing pack.
list_business_handoversList Business Handovers
Hand-overs of a business and their status. A completed one lists `moves`: what each linked app did (moved, stayed with the reason, or waiting; finish_business_handover moves what waits).
list_business_mediaList Business Media
List the business's photos, logo, cover and videos in display order.
list_business_reviewsList Business Reviews
List published reviews for a business, with the owner reply where one exists. Only reviews that passed moderation are returned.
list_business_servicesList Business Services
List the business's services in display order.
list_business_teamList Business Team
List the owner, team members, roles, and pending invitations for a business the caller can access.
list_businessesList Businesses
Browse published businesses in the Lots Business directory. Filter by category, city, country, business type or price range. Business types are physical (customers visit an address), service_area (travels to the customer) and online (no customer-facing premises).
list_business_collectionsList Collections
List curated collections and city guides.
list_contact_messagesList Contact Messages
Messages sent through the website's contact form, newest first (spam hidden unless status=spam).
list_directory_sitesList Directory Submission Targets
The public catalogue of business directories LotsBusiness knows about. For the directories that fit one business, with how to submit and its progress, use list_business_directories. LotsBusiness does not submit listings on anyone's behalf.
list_directory_submissionsList Directory Submissions
This business's directory progress, newest first.
list_domain_recordsList Domain Records
Every DNS record of a connected domain in plain words, which product uses each one (those are protected), and the snapshots to roll back to.
list_google_business_postsList Google Business Posts
The latest posts on the business's Google Business Profile, with Google's state (LIVE, PROCESSING, REJECTED).
list_locationsList Locations
List countries, states or cities in the directory. Filter by type and country code (IN, US).
list_my_businessesList My Businesses
List every business you own, with status, claim state, completeness score, whether it is indexable, whether it is live (live) and its directory listing (off, on, in_review, held or rejected).
list_my_business_claimsList My Claims
List the claims you have submitted and their current state.
list_my_business_ordersList My Orders
Orders for the retired one-time services (placed before 2026-10-18), with their status. New work is done with a paid business: see activate_business.
list_my_business_reviewsList My Reviews
Reviews you have written about other businesses. For the reviews of a business you own, use list_business_reviews with its slug.
list_business_notificationsList Notifications
List your LotsBusiness notifications: claim outcomes, questions and order updates.
list_site_section_typesList Site Section Types
The section kinds a LotsBusiness website is built from (top banner, about, services, photos, numbers, reviews, questions, contact, hours, map, call to action, team, prices or menu, text, custom markup), their variants and fields, the live facts a field can show, and the limits. Read it before writing site content. Includes the custom section (any design: its own markup with marked fields, CSS and script) and the edit ops.
list_site_versionsList Site Versions
Version history with source, message, check summary and which one is live.
list_starter_kitsList Starter Kits
Industry starter kits (salon, clinic, restaurant, trades, professional, agency) with their default theme and pages.
list_website_reportsList Website Reports
The owner's website reports from the last 7 days, newest first, with how many free reports are left (limits).
list_workspacesList Workspaces
List the LotsBusiness workspaces you belong to, with your role, how many businesses each holds and how many are paid. Every account has a personal workspace; agencies create more for their team.
move_business_to_workspaceMove Business To Workspace
Move a business between two workspaces you administer that have the same owner. To give a business to a client, use start_business_handover.
add_business_updatePost Business Update
Post a short update or announcement on a business you own.
preview_business_handoverPreview Business Handover
Before start_business_handover: what moves to the client with the business and what stays, app by app (LotsMail domain, LotsSocial brand with its accounts, posts and media, LotsBlog blog, LotsCRM workspace, LotsInvoice business), with the reason when something stays and how to fix it. Changes nothing. Owners and admins.
preview_client_reportPreview Client Report
One client report exactly as the client sees it (view), as plain text (text), with its status and, for the agency only, agency_notes about numbers that could not be read. report_id "upcoming" shows last month's monthly report while it has not gone out, else this month so far (counted now, not kept). Anyone with access to the business.
prepare_google_business_profilePreview Google Business Profile
Build an immutable, evidence-labelled preview without writing to Google. Only owner listing facts and explicit owner confirmations are accepted. Online-only businesses are rejected. Show the exact preview before asking for confirmation. Listing lat/lng of 0 is not a map pin. If Google cannot geocode a physical address, the preview returns pin_drop_required; parse an owner Maps URL or confirmed pin into latitude and longitude and retry with duplicate_acknowledged=true. If public duplicate search is unavailable, check Google Maps and retry with duplicate_acknowledged=true. Create only with the returned preview_id and confirmation_token within 30 minutes.
prepare_google_business_updatePreview Google Business Profile Update
Preview a change to the Google Business Profile linked to this business: what Google shows now next to what it would become, field by field. Changes nothing. Fields: title, address, map pin (latitude and longitude), categories, regular and special hours, website, phone, service area, description; give only the ones to change, or from_business: true to propose the LotsBusiness listing's own details (name, address, phone, website, hours, description; never the pin). Google checks the change first (validate only); if Google does not let LotsBusiness move the pin of this profile, the answer is GOOGLE_PIN_NOT_ACCEPTED and the pin must be moved on Google itself. warnings says when Google may review a name, address, pin or category change or ask to verify again. Show the person the changes and warnings, then call apply_google_business_update with preview_id and confirmation_token once they agree. The preview lasts 30 minutes.
preview_sitePreview Site
Get a fresh private preview link for a version (latest by default), valid for 7 days and never indexed. Share it with the owner before publishing.
preview_site_contentPreview Site Content
Render the website draft (or the site converted to sections when there is no draft) to a private preview link with the live facts filled in, valid for 7 days and never indexed, plus the page check. Publishes nothing and creates no version. include_html also returns the rendered files.
publish_sitePublish Site
Make a version live (latest by default) on the site's address and connected domains, within a minute. Refused if the version has check errors. Ask the owner first.
publish_site_contentPublish Site Content
Publish the saved website draft: render it to plain HTML pages, save them as a new version and make it live within a minute. Refused if the page check finds errors. rollback_site returns to any earlier version. Ask the owner first.
toggle_business_upvoteRecommend Business
Toggle your recommendation on a business. Calling it again removes the recommendation.
record_directory_submissionRecord Directory Submission
Track progress on one directory: not_started, in_progress, needs_action, submitted, live (with listing_url), rejected or skipped, with notes.
remove_contact_recipientRemove Contact Recipient
Stop sending website messages to an address.
remove_site_domainRemove Site Domain
Disconnect a domain from the site.
reorder_business_mediaReorder Business Media
Set the display order of the business's media by listing their ids in order.
reply_to_business_reviewReply To A Review
Reply publicly to a review left on a business you own. One reply per review; calling again updates it.
request_domain_transferRequest Domain Transfer
Ask to move a domain registered through LotsBusiness (listed in get_domain_status domains) to another provider. Records the request; our team emails the owner the transfer code and steps (registries allow a move 60 days after registration). Business owner only.
restore_businessRestore Business
Restore an archived business within 30 days of archiving it. Owner only. It comes back as a free listing with its earlier directory status; make it paid again (activate_business) for its website and paid tools. list_my_businesses with archived: true lists archived businesses and how long each can be restored.
restore_domain_recordsRestore Domain Records
Roll a connected domain's DNS back to a snapshot (default: the records as imported). Records products depend on stay unless remove_product_links is true (that also disconnects the website and email from the domain). original_nameservers puts the old nameservers back (by API for LotsTech's own registrar account, otherwise it returns the step). Ask the person first. Owners and admins.
restore_workspaceRestore Workspace
Restore an archived workspace within 30 days of archiving it. Owner only. list_workspaces with archived: true lists archived workspaces and how long each can be restored.
revoke_approval_linkRevoke Approval Link
Withdraw an approval link.
revoke_client_linkRevoke Client Link
Turn off the client page link of this business at once. Answers already given stay. create_client_link makes a new one. Owners, admins and managers.
rollback_siteRollback Site
Make an earlier version live again.
run_ai_visibility_checkRun AI Visibility Check
Check now whether AI names the business: ChatGPT (8 questions about its service in its town, as a logged-out person sees it), two Google searches from the business's location (the AI Overview and the map results) and Google AI Mode; the answers are read for the business's name and website (about a minute, at most about 3). Returns the result as get_ai_visibility does, with check set to this run. Up to 4 a month per business on top of the weekly check; a check that fails is not counted; one at a time. service and town, when given, are saved first (as set_ai_visibility_settings). Paid businesses only. Owners, admins and managers of the business.
run_website_reportRun Website Report
A free report on a website the owner already has: can Google find and show it, do ChatGPT and Google AI name the business when asked for its service in its town, does it show on Google Maps, email at its own domain, one clear phone number and town, and a contact form or booking button. Each check says what is wrong in plain words and how to fix it, and next lists only what LotsBusiness can fix for those issues (nothing when all is fine). Give service and town (like plumber, Austin, TX) to include the AI and Google Maps checks; takes about a minute then. 2 new reports per account every 30 days; the same site again within 7 days returns the saved report for free; reports are kept 7 days. Never promise the owner a ranking.
screenshot_siteScreenshot Site
See the website the way visitors do: renders the draft (default when there is one), a saved version or the live site in a real browser at desktop (1440 px), tablet (820 px) and phone (390 px) widths and returns the pictures. full_page scrolls the whole page and returns it in screen-sized pieces; section shows one section. Use it after every build or change, compare the pictures with your design brief, fix and look again. Owners, admins and managers only; limited per business per hour; the same picture is reused for 5 minutes.
search_businessesSearch Businesses
Search businesses, categories and cities by keyword. Use for autocomplete or when the exact slug is unknown.
search_google_business_categoriesSearch Google Business Categories
Search Google's live category catalog. Never invent a category ID; show the returned exact categories and ask the owner when more than one is plausible.
seed_business_from_urlSeed An Unclaimed Listing (staff)
Staff only. Create an unclaimed listing from a business's own website.
send_client_report_nowSend Client Report Now
Email one client report to the client's addresses now, instead of waiting for the 3rd (a monthly report that is counted and not stopped), or an on-demand report made without emailing. It goes from the agency's name with the agency's reply-to email. Only after the person confirms. Owners and admins of the business.
set_agency_brandingSet Agency Branding
Set how your agency appears to clients on the pages you share with them (the client approval page and the monthly report, as they are released), with no Lots names: display_name, accent_color, reply_to_email (where client replies go), website, and a logo (logo_base64) or remove_logo: true. Only the fields you send change; an empty string clears one. Anyone can save branding, but client pages show it only while the workspace owner has LotsTech for Business or a LotsBusiness Pro or Business plan; until then they show a neutral page with no agency name or logo. Owners and admins of the workspace.
set_ai_visibility_settingsSet AI Visibility Settings
Change what Found by AI asks about a business: service (what it does, as a buyer would say it, such as "renovation designer"; empty goes back to the business's category) and town (such as "Wellington, New Zealand"; empty goes back to the business's city), and auto_weekly (the automatic check once a week; on by default once the business is set up). Only the fields you send change. Saving with the weekly check on starts it soon if no check ran in the last week. Owners, admins and managers of the business.
set_business_faqsSet Business FAQs
Replace the FAQ list on a business you own. Pass the complete list: it overwrites what is there.
set_business_hoursSet Business Hours
Set weekly opening hours, special hours (holidays, closures, one-off times) and the timezone. The website, schema and llms.txt update within a minute, with no new site version. hours: {"mon":[{"open":"09:00","close":"17:30"}], ...}; a missing day is closed. special_hours: [{"date_from":"2026-12-25","date_to":"2026-12-25","closed":true}].
set_business_linksSet Business Links
Set social profile links (facebook, instagram, x, linkedin, youtube, tiktok, pinterest, threads, bluesky, whatsapp, yelp, tripadvisor, google), the booking link and the website URL. Empty values clear a link.
set_business_servicesSet Business Services
Replace the business's list of services, in display order, with optional prices (price, optional price_max for a range, currency, price_note like 'from') and durations. Only real services and prices the owner confirmed.
set_client_report_settingsSet Client Report Settings
Set the client report for a business: enabled (the monthly report; on by default: on the 1st last month is counted and the agency gets a preview, and on the 3rd it goes to the client unless stopped), recipients (the client's email addresses, up to 5; without one nothing is emailed) and show_amounts (deal values and payments received; off by default). Only the fields you send change. Owners and admins of the business.
set_primary_site_domainSet Primary Site Domain
Choose which active domain is the main address (the others redirect to it). hostname null returns to the LotsBusiness address.
setup_business_emailSet Up Business Email
Set up business email (LotsMail) on the business's own domain, included with a paid business. Needs the website's own domain connected first. When we run the domain's DNS (connected with connect_existing_domain) we add every mail record, verify the domain, turn receiving on and create contact@ ourselves: nothing for the owner to add (managed: true). A connected domain that receives email elsewhere today stays sending only until you call this again with receiving: true. On any other domain it returns the TXT record that proves ownership, and the rest is finished in LotsMail.
start_business_handoverStart Business Handover
Start handing a business (record, website, domains) over to the client's own LotsBusiness account. Its linked apps go with it when the client accepts: the LotsMail domain, the LotsSocial brand, the LotsBlog blog, the LotsCRM workspace (only when no other business uses it) and the LotsInvoice business. Call preview_business_handover first and show the person what moves and what stays. Returns a link for the client and `moves`. The client signs in with that email, picks a workspace that pays for the business, and accepts. keep_agency_access (default true) keeps your agency as manager if the client agrees.
start_google_business_verificationStart Google Business Verification
Start one of the verification methods returned by Google. Do not choose a delivery destination or method that Google did not return.
suggest_site_kitSuggest Site Kit
The starter kit that best fits the business's categories and type.
get_my_business_orderTrack My Order
One order for the retired one-time services (placed before 2026-10-18). New work is done with a paid business: see activate_business.
unpublish_siteUnpublish Site
Take the website offline without deleting anything. Owners and admins only; ask first.
update_businessUpdate Business
Update the business record: name, type, contact details, address (physical only), city, categories, descriptions, time zone ("auto" takes it from the address), logo and cover. list_in_directory true or false switches the public directory listing on or off (owners and admins); a listing held for review or rejected cannot be switched (LISTING_HELD). Prefer set_business_hours for hours, special hours and timezone, set_business_links for social profiles and the booking link, and set_business_services for services.
update_business_memberUpdate Business Team Member
Change a non-owner team member role or remove the member. Business ownership is handled only through the ownership/claim flow.
update_client_linkUpdate Client Link
Change the client page link of this business: client_email (who gets the daily email when something new waits; an empty string removes it), client_name, or renew: true (works for 90 days from now). Owners, admins and managers.
update_client_reportUpdate Client Report
Change one client report: note (the agency's note to the client, up to 1,000 characters; empty removes it; not after a monthly report was sent), stopped (true stops this month's monthly report so it is not sent; false sends it after all) or extend_link: true (the report's link lasts again from today: 90 days on demand, 400 days monthly). Owners, admins and managers of the business.
update_contact_messageUpdate Contact Message
Mark a contact message read, archived, spam or new.
update_business_profileUpdate My Profile
Update your personal LotsBusiness member profile (display name, bio, avatar). Not the business record: use update_business for that.
update_site_contentUpdate Site Content
Save the website draft. Send the whole content (as get_site_content returns it), or changes (a list of edits: update_section, replace_section, add_section, remove_section, move_section, set_field, add_list_item, remove_list_item, move_list_item, update_page, add_page, remove_page, move_page, update_settings; a section by its id or its name, "page/name" when two pages share one), or from_version to restore what a version published from sections showed, or discard: true to go back to what the live site shows, or undo_edits: true to undo every edit since the last import or AI build (the new site stays). Custom sections (type custom: name, html, css, js) hold any design; edit their marked fields with set_field ("title", "programs.1.title") and their lists with the list ops. Only the draft changes: the live site changes on publish_site_content. Phone, email, address, hours, services, photos, questions and reviews always come from the business record: bind text to a fact with {"bind":"phone"} (data-lb="phone" in custom markup) instead of typing it. Never invent reviews, numbers, awards or prices. The answer is small: the new revision, what changed (sections, pages, settings), the page check and live_matches_draft. The draft and its outline are left out unless you send include_content: true (get_site_content returns them any time).
update_site_settingsUpdate Site Settings
Change the site's settings without touching files: whatsapp_button, call_bar, verification (google, bing, yandex, pinterest, facebook codes), verification_file, analytics (ga4, gtm, meta_pixel, clarity), consent_banner, default_description, share_image, favicon, redirects, announcement, open_badge, map, badge. Also indexable and subdomain. Applies to the live site within a minute.
update_site_themeUpdate Site Theme
For kit sites: change colours, font, sections and pages, or switch kit. Creates a new draft version.
update_workspaceUpdate Workspace
Rename a workspace. Owners and admins only.
update_workspace_memberUpdate Workspace Member
Change a workspace member's role or remove them. The owner cannot be changed. Owners and admins only.
upload_site_imageUpload Site Image
Upload an image for the site from an https image_url (up to 10 MB) or image_base64 (up to 5 MB) (PNG, JPEG, WebP, GIF, AVIF, ICO, SVG; under 300 KB is best). Returns a blob to include in create_site_version. Bigger files, videos (mp4, webm up to 50 MB), PDFs and fonts: create_site_upload.
verify_business_claimVerify A Claim
Check whether the verification token is now present on the business website and complete the claim if it is.
verify_business_emailVerify Business Email
Check the ownership TXT record for the business's email domain after the owner adds it. On a domain whose DNS we run it also runs the next setup step now (records, verification, receiving).
submit_business_reviewWrite A Review
Write a 1-5 star review of a business. One review per person per business. Every review is checked before it appears publicly, and you cannot review a business you own.
