L'Atlas / MCP servers / HamroLink Business OS MCP Server
MCP server

HamroLink Business OS MCP Server

io.github.SumanBasnet07/hamrolink-mcp

MCP server OK 98 tools

Get a review See pricing

98 MCP tools for Nepal websites, eSewa/Khalti stores, CRM, 13% VAT billing & school/fleet ops.

Technical sheet

Author
SumanBasnet07 (registry namespace)
Repository
github.com/SumanBasnet07/hamrolink-mcp
Site
—
Version
1.0.0
Transport
Streamable HTTP
Authentication
None (observed by our test)
Server address
https://app.hamrolink.com/api/mcp/sse Streamable HTTP
Tools
98
Categories
Commerce and marketing
Last updated
3 Dec 2026
Published
3 Dec 2026

Verified author and popularity

Entry not claimed yet. Is it your project? Claim it

Not “Popular” for now Removed automatically as soon as the criteria are no longer met.

  • Distinct visitors of this entry over 30 days: 9 (30 needed) not yet
  • or install configs copied over 30 days: 0 (5 needed) not yet
  • and a successful test less than 14 days old: tested 3 Dec 2026 met

Badge updates by itself. Always “tested on …”, never “certified”. How it works

MarkdownREADME.md
[![Status on L’Atlas](https://latlas.dev/badge/statut/mcp/io.github.SumanBasnet07/hamrolink-mcp.svg?lang=en)](https://latlas.dev/en/mcp/io.github.SumanBasnet07/hamrolink-mcp)
HTML
<a href="https://latlas.dev/en/mcp/io.github.SumanBasnet07/hamrolink-mcp"><img src="https://latlas.dev/badge/statut/mcp/io.github.SumanBasnet07/hamrolink-mcp.svg?lang=en" alt="Status on L’Atlas" height="20"></a>

Badge for your README

Listed on L’Atlas

Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.

MarkdownREADME.md
[![Listed on L’Atlas](https://latlas.dev/badge/fiche/io.github.SumanBasnet07/hamrolink-mcp.svg?lang=en)](https://latlas.dev/en/mcp/io.github.SumanBasnet07/hamrolink-mcp)
HTML
<a href="https://latlas.dev/en/mcp/io.github.SumanBasnet07/hamrolink-mcp"><img src="https://latlas.dev/badge/fiche/io.github.SumanBasnet07/hamrolink-mcp.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>

Our tests

Every week: initialize then tools/list, without credentials, never calling a tool. Method

Address
https://app.hamrolink.com/api/mcp/sse
Last result
OK 3 Dec 2026, 15:30
Response time
1,147 ms (initialize + tools/list)
Protocol version
2024-11-05
Announced name
HamroLink Platform MCP Server 14.0.0
Tools
98

History

DateResultResponseTools
3 Dec 2026, 15:30OK1,147 ms98

Exposed tools (98, from tools/list, 3 Dec 2026)

website.list_templates

Lists available HamroLink website templates with visual preview thumbnails for a category. Always display the returned template preview thumbnails in your chat response using Markdown: '![Template Name](thumbnail_url)' so the user sees a visual preview of each design before choosing.

ParameterTypeRequiredDescription
categorystringnoCategory filter: 'portfolio', 'restaurant', 'consultancy', 'school', 'ecommerce', 'business', 'blog', or 'all'.
querystringnoOptional keyword, sub-niche, or style to search (e.g. 'clothing', 'fashion', 'electronics', 'grocery', 'modern', 'nexus', 'dark', 'minimal', 'flagship').
limitnumbernoMax templates to return (1-4, default 4).
offsetnumbernoPagination offset. When the user asks for more, other, or different templates, increment this offset by the limit (e.g. 0, 4, 8, 12, 16...) so you never repeat the same templates.

website.preflight

STEP 1 of website creation (REQUIRED before website.create). Call this whenever the user wants to build/create a website, portfolio, store, school, or restaurant site. Before calling, collect from the user: name, subDomain, phone, email, and their bio/description (location optional). If any of name/subDomain/phone/email is missing, ASK the user in ONE short message for all missing items — do not ask one at a time and do not invent values. This validates the subdomain, checks plan limits, and returns a template preview + businessDetails. Always show that preview to the user including the visual thumbnail '![Template Preview](templatePreview.thumbnail)' and ask them to confirm. Creates nothing.

ParameterTypeRequiredDescription
namestringyesPerson or business name shown on the site (e.g. 'Renuka Tamang', 'Kathmandu Coffee'). Ask the user.
subDomainstringyesSubdomain the USER chose (lowercase, letters/numbers/hyphens, e.g. 'renuka-tamang' -> renuka-tamang.hamrolink.com). NEVER invent this — ask the user.
templateIdstringyesTemplate key from website.list_templates (e.g. 'portfolio-minimal') OR a category: 'portfolio', 'restaurant', 'consultancy', 'school', 'ecommerce', 'business', 'blog'.
phonestringnoPublic contact phone / WhatsApp number. Ask the user.
emailstringnoPublic contact email. Ask the user.
locationstringnoCity / country / address (e.g. 'Tokyo, Japan', 'Kathmandu').
descriptionstringnoThe user's bio, about text, or business description IN THEIR OWN WORDS. Pass the full text the user gave you — it is used to write all site content.
specialtiesarray<string>noOptional key skills, services, or products (3-6 items).

website.create

STEP 2 of website creation. Builds and publishes the real site (template + AI-written content from the user's details). ONLY call after website.preflight succeeded AND the user explicitly confirmed. Pass the proposalId returned by website.preflight, the same details, and confirmed=true. If the user says 'just create it' or 'とりあえず作成して' after preflight, that counts as confirmation — call this immediately instead of replying with text.

ParameterTypeRequiredDescription
proposalIdstringyesThe proposalId returned by website.preflight. REQUIRED to bind creation to the approved proposal.
namestringnoPerson or business name shown on the site (e.g. 'Renuka Tamang', 'Kathmandu Coffee'). Ask the user.
subDomainstringnoSubdomain the USER chose (lowercase, letters/numbers/hyphens, e.g. 'renuka-tamang' -> renuka-tamang.hamrolink.com). NEVER invent this — ask the user.
templateIdstringnoTemplate key from website.list_templates (e.g. 'portfolio-minimal') OR a category: 'portfolio', 'restaurant', 'consultancy', 'school', 'ecommerce', 'business', 'blog'.
phonestringnoPublic contact phone / WhatsApp number. Ask the user.
emailstringnoPublic contact email. Ask the user.
locationstringnoCity / country / address (e.g. 'Tokyo, Japan', 'Kathmandu').
descriptionstringnoThe user's bio, about text, or business description IN THEIR OWN WORDS. Pass the full text the user gave you — it is used to write all site content.
specialtiesarray<string>noOptional key skills, services, or products (3-6 items).
confirmedbooleanyesMust be true — the user confirmed the preflight preview.

add_website_page

Adds a new page to the user's EXISTING site and links it in the navbar. Exact pre-built page templates exist for /blog (live blog API), /about, /services, /contact, /privacy, and /terms. For all other page intents (e.g. personal portfolio showcases, facility tours, admissions, team, custom landing pages, product showcases), HamroLink builds a theme-aligned custom HTML/CSS page using our declarative SDK attributes (data-hl-contact, data-hl-action) and site theme tokens. You can also pass 'html', 'css', optional browser-side 'js' (executed in an isolated sandboxed iframe), or 'prompt' directly.

ParameterTypeRequiredDescription
pageNamestringyesName of the page (e.g. 'Blog', 'Services', 'About Us', 'Contact', 'Portfolio V2', 'Facility')
slugstringnoURL path slug (e.g. '/blog', '/services', '/about', '/contact', '/portfolio-v2', '/facility')
pageTypeenum: "blog" | "services" | "about" | "contact" | "privacy" | "terms" | "custom" | "blank_html"noTemplate layout structure. Exact templates exist for blog, services, about, contact, privacy, and terms. Use 'custom' or 'blank_html' for custom HTML/CSS/JS pages.
siteIdstringnoOptional Site ID. If omitted, applies to the user's active/latest website.
htmlstringnoOptional raw custom HTML content. When provided, creates a custom HTML/CSS/JS page.
cssstringnoOptional scoped CSS styling for the custom HTML page.
jsstringnoOptional browser-side JavaScript for interactive DOM manipulation, event listeners, calculators, quizzes, or animations (executed in an isolated sandboxed iframe with restrictive CSP).
promptstringnoOptional instructions or content brief describing what to build on the custom page (e.g. 'Personal portfolio with projects and contact form' or 'School science lab and campus facilities').
useCustomPrimitivesbooleannoSet to true only if the user explicitly commanded building a custom section-by-section layout instead of using the standard template.

update_navbar

Call this tool to add or remove links in the top navigation header bar (e.g. adding /services or removing /terms).

ParameterTypeRequiredDescription
actionenum: "add" | "remove"yesWhether to add or remove the link
labelstringyesLink display text (e.g. 'Services', 'Contact')
hrefstringnoTarget URL (e.g. '/services', 'https://...', or '#' for non-clickable)
siteIdstringnoOptional Site ID. If omitted, applies to the user's active website.

change_theme

Changes the visual theme and brand tokens of the user's EXISTING site across the entire storefront (header, footer, homepage, all content pages, and product detail pages) without altering page copy. Supports all 16 curated themes ('light', 'emerald', 'modern', 'warm', 'luxury', 'ocean', 'crimson', 'minimal', 'dark', 'forest', 'premium', 'bright', 'vibrant', 'colorful', 'bold', 'elegant') plus Basic and Advanced color/typography overrides. UI/UX & ANTI-SLOP RULES: Maintain strict WCAG AA+ contrast (4.5:1+); never pair dark text with dark card/background surfaces or light text with light surfaces. Follow 60-30-10 color balance (60% neutral surface, 30% card/border structure, 10% primary CTA & accent highlights).

ParameterTypeRequiredDescription
themeenum: "light" | "emerald" | "modern" | "warm" | "luxury" | "ocean" | "crimson" | "minimal" …yesThe curated theme preset to apply across the site.
isDarkModebooleannoOptional global contrast toggle: true for Dark Mode surfaces, false for Light Mode surfaces.
primaryColorstringnoOptional primary brand / CTA button hex color (e.g. '#ea580c', '#059669', '#2563eb').
buttonTextColorstringnoOptional text hex color inside primary buttons (e.g. '#ffffff').
accentColorstringnoOptional secondary badge / highlight hex color (e.g. '#f59e0b', '#10b981').
backgroundColorstringnoOptional custom page canvas background hex color (--background).
cardColorstringnoOptional custom card / box surface hex color (--card).
textColorstringnoOptional main heading & body text hex color (--foreground). Must contrast strongly with backgroundColor and cardColor.
mutedTextColorstringnoOptional subtitle / secondary text hex color (--muted-foreground).
borderColorstringnoOptional card border & divider hex color (--border).
fontFamilystringnoOptional global font family (e.g. "'Inter', sans-serif", "'Plus Jakarta Sans', sans-serif", "'Playfair Display', serif", "'Lora', serif", "'Space Grotesk', sans-serif", "'Outfit', sans-serif").
resetAdvancedOverridesbooleannoSet true to clear custom backgroundColor, cardColor, textColor, mutedTextColor, and borderColor overrides back to the theme's curated defaults.
siteIdstringnoOptional Site ID. If omitted, applies to the user's active website.

website.verify

ADVANCED (developers only — do NOT use for normal site creation; use website.preflight then website.create). Validates a raw SiteCreationPackage JSON.

ParameterTypeRequiredDescription
sitePackageobjectyesThe complete SiteCreationPackage JSON object

website.compile

ADVANCED (developers only — do NOT use for normal site creation). Dry-run compile of a raw SiteCreationPackage without saving.

ParameterTypeRequiredDescription
sitePackageobjectyesThe complete SiteCreationPackage JSON object

website.persist

ADVANCED (developers only — do NOT use for normal site creation; use website.preflight then website.create). Saves a hand-authored SiteCreationPackage JSON.

ParameterTypeRequiredDescription
sitePackageobjectyesThe complete SiteCreationPackage JSON object

website.publish

Publishes all draft pages for a site and re-indexes businessState summary for visitor AI Chatbot RAG.

ParameterTypeRequiredDescription
siteIdstringyesMongoDB Site ID

website.list

Lists all active tenant websites owned by the user account.

No parameters.

website.delete

Soft-deletes a tenant website.

ParameterTypeRequiredDescription
siteIdstringyesMongoDB Site ID

site.get_layout

Retrieves global site-wide header and footer sections, name, and company details.

ParameterTypeRequiredDescription
siteIdstringyesMongoDB Site ID

site.update_layout

Updates global site-wide header and footer sections (navigation menu, logo, footer links, copyright) rendered across all pages.

ParameterTypeRequiredDescription
siteIdstringyesMongoDB Site ID
namestringnoUpdated site name
headerarray<object>noArray of section objects for global header/navbar
footerarray<object>noArray of section objects for global footer
companyDetailsobjectnoGlobal company contact details

site.update_theme

Updates the visual theme and brand design tokens across the entire website (header, footer, homepage, all content pages, and e-commerce product detail pages). Supports Basic Mode (all 16 curated themes: 'light', 'emerald', 'modern', 'warm', 'luxury', 'ocean', 'crimson', 'minimal', 'dark', 'forest', 'premium', 'bright', 'vibrant', 'colorful', 'bold', 'elegant', plus Light/Dark mode switch and primary/accent brand colors) and Advanced Mode (granular overrides for buttonTextColor, backgroundColor, cardColor, textColor, mutedTextColor, borderColor, and fontFamily). HAMROLINK HALLMARK UI/UX & ANTI-SLOP GUIDELINES: 1) Strict Contrast (WCAG AA 4.5:1+): Never pair dark textColor with dark backgroundColor/cardColor or light textColor with light surfaces. When switching between Light and Dark mode, prefer setting resetAdvancedOverrides=true unless providing a complete, high-contrast custom surface+text palette. 2) 60-30-10 Color Rule: 60% clean page background, 30% subtle card surface & border, 10% high-intent primary CTA button & accent badge. Avoid clashing neon rainbow colors.

ParameterTypeRequiredDescription
siteIdstringnoMongoDB Site ID (optional if user has only one site)
themeenum: "light" | "emerald" | "modern" | "warm" | "luxury" | "ocean" | "crimson" | "minimal" …noCurated theme preset ('light', 'emerald', 'modern', 'warm', 'luxury', 'ocean', 'crimson', 'minimal', 'dark', 'forest', 'premium', 'bright', 'vibrant', 'colorful', 'bold', 'elegant').
themeModestringnoAlias for theme name (e.g. 'warm', 'emerald', 'luxury', 'dark', 'light').
isDarkModebooleannoGlobal Light/Dark contrast switch (true = Dark Mode surfaces, false = Light Mode surfaces).
primaryColorstringnoPrimary brand / button background hex color override (--primary, e.g. '#ea580c', '#059669')
buttonTextColorstringnoAdvanced: Text hex color inside primary buttons (--primary-foreground, e.g. '#ffffff')
secondaryColorstringnoOptional secondary brand hex color override
accentColorstringnoAccent / badge highlight hex color override (--accent, e.g. '#f59e0b', '#10b981')
backgroundColorstringnoAdvanced: Page canvas background hex color (--background, e.g. '#ffffff' or '#090d16')
cardColorstringnoAdvanced: Card, product box & container surface hex color (--card, e.g. '#f8fafc' or '#111827')
textColorstringnoAdvanced: Main heading & body copy hex color (--foreground, e.g. '#0f172a' or '#f8fafc'). Must have >= 4.5:1 contrast against backgroundColor and cardColor.
mutedTextColorstringnoAdvanced: Subtitle, caption & muted description hex color (--muted-foreground, e.g. '#475569' or '#94a3b8')
borderColorstringnoAdvanced: Card outline & section divider hex color (--border, e.g. '#e2e8f0' or '#1f2937')
fontFamilystringnoGlobal typography font family (e.g. "'Inter', sans-serif", "'Plus Jakarta Sans', sans-serif", "'Playfair Display', serif", "'Lora', serif", "'Space Grotesk', sans-serif", "'Outfit', sans-serif")
resetAdvancedOverridesbooleannoSet true to reset custom backgroundColor, cardColor, textColor, mutedTextColor, and borderColor back to the active theme's curated defaults.
scopestringnoScope of application ('site', 'all_pages', 'header_only', 'footer_only'). Defaults to 'site' (full site sync).

site.update_header

Targeted helper to update site header/navbar (logo, navigation links, CTA button, phone, email) without touching the rest of the site.

ParameterTypeRequiredDescription
siteIdstringyesMongoDB Site ID
headerarray<object>noComplete header sections array (optional)
logoobjectnoLogo configuration object with url, alt, text
navLinksarray<object>noArray of navigation links [{ label: string, href: string }]
addLinkobjectnoQuick link to append to existing navbar, e.g. { label: 'Blog', href: '/blog' }
removeLinkstringnoLabel or href of link to remove from navbar (e.g. '/privacy' or 'Terms')
ctaButtonobjectnoCTA button configuration { text: string, href: string }
phonestringnoTop bar or contact phone number
emailstringnoTop bar or contact email

site.update_footer

Targeted helper to update site footer (company description, address, phone, email, links, copyright) without touching other layout sections.

ParameterTypeRequiredDescription
siteIdstringyesMongoDB Site ID
footerarray<object>noComplete footer sections array (optional)
companyNamestringnoCompany / business display name
descriptionstringnoShort business description or mission
addressstringnoPhysical office / branch address
phonestringnoContact phone number
emailstringnoContact email address
linksarray<object>noFooter links columns or array
copyrightstringnoCustom copyright statement

media.upload

Transcodes and permanently saves image(s) into the user's HamroLink Media Library (Cloudflare R2 CDN as optimized WebP). Supported low-token inputs: (1) ChatGPT Apps SDK: pass attached or AI-generated image(s) via 'file' or 'files' (uses openai/fileParams signed download_url); (2) Any client with a public or temporary signed HTTPS image URL: pass 'url' or 'download_url'. NEVER encode or pass raw base64 image strings in tool arguments (wastes excessive tokens). If your client cannot supply 'file'/'files' or an HTTPS URL (e.g., Claude offline sandbox or Gemini web chat), ask the user for a public HTTPS image URL or to upload directly in HamroLink's Media Library UI, then call 'media.list'.

ParameterTypeRequiredDescription
fileobjectnoAttached or AI-generated image file object from ChatGPT Apps SDK (automatically resolved via openai/fileParams with download_url and file_id).
filesarray<object>noOptional batch of up to 10 attached or AI-generated image file objects from ChatGPT Apps SDK.
urlstringnoPublic image URL (e.g. Unsplash stock photo) for HamroLink backend to download, optimize, and host.
download_urlstringnoTemporary signed HTTPS download URL where HamroLink backend can fetch the image binary directly.
namestringnoOptional image filename or label (e.g. 'the-ai-paradox.png')
folderstringnoDestination folder in the Media Library (default: 'uploads')
siteIdstringnoOptional Site ID to associate media with

media.list

Lists non-private images already uploaded to the user's HamroLink Media Library (returning live CDN URLs, filenames, folders, sizes, and storage quota stats) so you can inspect or reuse existing images across pages, blogs, and products.

ParameterTypeRequiredDescription
searchstringnoOptional filename or key search query
folderstringnoOptional folder filter (e.g. 'uploads', 'blog', 'products')
siteIdstringnoOptional Site ID to filter media linked to a specific site
limitnumbernoMax items to return (1-50, default 20)

media.get_presigned_url

Generates a direct presigned PUT upload URL ONLY for callers whose execution environment has direct outbound internet access to *.r2.cloudflarestorage.com (such as local terminals, Claude Code with network enabled, or Gemini CLI scripts). WARNING: Calling this tool ONLY reserves an upload endpoint—it does NOT upload any file, and sandboxed chats (ChatGPT, Claude.ai offline sandboxes) block outbound HTTP PUT requests. Inside sandboxed chats, NEVER call this tool—use 'media.upload' with 'file'/'files', 'download_url', or 'url', or ask the user to upload in HamroLink's Media Library UI and call 'media.list'. Never place the returned 'cdnUrl' into pages until an HTTP PUT actually succeeds.

ParameterTypeRequiredDescription
filenamestringyesFilename with extension (e.g. 'logo.png', 'team.webp')
contentTypestringnoMIME type (e.g. 'image/png', 'image/jpeg', 'image/webp')
folderstringnoDestination folder (default: 'uploads')

page.list

Lists all pages belonging to a specific tenant website (e.g. /, /about, /contact, /services).

ParameterTypeRequiredDescription
siteIdstringyesMongoDB Site ID

page.get

Retrieves section components and content for a specific page slug on a site.

ParameterTypeRequiredDescription
siteIdstringyesMongoDB Site ID
slugstringyesPage slug (e.g. '/' or '/about' or '/contact')

page.update

Updates an existing page. SUPPORTS DIRECT RAW HTML/CSS/JS INJECTION: Pass 'html', 'css', and optional browser-side 'js' (executed in an isolated sandboxed iframe with restrictive CSP) to update or replace the page content with custom handwritten HTML, scoped CSS, and interactive JavaScript (e.g. calculators, quizzes, dynamic product experiences, personal portfolio showcase, custom landing page). You can also pass 'prompt' to have HamroLink automatically style or rewrite the page using site theme tokens and declarative SDK attributes (data-hl-contact, data-hl-action).

ParameterTypeRequiredDescription
siteIdstringyesMongoDB Site ID
slugstringyesTarget page slug (e.g. '/' or '/about' or '/portfolio-v2-test')
namestringnoUpdated page name
newSlugstringnoOptional new URL slug to rename this page (e.g. '/our-services' or '/' to make it the website homepage)
makeHomePagebooleannoSet to true to make this page the primary homepage ('/') of the website. The current homepage will be safely archived to '/home-previous'.
htmlstringnoDirect custom HTML markup to update or replace the page content with a custom HTML/CSS/JS layout. Automatically sanitized with DOMPurify.
cssstringnoDirect scoped CSS styling for the custom HTML page. Automatically scoped with PostCSS.
jsstringnoOptional browser-side JavaScript for interactive DOM manipulation, event listeners, calculators, quizzes, or animations (executed in an isolated sandboxed iframe with restrictive CSP).
promptstringnoInstructions or content brief describing what to update or style on the page.
rehydrateWithAibooleannoSet to true to automatically rewrite or style the page content with AI matching site brand tokens.
sectionsarray<object>noArray of section objects to replace page content (optional if 'html' or 'prompt' is provided)
publishedbooleannoPublication status (default true)
seoobjectnoSEO title, description, keywords, image, and structuredData schema

page.add_section

Appends or prepends a section to a page. Supports standard sections or custom code sections with raw HTML, CSS, and optional browser-side JavaScript (type: 'custom_code', html: ' ... ', css: '...', js: '...'). When adding interactive widgets (calculators, quizzes, interactive previews) or announcements, supply responsive HTML & CSS (and optional sandboxed JS via 'js') or specify 'name' and 'position: start'. Automatically sanitizes HTML, scopes CSS, and isolates JS in a sandboxed iframe.

ParameterTypeRequiredDescription
siteIdstringyesMongoDB Site ID
slugstringyesTarget page slug (e.g. '/' or '/about')
typestringnoSection type. Use 'custom_code' for custom HTML/CSS/JS sections, or standard types like 'features', 'cta', 'hero', etc. Defaults to 'custom_code'.
htmlstringnoCustom HTML markup (required if type is 'custom_code' or when adding an HTML block)
cssstringnoOptional scoped CSS styles for the HTML section
jsstringnoOptional browser-side JavaScript for interactive DOM manipulation, event listeners, calculators, quizzes, or animations (executed in an isolated sandboxed iframe with restrictive CSP).
namestringnoDisplay name or label for the section (e.g. 'Announcement Banner', 'Custom Pricing Calculator')
positionenum: "end" | "start"noWhere to insert the section: 'end' (default) or 'start' (top of page)
sectionDataobjectnoOptional full section object or custom content dictionary

page.remove_section

Removes a section from a page by section ID or section type. If the page uses a monolithic template (e.g. ecommerce, portfolio, consultancy, restaurant), it safely hides the target sub-block (e.g. showFeatures: false, showTestimonials: false, showFaq: false) without deleting the entire page or template.

ParameterTypeRequiredDescription
siteIdstringyesMongoDB Site ID
slugstringyesTarget page slug (e.g. '/' or '/about')
sectionIdstringnoThe ID of the section to remove (e.g. 'custom-code-12345' or block identifier)
sectionTypestringnoThe type or block name of the section to remove (e.g. 'hero', 'features', 'testimonials', 'faq', 'cta', 'custom_code')

page.create

Creates and publishes a new page on an existing website and links it to the navbar. Exact pre-built templates exist for /blog (live blog API), /about, /services, /contact, /privacy, and /terms. For all other page intents (e.g. personal portfolio showcases, facility tours, admissions, team, custom landing pages, interactive calculators/quizzes, product catalogs), HamroLink automatically constructs a tailored, theme-aligned custom HTML/CSS page with declarative SDK actions. You can pass 'html', 'css', optional browser-side 'js' (executed in an isolated sandboxed iframe), or 'prompt' directly.

ParameterTypeRequiredDescription
siteIdstringyesMongoDB Site ID
namestringyesName of the new page (e.g. 'Portfolio V2', 'Blog', 'About Us', 'Facility', 'Scholarships')
slugstringyesURL slug for the new page (e.g. '/portfolio-v2', '/blog', '/about', '/facility', '/scholarships')
templateIdstringnoTemplate layout key. Use 'blank_html' for an empty custom HTML/CSS/JS canvas page, or 'about'/'services'/'contact'/'privacy'/'terms' for exact page templates.
htmlstringnoOptional raw custom HTML content. When provided, creates a custom HTML/CSS/JS page.
cssstringnoOptional scoped CSS styling for the custom HTML page.
jsstringnoOptional browser-side JavaScript for interactive DOM manipulation, event listeners, calculators, quizzes, or animations (executed in an isolated sandboxed iframe with restrictive CSP).
promptstringnoOptional instructions or content brief describing what to build on the custom page (e.g. 'Personal portfolio showcase with projects and interactive contact form' or 'School science lab and campus facilities').
sectionsarray<object>noOptional. Leave omitted to automatically use HamroLink's pre-built template or custom synthesis. Only provide if constructing custom sections, and include complete data for each section.
publishedbooleannoSet true to publish immediately
seoobjectnoSEO title, description, keywords, image, and structuredData schema
useCustomPrimitivesbooleannoSet true only if the user explicitly requests custom primitives instead of the standard template.

page.delete

Permanently deletes a page from an existing website by slug or pageId, cleans up navigation menu links, and invalidates edge caches. The homepage ('/') cannot be deleted.

ParameterTypeRequiredDescription
siteIdstringyesMongoDB Site ID
slugstringnoURL slug of the page to delete (e.g. '/portfolio-v2-test' or '/about')
pageIdstringnoOptional MongoDB Page ID
confirmedbooleannoConfirm permanent deletion (default true for external MCP)

blog.list_authors

Lists saved blog authors (and the default author with avatar) configured for a specific tenant site.

ParameterTypeRequiredDescription
siteIdstringyesMongoDB Site ID

blog.list_posts

Lists published blog posts for a specific tenant site.

ParameterTypeRequiredDescription
siteIdstringyesMongoDB Site ID

blog.get_post

Retrieves a single blog post by slug.

ParameterTypeRequiredDescription
siteIdstringyesMongoDB Site ID
slugstringyesBlog post slug

blog.create_post

Creates and publishes a new blog article on a website.

ParameterTypeRequiredDescription
siteIdstringyesMongoDB Site ID
titlestringyesTitle of the blog post
slugstringnoOptional custom URL slug
contentstringyesMain blog content formatted in Markdown (use '##' for section headings, '###' for subsections, **bold**, - bullet lists, > quotes). DO NOT include a top '# Title' (H1) in content because the title is already rendered by the page header.
excerptstringnoShort summary excerpt
coverImageUrlstringnoPublic image URL for cover photo (e.g. Unsplash stock photo or verified CDN URL). NEVER use an un-uploaded presigned URL. If no image is available, omit or leave empty.
authorNamestringnoOptional author name. LEAVE OMITTED to automatically use the site's saved default Blog Author (with avatar). Never invent a generic placeholder name like 'Editorial Team' or 'Tech Desk'; call blog.list_authors first if you want to check or pick a saved author.
categorystringnoArticle category (e.g. 'Student Visa', 'NAT-TEST')
tagsarray<string>noList of tags (e.g. ['Japan', 'N5', 'COE'])
isPublishedbooleannoPublish status (default true)

blog.update_post

Updates an existing blog article.

ParameterTypeRequiredDescription
siteIdstringyesMongoDB Site ID
slugstringyesTarget post slug
titlestringnoUpdated title
contentstringnoUpdated content
excerptstringnoUpdated excerpt
coverImageUrlstringnoUpdated cover image URL. Pass a live public image URL or verified CDN URL. If omitting change, leave unchanged.
authorNamestringnoUpdated author name (matching a saved author from blog.list_authors will also apply their saved avatar)
categorystringnoUpdated category
tagsarray<string>noUpdated tags
isPublishedbooleannoUpdated publish status

blog.delete_post

Deletes a blog article from a site.

ParameterTypeRequiredDescription
siteIdstringyesMongoDB Site ID
slugstringyesTarget post slug to delete

commerce.list_products

Lists e-commerce products for a specific site.

ParameterTypeRequiredDescription
siteIdstringyesMongoDB Site ID
categorystringnoOptional category filter

commerce.get_product

Retrieves details for a single e-commerce product.

ParameterTypeRequiredDescription
siteIdstringyesMongoDB Site ID
productIdstringyesProduct MongoDB ID

commerce.create_product

Creates and adds a new product (with optional size/weight/color variants) to an e-commerce website store inventory.

ParameterTypeRequiredDescription
siteIdstringyesMongoDB Site ID
namestringyesProduct name (e.g. 'Single Origin Ilam CTC Tea')
descriptionstringnoProduct description (Markdown supported)
pricenumberyesProduct regular price in NPR
offerPricenumbernoOptional discounted offer price in NPR
currencystringnoCurrency code (default 'NPR')
stocknumbernoInventory stock count
categorystringnoProduct category (e.g. 'Tea', 'Pashmina', 'Handicrafts')
imagesarray<string>noArray of product image URLs
tagsarray<string>noList of tags
variantTypestringnoType of variants (e.g. 'ram_storage', 'ram', 'storage', 'mobile', 'size', 'color', 'weight', 'flavor', 'custom')
variantsarray<object>noList of variant objects with name, price, offerPrice, and stock

commerce.update_product

Updates an existing product or specific variants in store inventory (supports additive stockDelta and atomic bulk variantUpdates) with post-write persistence verification.

ParameterTypeRequiredDescription
siteIdstringyesMongoDB Site ID
productIdstringyesMongoDB Product ID
namestringnoUpdated name
descriptionstringnoUpdated description
pricenumbernoUpdated price
offerPricenumbernoUpdated offer price
stocknumbernoUpdated stock count
stockDeltanumbernoAdditive stock adjustment (e.g. +10)
targetVariantstringnoOptional specific variant selector
colorstringnoOptional variant color
sizestringnoOptional variant size
variantUpdatesarray<object>noAtomic bulk multi-variant updates ({ targetVariant/color/size, stock?, stockDelta?, price? })
categorystringnoUpdated category
imagesarray<string>noUpdated images array
variantTypestringnoType of variants (e.g. 'ram_storage', 'ram', 'storage', 'mobile', 'size', 'color', 'weight', 'flavor', 'custom')
variantsarray<object>noList of variant objects with name, price, offerPrice, and stock

commerce.category_list

Lists all distinct product categories and their product/stock counts in the store catalog.

ParameterTypeRequiredDescription
siteIdstringnoOptional MongoDB Site ID
siteNamestringnoOptional store name

commerce.sales_report

Aggregates historical store Orders into units sold, completed vs. cancelled orders, gross order value, received PAID revenue, pending revenue, and variant/size breakdowns.

ParameterTypeRequiredDescription
productIdstringnoOptional product ID filter
productNamestringnoOptional product name filter
siteIdstringnoOptional store Site ID
siteNamestringnoOptional store name
startDatestringnoOptional ISO start date
endDatestringnoOptional ISO end date

commerce.apply_offer_or_discount

Applies OR updates a special offer and linked storefront banner on a specific product variant (`targetVariant`/`targetVariants`) or on the whole product and all its variants in place (preserves existing promotion dates and regular prices unless explicitly changed) or adds a discount coupon code.

ParameterTypeRequiredDescription
siteIdstringnoOptional MongoDB Site ID
productIdstringnoOptional product ID
productNamestringnoProduct name to search and update
targetVariantstringnoOptional specific variant (e.g. '128GB', '8GB / 256GB', 'White / S', variant ID, or SKU) to discount or remove offer from. When provided, ONLY that variant is discounted and sibling variants keep their regular price. Omit to discount the whole product and all its variants.
targetVariantsarray<string>noOptional list of multiple specific variants (e.g. ['128GB', '256GB']) to apply or remove the discount on.
variantIdstringnoOptional exact variant ID to target (alias for targetVariant)
variantNamestringnoOptional variant name/label to target (alias for targetVariant)
promotionNamestringnoOptional promotion/campaign name
typeenum: "special_offer" | "coupon" | "remove_offer"yesPromotion type: 'special_offer' updates live offerPrice & banner; 'coupon' adds checkout promo code; 'remove_offer' resets
discountPercentagenumbernoDiscount percentage (e.g. 15)
offerPricenumbernoSpecial offer price in NPR (e.g. 1530)
durationMinutesnumbernoOptional duration in minutes from now
durationHoursnumbernoOptional duration in hours
durationDaysnumbernoOptional duration in days
startDatestringnoOptional ISO start timestamp (omit to preserve existing)
endDatestringnoOptional ISO expiry timestamp (omit to preserve existing)
publishBannerbooleannoSet true to publish storefront banner, false for draft; omit to preserve
headlinestringnoOptional storefront banner headline
subheadlinestringnoOptional storefront banner subheadline
badgeTextstringnoOptional pill badge text (e.g. '15% OFF')
themeenum: "red" | "dark" | "gradient" | "gold" | "emerald"noOptional banner color theme
couponCodestringnoCoupon code (e.g. 'SAVE10')

commerce.delete_product

Deletes a product from the e-commerce store.

ParameterTypeRequiredDescription
siteIdstringyesMongoDB Site ID
productIdstringyesMongoDB Product ID

commerce.order_create

Creates a verified e-commerce customer order (COD or QR payment) with atomic inventory validation and deduction, server-side total calculation, and post-write database verification.

ParameterTypeRequiredDescription
siteIdstringnoOptional store Site ID
siteNamestringnoOptional store name (e.g. 'Pokhara Clothing')
customerNamestringyesCustomer full name
customerPhonestringyesCustomer phone number
customerEmailstringnoOptional customer email
customerAddressstringyesDelivery address
paymentMethodenum: "cod" | "cash_on_delivery" | "qr_code"noPayment method (default: 'cod')
deliveryTypeenum: "delivery" | "pickup"noDelivery or pickup (default: 'delivery')
itemsarray<object>noArray of line items: [{ productId?, productName?, variant?, size?, color?, quantity }]
productIdstringnoShorthand single-item product ID
productNamestringnoShorthand single-item product name
variantstringnoShorthand single-item variant name
sizestringnoShorthand single-item size
colorstringnoShorthand single-item color
quantitynumbernoShorthand single-item quantity

commerce.order_list

Queries individual e-commerce customer orders, line items, fulfillment status, independent paymentStatus, and campaign/session attribution across tenant storefronts.

ParameterTypeRequiredDescription
siteIdstringnoOptional store Site ID filter
siteNamestringnoOptional store name (e.g. 'Pokhara Clothing')
orderIdstringnoOptional exact Order ID (e.g. 'ORD-510738-448')
searchstringnoOptional search by orderId, customer name, phone, email, or product name
customerNamestringnoOptional customer name filter
customerPhonestringnoOptional customer phone filter
productNamestringnoOptional product name filter
statusenum: "pending" | "paid" | "confirmed" | "preparing" | "ready_for_pickup" | "out_for_delivery" | "shipped" | "delivered" …noOptional fulfillment status filter
paymentStatusenum: "PENDING" | "PAID" | "FAILED" | "REFUNDED"noOptional independent paymentStatus filter
attributionStatusenum: "attributed" | "unattributed"noOptional attribution filter (attributed vs unattributed)
limitnumbernoMaximum orders to return (default 15, max 50)

commerce.order_update_status

Updates ONLY the fulfillment lifecycle status of an e-commerce or store order (e.g. pending, confirmed, preparing, ready_for_pickup, out_for_delivery, shipped, delivered, completed, cancelled). Never modifies paymentStatus. Automatically generates a digital sale invoice when confirming, idempotently restocks inventory upon cancellation, and sends a notification email to the customer.

ParameterTypeRequiredDescription
orderIdstringyesOrder ID (e.g. 'ORD-123456-789') or MongoDB 24-character _id
statusenum: "pending" | "paid" | "confirmed" | "preparing" | "ready_for_pickup" | "out_for_delivery" | "shipped" | "delivered" …yesNew order fulfillment lifecycle status
sendCustomerEmailbooleannoWhether to send an email notification to the customer with digital invoice receipt (default: true)
estimatedTimestringnoOptional estimated delivery or pickup time

commerce.order_update_payment_status

Independently updates ONLY the paymentStatus (PENDING, PAID, FAILED, REFUNDED) of an order without modifying its fulfillment status or inventory. Only mark PAID after explicit merchant confirmation of actual cash or QR receipt.

ParameterTypeRequiredDescription
orderIdstringyesOrder ID (e.g. 'ORD-123456-789') or MongoDB 24-character _id
paymentStatusenum: "PENDING" | "PAID" | "FAILED" | "REFUNDED"yesNew independent payment status
paymentNotestringnoOptional verification or refund note

restaurant.menu_list

Queries restaurant menu items, categories, dietary flags, and active discount offers.

ParameterTypeRequiredDescription
siteIdstringnoOptional restaurant Site ID
categorystringnoDish category (e.g. 'Momo', 'Appetizers', 'Drinks')
isVegetarianbooleannoVegetarian filter
searchstringnoSearch query

restaurant.menu_create

Creates and adds a new dish or food item to the restaurant menu catalog.

ParameterTypeRequiredDescription
siteIdstringnoOptional Site ID
namestringyesDish name
pricenumberyesPrice in NPR
categorystringyesCategory
descriptionstringnoDish description or ingredients
isVegetarianbooleanno
isSpicybooleanno
imagestringnoImage URL

restaurant.menu_update

Updates an existing dish on the restaurant menu.

ParameterTypeRequiredDescription
dishIdstringnoDish ID
namestringnoDish name
pricenumbernoNew price in NPR
isAvailablebooleannoAvailability toggle
descriptionstringno
isVegetarianbooleanno
isSpicybooleanno

restaurant.apply_discount

Applies a special offer or discount percentage to a restaurant dish.

ParameterTypeRequiredDescription
dishNamestringnoDish name
dishIdstringnoOptional dish ID
discountPercentagenumbernoDiscount %
offerPricenumbernoDirect offer price in NPR
removeOfferbooleannoReset offer

restaurant.order_list

Queries live restaurant orders (Home Delivery, Pickup, Dine-in) and table reservations.

ParameterTypeRequiredDescription
orderTypeenum: "all" | "delivery" | "pickup" | "dine_in"no
statusstringno
searchstringno

restaurant.order_update_status

Updates lifecycle status and estimated prep/delivery time for a restaurant order.

ParameterTypeRequiredDescription
orderIdstringyesOrder ID (e.g. REST-123456-789)
statusenum: "pending" | "confirmed" | "preparing" | "ready_for_pickup" | "out_for_delivery" | "completed" | "cancelled"yes
estimatedTimestringnoEstimated time (e.g. '25 mins')

crm.list_leads

Queries customer and student leads submitted via lead forms across tenant sites.

ParameterTypeRequiredDescription
siteIdstringnoOptional Site ID filter

analytics.get_summary

Retrieves Business-plan+ measured visitor analytics, sessions, traffic sources, funnel metrics, and top viewed products for a site (requires Business plan or higher).

ParameterTypeRequiredDescription
siteIdstringnoOptional MongoDB Site ID (defaults to active storefront)
siteNamestringnoOptional storefront name filter (e.g. 'Pokhara Clothing')
rangeenum: "today" | "7d" | "30d" | "90d" | "custom"noDate range preset (default '7d')
daysnumbernoLookback window in days (default 7, max 90)
startDatestringnoOptional ISO start date
endDatestringnoOptional ISO end date
attributionModelenum: "last_touch" | "first_touch"noAttribution model
orderOriginFilterenum: "all" | "storefront_only" | "migrated_or_manual"noOptional order origin filter (default 'all')

analytics.get_journey_report

Retrieves complete Business-plan+ Storefront Customer Acquisition & Purchase Journey analytics (visitors, HTTP referrers vs UTM campaigns, First-Touch vs Last-Touch attribution, session conversion funnel, product vs variant-level performance, sales & unattributed order split, order origins, and period comparison).

ParameterTypeRequiredDescription
siteIdstringnoOptional MongoDB Site ID (defaults to active storefront)
siteNamestringnoOptional storefront name filter (e.g. 'Pokhara Clothing')
rangeenum: "today" | "7d" | "30d" | "90d" | "custom"noDate range preset (default '7d')
daysnumbernoLookback window in days (default 7, max 90)
startDatestringnoOptional ISO start date
endDatestringnoOptional ISO end date
attributionModelenum: "last_touch" | "first_touch"noAttribution model (default last_touch)
orderOriginFilterenum: "all" | "storefront_only" | "migrated_or_manual"noOptional order origin filter (default 'all')
sectionenum: "all" | "overview" | "acquisition" | "campaigns" | "funnel" | "products" | "sales" | "comparison"noOptional report focus (default 'all')
pagenumbernoPagination page number (default 1)
limitnumbernoMax rows per table (default 20, max 100)
includeComparisonbooleannoInclude previous period comparison deltas (default true)

consultancy.pipeline_overview

Returns count and metrics of students across 6 consultancy admissions stages.

No parameters.

consultancy.student_list

Lists students filtered by stage, country, priority, or missing document flags.

ParameterTypeRequiredDescription
stagestringnoStage filter (inquiry, counseling, application, coe, visa_prep, enrolled)
destinationCountrystringnoCountry filter (Japan, Australia, Canada, USA, UK)
prioritystringnoPriority filter (low, medium, high, urgent)
limitnumbernoMax results (default 50)

consultancy.student_detail

Retrieves complete student profile including universities, documents, test scores, and notes.

ParameterTypeRequiredDescription
studentNamestringnoName of the student
leadIdstringnoStudent lead ID

consultancy.urgent_documents

Finds students with missing or overdue documents sorted by deadline urgency.

ParameterTypeRequiredDescription
maxDaysUntilDeadlinenumbernoFilter documents due within X days

consultancy.send_reminder

Sends document submission reminder emails to students missing required files.

ParameterTypeRequiredDescription
docLabelstringyesDocument name (e.g. 'Passport', 'Academic Transcripts')
confirmedbooleannoSet true to send live email after preview

school.application_submit

Registers a student admission application with grade, parent contact, and student details.

ParameterTypeRequiredDescription
studentNamestringyesStudent full name
gradestringyesGrade / Class applying for
parentNamestringnoParent or guardian name
phonestringnoContact phone number
emailstringnoContact email

email.draft

Drafts a personalized customer email with variable interpolation for preview.

ParameterTypeRequiredDescription
tostring | array<string>yesRecipient email address, array of addresses, or audience tag ('all', 'customers', 'leads', 'students')
subjectstringyesEmail subject line
messagestringyesEmail body text
headingstringnoOptional email header title
templatestringnoOptional template key ('marketing', 'newsletter', 'announcement', 'followup', 'support', 'blank')
primaryColorstringnoOptional brand color hex
ctaTextstringnoOptional CTA button label
ctaUrlstringnoOptional CTA destination URL

email.send

Dispatches an approved email to recipient via SES with atomic quota tracking.

ParameterTypeRequiredDescription
tostring | array<string>yesRecipient email address, array of addresses, or audience tag ('all', 'customers', 'leads', 'students')
subjectstringyesEmail subject line
messagestringyesEmail body text
headingstringnoOptional email header title
templatestringnoOptional template key
confirmedbooleannoConfirmation flag (must be true to send)

editorial.opportunity_discover

Discovers high-impact blog topic opportunities from customer inquiries and site trends.

No parameters.

editorial.generate_article

Generates or updates an SEO blog post with 7-metric quality scorecard and auto cover imagery.

ParameterTypeRequiredDescription
topicstringyesArticle topic
blogIdstringnoOptional existing blog ID to update
confirmedbooleannoSet true to publish live

bi.get_insights

Business Brain reasoning engine: delivers cross-domain operational recommendations.

No parameters.

consultancy.create_service

Creates an educational/visa consultancy service or counseling package (e.g., JLPT N5 Preparation, Visa Filing Assistance, University Application Support).

ParameterTypeRequiredDescription
siteIdstringnoOptional site ID. Defaults to active consultancy site.
namestringyesService name (e.g., 'Study in Japan Complete Processing')
feeAmountnumberyesService fee / package price (numeric)
descriptionstringnoDetailed description of what is included
currencystringnoCurrency code, defaults to 'NPR'
meetingLinkstringnoOptional Google Meet / Zoom counseling link
imageUrlstringnoOptional banner or thumbnail image URL

consultancy.list_services

Lists all active consultancy packages, language courses, and visa counseling services offered by the institute.

ParameterTypeRequiredDescription
siteIdstringnoOptional site ID. Defaults to active consultancy site.

consultancy.create_lead

Registers a prospective student inquiry / applicant lead into the abroad-study consultancy CRM pipeline.

ParameterTypeRequiredDescription
siteIdstringnoOptional site ID. Defaults to active consultancy site.
studentNamestringyesFull name of the prospective student
studentPhonestringyesPrimary phone or WhatsApp number
studentEmailstringnoOptional email address
targetCountrystringnoTarget study destination (e.g., 'Japan', 'Australia', 'Canada', 'UK', 'USA')
targetCoursestringnoTarget program or course (e.g., 'Language School + Bachelor IT')
stageenum: "inquiry" | "counseling" | "documentation" | "applied" | "offer_received" | "visa_processing" | "visa_approved" | "enrolled" …noPipeline stage (defaults to 'inquiry')
counselorNamestringnoAssigned staff counselor name
priorityenum: "low" | "medium" | "high" | "urgent"noLead priority level
notesstringnoCounseling notes, student academic background, or remarks

consultancy.list_leads

Lists prospective student applicants in the consultancy CRM pipeline with optional filtering by stage, country, or keyword search.

ParameterTypeRequiredDescription
siteIdstringnoOptional site ID. Defaults to active consultancy site.
stagestringnoFilter by pipeline stage (e.g., 'inquiry', 'visa_processing', 'documentation')
targetCountrystringnoFilter by destination country (e.g., 'Japan')
searchstringnoSearch by student name, phone, email, or lead ID
limitnumbernoMax results to return (default 50, max 100)

consultancy.update_lead_stage

Updates a student lead's pipeline stage (e.g., moving from 'counseling' to 'documentation' or 'visa_approved') and appends counselor notes.

ParameterTypeRequiredDescription
leadIdstringyesStudent Lead ID (e.g., 'CL-2026-0001') or MongoDB ID
stageenum: "inquiry" | "counseling" | "documentation" | "applied" | "offer_received" | "visa_processing" | "visa_approved" | "enrolled" …yesTarget pipeline stage
counselorNotestringnoProgress note or feedback to log with timestamp

school.create_notice

Publishes a school announcement or administrative notice (e.g., Exam Schedule, Holiday Notice, Admission Open, Parent-Teacher Meeting).

ParameterTypeRequiredDescription
siteIdstringnoOptional site ID. Defaults to active school site.
titlestringyesNotice headline / title
contentstringyesFull text content of the notice or announcement
typeenum: "academic" | "admission" | "event" | "exam" | "general" | "holiday" | "sports"noCategory of the notice (default 'general')
priorityenum: "low" | "medium" | "high" | "urgent"noPriority level
authorstringnoPublishing authority (e.g., 'Principal Office', 'Exam Department')
pinnedbooleannoPin notice to top of the school notice board
urgentbooleannoFlag as urgent emergency alert

school.list_notices

Retrieves recent notices and announcements published on the school's digital noticeboard.

ParameterTypeRequiredDescription
siteIdstringnoOptional site ID. Defaults to active school site.
typestringnoFilter by category: 'academic', 'admission', 'event', 'exam', 'general', 'holiday', 'sports'
limitnumbernoMax notices to fetch (default 20)

school.create_event

Schedules a school event, sports meet, cultural festival, or parents' conference in the school calendar.

ParameterTypeRequiredDescription
siteIdstringnoOptional site ID. Defaults to active school site.
titlestringyesEvent title (e.g., 'Annual Sports Meet 2026')
descriptionstringyesEvent details and program schedule
eventDatestringyesEvent date in format YYYY-MM-DD
startTimestringnoStart time (e.g., '09:00')
endTimestringnoEnd time (e.g., '16:00')
venuestringnoVenue (e.g., 'School Grounds / Main Auditorium')
totalCapacitynumbernoMaximum participant / attendee capacity

school.list_enrollments

Lists admission applications and student enrollment inquiries submitted to the school portal.

ParameterTypeRequiredDescription
siteIdstringnoOptional site ID. Defaults to active school site.
limitnumbernoMax applications to return (default 50)

invoice.create

Generate, calculate, issue, and optionally email a verified digital payment invoice or receipt directly to a customer with CRM integration. (Note: Digital invoicing is strictly disabled for Free and Local Start plans; requires Business plan or above).

ParameterTypeRequiredDescription
customerNamestringyesCustomer, client, or company name (e.g., 'Suman Basnet')
customerEmailstringnoCustomer email address. Leave empty if unknown so tool can search CRM database. NEVER invent a fake email.
customerPhonestringnoOptional customer phone number
customerAddressstringnoOptional customer address
customerPanstringnoOptional customer PAN / VAT registration number for B2B billing
serviceNamestringnoSingle service or product item name (e.g., 'Web Development & Hosting', 'School Tuition Fee', 'Consultation Fee')
pricenumbernoPrice or rate for the service item in NPR
itemsarray<object>noOptional itemized list of items/services. If passed, overrides serviceName/price.
discountnumbernoFlat discount amount in NPR
discountPercentagenumbernoDiscount percentage (e.g., 10 for 10% OFF)
taxRatenumbernoVAT tax percentage (e.g. 13 for 13% VAT, 0 for tax-exempt). Defaults to site's configured VAT rate.
isVatbooleannoSet true to apply standard 13% VAT, false for 0% VAT exemption
paymentStatusenum: "paid" | "pending"noPayment status: 'paid' (default receipt) or 'pending' (unpaid bill)
paymentMethodstringnoPayment method (e.g. 'Fonepay / Bank QR', 'Cash', 'Bank Transfer', 'eSewa', 'Khalti')
paymentReferencestringnoTransaction reference ID, receipt note, or check number
dueDatestringnoDue date for payment (e.g. '2026-10-30')
customNotesstringnoCustom notes, payment terms, or instructions
sendEmailbooleannoWhether to dispatch branded HTML invoice email to customer via Amazon SES (default true)
siteIdstringnoOptional site ID. Defaults to active business or school site.

invoice.list

Query and view past issued sales invoices and receipts with status, customer details, revenue, and direct view URLs. (Requires Business plan or above).

ParameterTypeRequiredDescription
siteIdstringnoOptional site ID filter
statusenum: "all" | "paid" | "pending" | "void"noInvoice status filter
searchstringnoSearch query for customer name, email, or invoice number
limitnumbernoMaximum number of invoices to return (default 20)

commerce.order_get

Retrieves complete details for a single e-commerce customer order including line items, payment status, First-Touch & Last-Touch attribution, linked storefront session details, and explanation of whether/how it was attributed.

ParameterTypeRequiredDescription
orderIdstringyesOrder ID (e.g. 'ORD-510738-448') or MongoDB 24-character _id
siteIdstringnoOptional store Site ID filter
siteNamestringnoOptional store name filter (e.g. 'Pokhara Clothing')

commerce.list_promotions

READ-ONLY check of existing product offers, flash-sale promotions, active prices, exact ISO start/end expiry timestamps, banner publish state, and countdown visibility.

ParameterTypeRequiredDescription
siteIdstringnoOptional store Site ID
siteNamestringnoOptional store name
productNamestringnoOptional product name filter
includeExpiredbooleannoInclude expired or inactive promotions (default true)

commerce.create_promotion

Creates a multi-product storefront flash-sale / festival promotional campaign with discount value, date range, and optional countdown banner.

ParameterTypeRequiredDescription
siteIdstringnoOptional store Site ID
namestringyesPromotion campaign name
typeenum: "percentage" | "fixed"noDiscount type (default 'percentage')
discountValuenumberyesDiscount percentage or fixed NPR amount
productNamesarray<string>noOptional target product names (applies storewide if omitted)
startDatestringnoOptional ISO start date
endDatestringnoOptional ISO end date
publishBannerbooleannoPublish storefront announcement banner immediately
headlinestringnoOptional storefront banner headline
subheadlinestringnoOptional banner subheadline
badgeTextstringnoOptional badge label
themeenum: "red" | "dark" | "gradient" | "gold" | "emerald"noBanner theme

commerce.update_payment_config

Configures e-commerce payment methods: Fonepay/eSewa/Khalti/Bank QR image URL, Cash on Delivery toggle, and payout identifiers.

ParameterTypeRequiredDescription
siteIdstringnoOptional Site ID
paymentQrCodestringnoUploaded payment QR image URL
codEnabledbooleannoEnable or disable Cash on Delivery
esewaIdstringnoeSewa ID
khaltiNumberstringnoKhalti phone number
bankDetailsstringnoBank account details

commerce.set_free_shipping

Configures storewide free-shipping threshold and standard shipping fee in NPR.

ParameterTypeRequiredDescription
siteIdstringnoOptional Site ID
freeShippingEnabledbooleannoEnable or disable free shipping threshold
thresholdnumberyesMinimum cart subtotal in NPR to unlock free shipping
standardShippingFeenumbernoStandard shipping fee in NPR below threshold
messagestringnoCustom cart banner message

crm.customer_list

Lists or searches CRM customers across stores with contact details, reconciled realizedPaidSpend, lastOrderDate, and itemized store purchase history.

ParameterTypeRequiredDescription
searchstringnoSearch query by customer name, phone, or email
siteIdstringnoOptional store Site ID
siteNamestringnoOptional store name (e.g. 'Pokhara Clothing')
productNamestringnoOptional product name filter
hasOrdersbooleannoFilter to customers with at least one order
paidOnlybooleannoFilter to customers with at least one PAID order
limitnumbernoMax customers to return (default 15)

crm.lead_create

Creates or logs a new CRM customer/lead record with contact info and optional opening Udharo balance.

ParameterTypeRequiredDescription
namestringyesCustomer or lead full name
emailstringnoOptional email
phonestringnoOptional phone number
whatsappNumberstringnoOptional WhatsApp number
udharoBalancenumbernoOptional opening Udharo credit balance in NPR
sourcestringnoLead acquisition source
notesstringnoNotes or follow-up details

crm.udharo_manage

Manages customer Udharo (credit/khata): list balances, add credit, record payments, settle accounts, or prepare WhatsApp reminders.

ParameterTypeRequiredDescription
actionenum: "list" | "add_credit" | "record_payment" | "settle" | "remind"yesUdharo action
customerNamestringnoCustomer name
customerPhonestringnoCustomer phone
amountnumbernoAmount in NPR
notestringnoTransaction note
siteIdstringnoOptional Site ID

invoice.get_details

Retrieves complete line items, tax computations, payment status, and share URL for an invoice number.

ParameterTypeRequiredDescription
invoiceNumberstringyesInvoice number (e.g. 'INV-2026-10294')

invoice.update_status

Updates the payment status of a sales invoice (paid, pending, void, or cancelled).

ParameterTypeRequiredDescription
invoiceNumberstringyesInvoice number
statusenum: "paid" | "pending" | "void" | "cancelled"yesNew invoice status
paymentMethodstringnoPayment method used
paymentReferencestringnoTransaction reference ID
sendReceiptEmailbooleannoSend confirmation receipt email (default true)

restaurant.table_list

Lists restaurant dining tables, capacity, QR codes, and reservation/occupancy status.

ParameterTypeRequiredDescription
siteIdstringnoOptional restaurant Site ID

restaurant.table_create

Adds a dining table to a restaurant site with capacity and QR ordering support.

ParameterTypeRequiredDescription
siteIdstringnoOptional restaurant Site ID
tableNumberstringyesTable number or label
capacitynumbernoSeating capacity

consultancy.note_search

Searches private student counseling notes across consultancy records by keyword, student name, or category.

ParameterTypeRequiredDescription
querystringyesKeyword or topic to search
studentNamestringnoOptional student name filter

editorial.score_draft

Evaluates a draft blog/editorial article for SEO quality, brand voice alignment, and duplicate topic risk.

ParameterTypeRequiredDescription
titlestringyesDraft article title
contentstringyesDraft Markdown/text content

site.update_details

Updates business/storefront profile details (name, phone, email, address, city, hours, VAT/PAN, social links).

ParameterTypeRequiredDescription
siteIdstringnoOptional Site ID
namestringnoUpdated site/business name
companyDetailsobjectnoUpdated companyDetails fields (phone, email, address, city, whatsapp, etc.)

site.apply_template

Applies a compatible same-niche design template to an existing site.

ParameterTypeRequiredDescription
siteIdstringnoOptional Site ID
templateIdstringyesTarget template key within the same niche

fleet.query

READ-ONLY query engine for fleet vehicles, fuel spend summaries, part serial history, garage spare parts stock, and document/license expiries.

ParameterTypeRequiredDescription
queryTypeenum: "part_serial" | "fuel_summary" | "expiries" | "repair_history" | "truck_status" | "inventory"yesQuery type
serialNumberstringnoComponent serial number (for part_serial)
truckQuerystringnoOptional truck plate or identifier
timeRangeenum: "this_month" | "last_month" | "today" | "all"noTime range filter
daysAheadnumbernoExpiry lookahead days (default 30)

fleet.log_fuel

Logs or edits a truck fuel entry with audit trail, odometer tracking, and efficiency check.

ParameterTypeRequiredDescription
truckQuerystringyesTruck plate or identifier
quantitynumberyesFuel quantity in Litres
fuelRatenumberyesPrice per Litre in NPR
totalAmountnumbernoOptional total amount in NPR
fuelStationstringnoFuel pump name
odometernumbernoOdometer reading in km
fuelTypeenum: "Diesel" | "Petrol" | "Other"noFuel type
routestringnoTrip route
actionenum: "create" | "edit"noCreate or edit
editReasonstringnoAudit reason when editing

fleet.create_repair

Records a vehicle repair or garage maintenance service with cost and replaced parts.

ParameterTypeRequiredDescription
truckQuerystringyesTruck plate or identifier
workshopstringyesWorkshop/garage name
descriptionstringyesRepair details
repairCostnumberyesTotal repair cost in NPR
statusenum: "Completed" | "In Progress" | "Pending"noRepair status
estimatedDaysnumbernoEstimated days if In Progress

fleet.manage_part

Manages fleet spare parts inventory, serialized installations, removals, and inter-truck transfers.

ParameterTypeRequiredDescription
actionenum: "install" | "remove" | "transfer" | "stock_add"yesPart action
partNamestringyesPart name
serialNumberstringnoPhysical serial number
targetTruckQuerystringnoTarget truck plate
costnumbernoUnit cost in NPR
quantitynumbernoQuantity

fleet.manage_driver

Assigns or unassigns drivers to fleet vehicles with license compliance warnings.

ParameterTypeRequiredDescription
actionenum: "assign" | "unassign"yesAssign or unassign
truckQuerystringyesTruck plate
driverQuerystringyesDriver name, phone, or license number
notesstringnoOptional notes

fleet.update_trip_status

Updates the live route, trip status (Idle, Ongoing, Completed), and odometer for a truck.

ParameterTypeRequiredDescription
truckQuerystringyesTruck plate or identifier
tripStatusenum: "Idle" | "Ongoing" | "Completed"yesNew trip status
currentRoutestringnoCurrent or destination route
remarksstringnoDispatch remarks
odometernumbernoCurrent odometer in km

Client compatibility

Based on the transports each client documents as supported; this is not a live test inside the client.

ClientDocumented transportsThis serverSource
Claude Codestdio Streamable HTTP SSEtransport accepteddoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport accepteddoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport accepteddoc
Cursorstdio Streamable HTTP SSEtransport accepteddoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport accepteddoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport accepteddoc
Gemini CLIstdio Streamable HTTP SSEtransport accepteddoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport accepteddoc

Ready-to-copy configs

Remote address used: https://app.hamrolink.com/api/mcp/sse. Formats taken from each client’s documentation.

Claude Code
claude mcp add --transport http hamrolink-mcp https://app.hamrolink.com/api/mcp/sse
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : hamrolink-mcp ; URL : https://app.hamrolink.com/api/mcp/sse
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : hamrolink-mcp ; Server URL : https://app.hamrolink.com/api/mcp/sse ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "hamrolink-mcp": {
      "url": "https://app.hamrolink.com/api/mcp/sse"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "hamrolink-mcp": {
      "type": "http",
      "url": "https://app.hamrolink.com/api/mcp/sse",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "hamrolink-mcp": {
      "url": "https://app.hamrolink.com/api/mcp/sse"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "hamrolink-mcp": {
      "httpUrl": "https://app.hamrolink.com/api/mcp/sse"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.hamrolink-mcp]
url = "https://app.hamrolink.com/api/mcp/sse"

Cite this source

Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.

HamroLink Business OS MCP Server · L’Atlas · Tested on

Markdown
[HamroLink Business OS MCP Server — L’Atlas](https://latlas.dev/en/mcp/io.github.SumanBasnet07/hamrolink-mcp)
Test methodology and limitations

Source : Registre officiel MCP · retrieved 4 Dec 2026. L’Atlas adds no data beyond this source and its own tests.