HamroLink Business OS MCP Server
io.github.SumanBasnet07/hamrolink-mcp
MCP server OK 98 tools
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
[](https://latlas.dev/en/mcp/io.github.SumanBasnet07/hamrolink-mcp)<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
Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.
[](https://latlas.dev/en/mcp/io.github.SumanBasnet07/hamrolink-mcp)<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
| Date | Result | Response | Tools |
|---|---|---|---|
| 3 Dec 2026, 15:30 | OK | 1,147 ms | 98 |
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: '' so the user sees a visual preview of each design before choosing.
| Parameter | Type | Required | Description |
|---|---|---|---|
| category | string | no | Category filter: 'portfolio', 'restaurant', 'consultancy', 'school', 'ecommerce', 'business', 'blog', or 'all'. |
| query | string | no | Optional keyword, sub-niche, or style to search (e.g. 'clothing', 'fashion', 'electronics', 'grocery', 'modern', 'nexus', 'dark', 'minimal', 'flagship'). |
| limit | number | no | Max templates to return (1-4, default 4). |
| offset | number | no | Pagination 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 '' and ask them to confirm. Creates nothing.
| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Person or business name shown on the site (e.g. 'Renuka Tamang', 'Kathmandu Coffee'). Ask the user. |
| subDomain | string | yes | Subdomain the USER chose (lowercase, letters/numbers/hyphens, e.g. 'renuka-tamang' -> renuka-tamang.hamrolink.com). NEVER invent this — ask the user. |
| templateId | string | yes | Template key from website.list_templates (e.g. 'portfolio-minimal') OR a category: 'portfolio', 'restaurant', 'consultancy', 'school', 'ecommerce', 'business', 'blog'. |
| phone | string | no | Public contact phone / WhatsApp number. Ask the user. |
| string | no | Public contact email. Ask the user. | |
| location | string | no | City / country / address (e.g. 'Tokyo, Japan', 'Kathmandu'). |
| description | string | no | The 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. |
| specialties | array<string> | no | Optional 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| proposalId | string | yes | The proposalId returned by website.preflight. REQUIRED to bind creation to the approved proposal. |
| name | string | no | Person or business name shown on the site (e.g. 'Renuka Tamang', 'Kathmandu Coffee'). Ask the user. |
| subDomain | string | no | Subdomain the USER chose (lowercase, letters/numbers/hyphens, e.g. 'renuka-tamang' -> renuka-tamang.hamrolink.com). NEVER invent this — ask the user. |
| templateId | string | no | Template key from website.list_templates (e.g. 'portfolio-minimal') OR a category: 'portfolio', 'restaurant', 'consultancy', 'school', 'ecommerce', 'business', 'blog'. |
| phone | string | no | Public contact phone / WhatsApp number. Ask the user. |
| string | no | Public contact email. Ask the user. | |
| location | string | no | City / country / address (e.g. 'Tokyo, Japan', 'Kathmandu'). |
| description | string | no | The 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. |
| specialties | array<string> | no | Optional key skills, services, or products (3-6 items). |
| confirmed | boolean | yes | Must 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| pageName | string | yes | Name of the page (e.g. 'Blog', 'Services', 'About Us', 'Contact', 'Portfolio V2', 'Facility') |
| slug | string | no | URL path slug (e.g. '/blog', '/services', '/about', '/contact', '/portfolio-v2', '/facility') |
| pageType | enum: "blog" | "services" | "about" | "contact" | "privacy" | "terms" | "custom" | "blank_html" | no | Template layout structure. Exact templates exist for blog, services, about, contact, privacy, and terms. Use 'custom' or 'blank_html' for custom HTML/CSS/JS pages. |
| siteId | string | no | Optional Site ID. If omitted, applies to the user's active/latest website. |
| html | string | no | Optional raw custom HTML content. When provided, creates a custom HTML/CSS/JS page. |
| css | string | no | Optional scoped CSS styling for the custom HTML page. |
| js | string | no | Optional browser-side JavaScript for interactive DOM manipulation, event listeners, calculators, quizzes, or animations (executed in an isolated sandboxed iframe with restrictive CSP). |
| prompt | string | no | Optional 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'). |
| useCustomPrimitives | boolean | no | Set 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).
| Parameter | Type | Required | Description |
|---|---|---|---|
| action | enum: "add" | "remove" | yes | Whether to add or remove the link |
| label | string | yes | Link display text (e.g. 'Services', 'Contact') |
| href | string | no | Target URL (e.g. '/services', 'https://...', or '#' for non-clickable) |
| siteId | string | no | Optional 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).
| Parameter | Type | Required | Description |
|---|---|---|---|
| theme | enum: "light" | "emerald" | "modern" | "warm" | "luxury" | "ocean" | "crimson" | "minimal" … | yes | The curated theme preset to apply across the site. |
| isDarkMode | boolean | no | Optional global contrast toggle: true for Dark Mode surfaces, false for Light Mode surfaces. |
| primaryColor | string | no | Optional primary brand / CTA button hex color (e.g. '#ea580c', '#059669', '#2563eb'). |
| buttonTextColor | string | no | Optional text hex color inside primary buttons (e.g. '#ffffff'). |
| accentColor | string | no | Optional secondary badge / highlight hex color (e.g. '#f59e0b', '#10b981'). |
| backgroundColor | string | no | Optional custom page canvas background hex color (--background). |
| cardColor | string | no | Optional custom card / box surface hex color (--card). |
| textColor | string | no | Optional main heading & body text hex color (--foreground). Must contrast strongly with backgroundColor and cardColor. |
| mutedTextColor | string | no | Optional subtitle / secondary text hex color (--muted-foreground). |
| borderColor | string | no | Optional card border & divider hex color (--border). |
| fontFamily | string | no | Optional 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"). |
| resetAdvancedOverrides | boolean | no | Set true to clear custom backgroundColor, cardColor, textColor, mutedTextColor, and borderColor overrides back to the theme's curated defaults. |
| siteId | string | no | Optional 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| sitePackage | object | yes | The 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| sitePackage | object | yes | The 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| sitePackage | object | yes | The complete SiteCreationPackage JSON object |
website.publish
Publishes all draft pages for a site and re-indexes businessState summary for visitor AI Chatbot RAG.
| Parameter | Type | Required | Description |
|---|---|---|---|
| siteId | string | yes | MongoDB Site ID |
website.list
Lists all active tenant websites owned by the user account.
No parameters.
website.delete
Soft-deletes a tenant website.
| Parameter | Type | Required | Description |
|---|---|---|---|
| siteId | string | yes | MongoDB Site ID |
site.get_layout
Retrieves global site-wide header and footer sections, name, and company details.
| Parameter | Type | Required | Description |
|---|---|---|---|
| siteId | string | yes | MongoDB Site ID |
site.update_layout
Updates global site-wide header and footer sections (navigation menu, logo, footer links, copyright) rendered across all pages.
| Parameter | Type | Required | Description |
|---|---|---|---|
| siteId | string | yes | MongoDB Site ID |
| name | string | no | Updated site name |
| header | array<object> | no | Array of section objects for global header/navbar |
| footer | array<object> | no | Array of section objects for global footer |
| companyDetails | object | no | Global 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| siteId | string | no | MongoDB Site ID (optional if user has only one site) |
| theme | enum: "light" | "emerald" | "modern" | "warm" | "luxury" | "ocean" | "crimson" | "minimal" … | no | Curated theme preset ('light', 'emerald', 'modern', 'warm', 'luxury', 'ocean', 'crimson', 'minimal', 'dark', 'forest', 'premium', 'bright', 'vibrant', 'colorful', 'bold', 'elegant'). |
| themeMode | string | no | Alias for theme name (e.g. 'warm', 'emerald', 'luxury', 'dark', 'light'). |
| isDarkMode | boolean | no | Global Light/Dark contrast switch (true = Dark Mode surfaces, false = Light Mode surfaces). |
| primaryColor | string | no | Primary brand / button background hex color override (--primary, e.g. '#ea580c', '#059669') |
| buttonTextColor | string | no | Advanced: Text hex color inside primary buttons (--primary-foreground, e.g. '#ffffff') |
| secondaryColor | string | no | Optional secondary brand hex color override |
| accentColor | string | no | Accent / badge highlight hex color override (--accent, e.g. '#f59e0b', '#10b981') |
| backgroundColor | string | no | Advanced: Page canvas background hex color (--background, e.g. '#ffffff' or '#090d16') |
| cardColor | string | no | Advanced: Card, product box & container surface hex color (--card, e.g. '#f8fafc' or '#111827') |
| textColor | string | no | Advanced: Main heading & body copy hex color (--foreground, e.g. '#0f172a' or '#f8fafc'). Must have >= 4.5:1 contrast against backgroundColor and cardColor. |
| mutedTextColor | string | no | Advanced: Subtitle, caption & muted description hex color (--muted-foreground, e.g. '#475569' or '#94a3b8') |
| borderColor | string | no | Advanced: Card outline & section divider hex color (--border, e.g. '#e2e8f0' or '#1f2937') |
| fontFamily | string | no | Global 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") |
| resetAdvancedOverrides | boolean | no | Set true to reset custom backgroundColor, cardColor, textColor, mutedTextColor, and borderColor back to the active theme's curated defaults. |
| scope | string | no | Scope 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| siteId | string | yes | MongoDB Site ID |
| header | array<object> | no | Complete header sections array (optional) |
| logo | object | no | Logo configuration object with url, alt, text |
| navLinks | array<object> | no | Array of navigation links [{ label: string, href: string }] |
| addLink | object | no | Quick link to append to existing navbar, e.g. { label: 'Blog', href: '/blog' } |
| removeLink | string | no | Label or href of link to remove from navbar (e.g. '/privacy' or 'Terms') |
| ctaButton | object | no | CTA button configuration { text: string, href: string } |
| phone | string | no | Top bar or contact phone number |
| string | no | Top 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| siteId | string | yes | MongoDB Site ID |
| footer | array<object> | no | Complete footer sections array (optional) |
| companyName | string | no | Company / business display name |
| description | string | no | Short business description or mission |
| address | string | no | Physical office / branch address |
| phone | string | no | Contact phone number |
| string | no | Contact email address | |
| links | array<object> | no | Footer links columns or array |
| copyright | string | no | Custom 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'.
| Parameter | Type | Required | Description |
|---|---|---|---|
| file | object | no | Attached or AI-generated image file object from ChatGPT Apps SDK (automatically resolved via openai/fileParams with download_url and file_id). |
| files | array<object> | no | Optional batch of up to 10 attached or AI-generated image file objects from ChatGPT Apps SDK. |
| url | string | no | Public image URL (e.g. Unsplash stock photo) for HamroLink backend to download, optimize, and host. |
| download_url | string | no | Temporary signed HTTPS download URL where HamroLink backend can fetch the image binary directly. |
| name | string | no | Optional image filename or label (e.g. 'the-ai-paradox.png') |
| folder | string | no | Destination folder in the Media Library (default: 'uploads') |
| siteId | string | no | Optional 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| search | string | no | Optional filename or key search query |
| folder | string | no | Optional folder filter (e.g. 'uploads', 'blog', 'products') |
| siteId | string | no | Optional Site ID to filter media linked to a specific site |
| limit | number | no | Max 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| filename | string | yes | Filename with extension (e.g. 'logo.png', 'team.webp') |
| contentType | string | no | MIME type (e.g. 'image/png', 'image/jpeg', 'image/webp') |
| folder | string | no | Destination folder (default: 'uploads') |
page.list
Lists all pages belonging to a specific tenant website (e.g. /, /about, /contact, /services).
| Parameter | Type | Required | Description |
|---|---|---|---|
| siteId | string | yes | MongoDB Site ID |
page.get
Retrieves section components and content for a specific page slug on a site.
| Parameter | Type | Required | Description |
|---|---|---|---|
| siteId | string | yes | MongoDB Site ID |
| slug | string | yes | Page 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).
| Parameter | Type | Required | Description |
|---|---|---|---|
| siteId | string | yes | MongoDB Site ID |
| slug | string | yes | Target page slug (e.g. '/' or '/about' or '/portfolio-v2-test') |
| name | string | no | Updated page name |
| newSlug | string | no | Optional new URL slug to rename this page (e.g. '/our-services' or '/' to make it the website homepage) |
| makeHomePage | boolean | no | Set to true to make this page the primary homepage ('/') of the website. The current homepage will be safely archived to '/home-previous'. |
| html | string | no | Direct custom HTML markup to update or replace the page content with a custom HTML/CSS/JS layout. Automatically sanitized with DOMPurify. |
| css | string | no | Direct scoped CSS styling for the custom HTML page. Automatically scoped with PostCSS. |
| js | string | no | Optional browser-side JavaScript for interactive DOM manipulation, event listeners, calculators, quizzes, or animations (executed in an isolated sandboxed iframe with restrictive CSP). |
| prompt | string | no | Instructions or content brief describing what to update or style on the page. |
| rehydrateWithAi | boolean | no | Set to true to automatically rewrite or style the page content with AI matching site brand tokens. |
| sections | array<object> | no | Array of section objects to replace page content (optional if 'html' or 'prompt' is provided) |
| published | boolean | no | Publication status (default true) |
| seo | object | no | SEO 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| siteId | string | yes | MongoDB Site ID |
| slug | string | yes | Target page slug (e.g. '/' or '/about') |
| type | string | no | Section type. Use 'custom_code' for custom HTML/CSS/JS sections, or standard types like 'features', 'cta', 'hero', etc. Defaults to 'custom_code'. |
| html | string | no | Custom HTML markup (required if type is 'custom_code' or when adding an HTML block) |
| css | string | no | Optional scoped CSS styles for the HTML section |
| js | string | no | Optional browser-side JavaScript for interactive DOM manipulation, event listeners, calculators, quizzes, or animations (executed in an isolated sandboxed iframe with restrictive CSP). |
| name | string | no | Display name or label for the section (e.g. 'Announcement Banner', 'Custom Pricing Calculator') |
| position | enum: "end" | "start" | no | Where to insert the section: 'end' (default) or 'start' (top of page) |
| sectionData | object | no | Optional 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| siteId | string | yes | MongoDB Site ID |
| slug | string | yes | Target page slug (e.g. '/' or '/about') |
| sectionId | string | no | The ID of the section to remove (e.g. 'custom-code-12345' or block identifier) |
| sectionType | string | no | The 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| siteId | string | yes | MongoDB Site ID |
| name | string | yes | Name of the new page (e.g. 'Portfolio V2', 'Blog', 'About Us', 'Facility', 'Scholarships') |
| slug | string | yes | URL slug for the new page (e.g. '/portfolio-v2', '/blog', '/about', '/facility', '/scholarships') |
| templateId | string | no | Template layout key. Use 'blank_html' for an empty custom HTML/CSS/JS canvas page, or 'about'/'services'/'contact'/'privacy'/'terms' for exact page templates. |
| html | string | no | Optional raw custom HTML content. When provided, creates a custom HTML/CSS/JS page. |
| css | string | no | Optional scoped CSS styling for the custom HTML page. |
| js | string | no | Optional browser-side JavaScript for interactive DOM manipulation, event listeners, calculators, quizzes, or animations (executed in an isolated sandboxed iframe with restrictive CSP). |
| prompt | string | no | Optional 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'). |
| sections | array<object> | no | Optional. 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. |
| published | boolean | no | Set true to publish immediately |
| seo | object | no | SEO title, description, keywords, image, and structuredData schema |
| useCustomPrimitives | boolean | no | Set 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| siteId | string | yes | MongoDB Site ID |
| slug | string | no | URL slug of the page to delete (e.g. '/portfolio-v2-test' or '/about') |
| pageId | string | no | Optional MongoDB Page ID |
| confirmed | boolean | no | Confirm 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| siteId | string | yes | MongoDB Site ID |
blog.list_posts
Lists published blog posts for a specific tenant site.
| Parameter | Type | Required | Description |
|---|---|---|---|
| siteId | string | yes | MongoDB Site ID |
blog.get_post
Retrieves a single blog post by slug.
| Parameter | Type | Required | Description |
|---|---|---|---|
| siteId | string | yes | MongoDB Site ID |
| slug | string | yes | Blog post slug |
blog.create_post
Creates and publishes a new blog article on a website.
| Parameter | Type | Required | Description |
|---|---|---|---|
| siteId | string | yes | MongoDB Site ID |
| title | string | yes | Title of the blog post |
| slug | string | no | Optional custom URL slug |
| content | string | yes | Main 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. |
| excerpt | string | no | Short summary excerpt |
| coverImageUrl | string | no | Public 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. |
| authorName | string | no | Optional 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. |
| category | string | no | Article category (e.g. 'Student Visa', 'NAT-TEST') |
| tags | array<string> | no | List of tags (e.g. ['Japan', 'N5', 'COE']) |
| isPublished | boolean | no | Publish status (default true) |
blog.update_post
Updates an existing blog article.
| Parameter | Type | Required | Description |
|---|---|---|---|
| siteId | string | yes | MongoDB Site ID |
| slug | string | yes | Target post slug |
| title | string | no | Updated title |
| content | string | no | Updated content |
| excerpt | string | no | Updated excerpt |
| coverImageUrl | string | no | Updated cover image URL. Pass a live public image URL or verified CDN URL. If omitting change, leave unchanged. |
| authorName | string | no | Updated author name (matching a saved author from blog.list_authors will also apply their saved avatar) |
| category | string | no | Updated category |
| tags | array<string> | no | Updated tags |
| isPublished | boolean | no | Updated publish status |
blog.delete_post
Deletes a blog article from a site.
| Parameter | Type | Required | Description |
|---|---|---|---|
| siteId | string | yes | MongoDB Site ID |
| slug | string | yes | Target post slug to delete |
commerce.list_products
Lists e-commerce products for a specific site.
| Parameter | Type | Required | Description |
|---|---|---|---|
| siteId | string | yes | MongoDB Site ID |
| category | string | no | Optional category filter |
commerce.get_product
Retrieves details for a single e-commerce product.
| Parameter | Type | Required | Description |
|---|---|---|---|
| siteId | string | yes | MongoDB Site ID |
| productId | string | yes | Product MongoDB ID |
commerce.create_product
Creates and adds a new product (with optional size/weight/color variants) to an e-commerce website store inventory.
| Parameter | Type | Required | Description |
|---|---|---|---|
| siteId | string | yes | MongoDB Site ID |
| name | string | yes | Product name (e.g. 'Single Origin Ilam CTC Tea') |
| description | string | no | Product description (Markdown supported) |
| price | number | yes | Product regular price in NPR |
| offerPrice | number | no | Optional discounted offer price in NPR |
| currency | string | no | Currency code (default 'NPR') |
| stock | number | no | Inventory stock count |
| category | string | no | Product category (e.g. 'Tea', 'Pashmina', 'Handicrafts') |
| images | array<string> | no | Array of product image URLs |
| tags | array<string> | no | List of tags |
| variantType | string | no | Type of variants (e.g. 'ram_storage', 'ram', 'storage', 'mobile', 'size', 'color', 'weight', 'flavor', 'custom') |
| variants | array<object> | no | List 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| siteId | string | yes | MongoDB Site ID |
| productId | string | yes | MongoDB Product ID |
| name | string | no | Updated name |
| description | string | no | Updated description |
| price | number | no | Updated price |
| offerPrice | number | no | Updated offer price |
| stock | number | no | Updated stock count |
| stockDelta | number | no | Additive stock adjustment (e.g. +10) |
| targetVariant | string | no | Optional specific variant selector |
| color | string | no | Optional variant color |
| size | string | no | Optional variant size |
| variantUpdates | array<object> | no | Atomic bulk multi-variant updates ({ targetVariant/color/size, stock?, stockDelta?, price? }) |
| category | string | no | Updated category |
| images | array<string> | no | Updated images array |
| variantType | string | no | Type of variants (e.g. 'ram_storage', 'ram', 'storage', 'mobile', 'size', 'color', 'weight', 'flavor', 'custom') |
| variants | array<object> | no | List 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| siteId | string | no | Optional MongoDB Site ID |
| siteName | string | no | Optional 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| productId | string | no | Optional product ID filter |
| productName | string | no | Optional product name filter |
| siteId | string | no | Optional store Site ID |
| siteName | string | no | Optional store name |
| startDate | string | no | Optional ISO start date |
| endDate | string | no | Optional 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| siteId | string | no | Optional MongoDB Site ID |
| productId | string | no | Optional product ID |
| productName | string | no | Product name to search and update |
| targetVariant | string | no | Optional 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. |
| targetVariants | array<string> | no | Optional list of multiple specific variants (e.g. ['128GB', '256GB']) to apply or remove the discount on. |
| variantId | string | no | Optional exact variant ID to target (alias for targetVariant) |
| variantName | string | no | Optional variant name/label to target (alias for targetVariant) |
| promotionName | string | no | Optional promotion/campaign name |
| type | enum: "special_offer" | "coupon" | "remove_offer" | yes | Promotion type: 'special_offer' updates live offerPrice & banner; 'coupon' adds checkout promo code; 'remove_offer' resets |
| discountPercentage | number | no | Discount percentage (e.g. 15) |
| offerPrice | number | no | Special offer price in NPR (e.g. 1530) |
| durationMinutes | number | no | Optional duration in minutes from now |
| durationHours | number | no | Optional duration in hours |
| durationDays | number | no | Optional duration in days |
| startDate | string | no | Optional ISO start timestamp (omit to preserve existing) |
| endDate | string | no | Optional ISO expiry timestamp (omit to preserve existing) |
| publishBanner | boolean | no | Set true to publish storefront banner, false for draft; omit to preserve |
| headline | string | no | Optional storefront banner headline |
| subheadline | string | no | Optional storefront banner subheadline |
| badgeText | string | no | Optional pill badge text (e.g. '15% OFF') |
| theme | enum: "red" | "dark" | "gradient" | "gold" | "emerald" | no | Optional banner color theme |
| couponCode | string | no | Coupon code (e.g. 'SAVE10') |
commerce.delete_product
Deletes a product from the e-commerce store.
| Parameter | Type | Required | Description |
|---|---|---|---|
| siteId | string | yes | MongoDB Site ID |
| productId | string | yes | MongoDB 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| siteId | string | no | Optional store Site ID |
| siteName | string | no | Optional store name (e.g. 'Pokhara Clothing') |
| customerName | string | yes | Customer full name |
| customerPhone | string | yes | Customer phone number |
| customerEmail | string | no | Optional customer email |
| customerAddress | string | yes | Delivery address |
| paymentMethod | enum: "cod" | "cash_on_delivery" | "qr_code" | no | Payment method (default: 'cod') |
| deliveryType | enum: "delivery" | "pickup" | no | Delivery or pickup (default: 'delivery') |
| items | array<object> | no | Array of line items: [{ productId?, productName?, variant?, size?, color?, quantity }] |
| productId | string | no | Shorthand single-item product ID |
| productName | string | no | Shorthand single-item product name |
| variant | string | no | Shorthand single-item variant name |
| size | string | no | Shorthand single-item size |
| color | string | no | Shorthand single-item color |
| quantity | number | no | Shorthand 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| siteId | string | no | Optional store Site ID filter |
| siteName | string | no | Optional store name (e.g. 'Pokhara Clothing') |
| orderId | string | no | Optional exact Order ID (e.g. 'ORD-510738-448') |
| search | string | no | Optional search by orderId, customer name, phone, email, or product name |
| customerName | string | no | Optional customer name filter |
| customerPhone | string | no | Optional customer phone filter |
| productName | string | no | Optional product name filter |
| status | enum: "pending" | "paid" | "confirmed" | "preparing" | "ready_for_pickup" | "out_for_delivery" | "shipped" | "delivered" … | no | Optional fulfillment status filter |
| paymentStatus | enum: "PENDING" | "PAID" | "FAILED" | "REFUNDED" | no | Optional independent paymentStatus filter |
| attributionStatus | enum: "attributed" | "unattributed" | no | Optional attribution filter (attributed vs unattributed) |
| limit | number | no | Maximum 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| orderId | string | yes | Order ID (e.g. 'ORD-123456-789') or MongoDB 24-character _id |
| status | enum: "pending" | "paid" | "confirmed" | "preparing" | "ready_for_pickup" | "out_for_delivery" | "shipped" | "delivered" … | yes | New order fulfillment lifecycle status |
| sendCustomerEmail | boolean | no | Whether to send an email notification to the customer with digital invoice receipt (default: true) |
| estimatedTime | string | no | Optional 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| orderId | string | yes | Order ID (e.g. 'ORD-123456-789') or MongoDB 24-character _id |
| paymentStatus | enum: "PENDING" | "PAID" | "FAILED" | "REFUNDED" | yes | New independent payment status |
| paymentNote | string | no | Optional verification or refund note |
restaurant.menu_list
Queries restaurant menu items, categories, dietary flags, and active discount offers.
| Parameter | Type | Required | Description |
|---|---|---|---|
| siteId | string | no | Optional restaurant Site ID |
| category | string | no | Dish category (e.g. 'Momo', 'Appetizers', 'Drinks') |
| isVegetarian | boolean | no | Vegetarian filter |
| search | string | no | Search query |
restaurant.menu_create
Creates and adds a new dish or food item to the restaurant menu catalog.
| Parameter | Type | Required | Description |
|---|---|---|---|
| siteId | string | no | Optional Site ID |
| name | string | yes | Dish name |
| price | number | yes | Price in NPR |
| category | string | yes | Category |
| description | string | no | Dish description or ingredients |
| isVegetarian | boolean | no | |
| isSpicy | boolean | no | |
| image | string | no | Image URL |
restaurant.menu_update
Updates an existing dish on the restaurant menu.
| Parameter | Type | Required | Description |
|---|---|---|---|
| dishId | string | no | Dish ID |
| name | string | no | Dish name |
| price | number | no | New price in NPR |
| isAvailable | boolean | no | Availability toggle |
| description | string | no | |
| isVegetarian | boolean | no | |
| isSpicy | boolean | no |
restaurant.apply_discount
Applies a special offer or discount percentage to a restaurant dish.
| Parameter | Type | Required | Description |
|---|---|---|---|
| dishName | string | no | Dish name |
| dishId | string | no | Optional dish ID |
| discountPercentage | number | no | Discount % |
| offerPrice | number | no | Direct offer price in NPR |
| removeOffer | boolean | no | Reset offer |
restaurant.order_list
Queries live restaurant orders (Home Delivery, Pickup, Dine-in) and table reservations.
| Parameter | Type | Required | Description |
|---|---|---|---|
| orderType | enum: "all" | "delivery" | "pickup" | "dine_in" | no | |
| status | string | no | |
| search | string | no |
restaurant.order_update_status
Updates lifecycle status and estimated prep/delivery time for a restaurant order.
| Parameter | Type | Required | Description |
|---|---|---|---|
| orderId | string | yes | Order ID (e.g. REST-123456-789) |
| status | enum: "pending" | "confirmed" | "preparing" | "ready_for_pickup" | "out_for_delivery" | "completed" | "cancelled" | yes | |
| estimatedTime | string | no | Estimated time (e.g. '25 mins') |
crm.list_leads
Queries customer and student leads submitted via lead forms across tenant sites.
| Parameter | Type | Required | Description |
|---|---|---|---|
| siteId | string | no | Optional 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).
| Parameter | Type | Required | Description |
|---|---|---|---|
| siteId | string | no | Optional MongoDB Site ID (defaults to active storefront) |
| siteName | string | no | Optional storefront name filter (e.g. 'Pokhara Clothing') |
| range | enum: "today" | "7d" | "30d" | "90d" | "custom" | no | Date range preset (default '7d') |
| days | number | no | Lookback window in days (default 7, max 90) |
| startDate | string | no | Optional ISO start date |
| endDate | string | no | Optional ISO end date |
| attributionModel | enum: "last_touch" | "first_touch" | no | Attribution model |
| orderOriginFilter | enum: "all" | "storefront_only" | "migrated_or_manual" | no | Optional 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).
| Parameter | Type | Required | Description |
|---|---|---|---|
| siteId | string | no | Optional MongoDB Site ID (defaults to active storefront) |
| siteName | string | no | Optional storefront name filter (e.g. 'Pokhara Clothing') |
| range | enum: "today" | "7d" | "30d" | "90d" | "custom" | no | Date range preset (default '7d') |
| days | number | no | Lookback window in days (default 7, max 90) |
| startDate | string | no | Optional ISO start date |
| endDate | string | no | Optional ISO end date |
| attributionModel | enum: "last_touch" | "first_touch" | no | Attribution model (default last_touch) |
| orderOriginFilter | enum: "all" | "storefront_only" | "migrated_or_manual" | no | Optional order origin filter (default 'all') |
| section | enum: "all" | "overview" | "acquisition" | "campaigns" | "funnel" | "products" | "sales" | "comparison" | no | Optional report focus (default 'all') |
| page | number | no | Pagination page number (default 1) |
| limit | number | no | Max rows per table (default 20, max 100) |
| includeComparison | boolean | no | Include 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| stage | string | no | Stage filter (inquiry, counseling, application, coe, visa_prep, enrolled) |
| destinationCountry | string | no | Country filter (Japan, Australia, Canada, USA, UK) |
| priority | string | no | Priority filter (low, medium, high, urgent) |
| limit | number | no | Max results (default 50) |
consultancy.student_detail
Retrieves complete student profile including universities, documents, test scores, and notes.
| Parameter | Type | Required | Description |
|---|---|---|---|
| studentName | string | no | Name of the student |
| leadId | string | no | Student lead ID |
consultancy.urgent_documents
Finds students with missing or overdue documents sorted by deadline urgency.
| Parameter | Type | Required | Description |
|---|---|---|---|
| maxDaysUntilDeadline | number | no | Filter documents due within X days |
consultancy.send_reminder
Sends document submission reminder emails to students missing required files.
| Parameter | Type | Required | Description |
|---|---|---|---|
| docLabel | string | yes | Document name (e.g. 'Passport', 'Academic Transcripts') |
| confirmed | boolean | no | Set true to send live email after preview |
school.application_submit
Registers a student admission application with grade, parent contact, and student details.
| Parameter | Type | Required | Description |
|---|---|---|---|
| studentName | string | yes | Student full name |
| grade | string | yes | Grade / Class applying for |
| parentName | string | no | Parent or guardian name |
| phone | string | no | Contact phone number |
| string | no | Contact email |
email.draft
Drafts a personalized customer email with variable interpolation for preview.
| Parameter | Type | Required | Description |
|---|---|---|---|
| to | string | array<string> | yes | Recipient email address, array of addresses, or audience tag ('all', 'customers', 'leads', 'students') |
| subject | string | yes | Email subject line |
| message | string | yes | Email body text |
| heading | string | no | Optional email header title |
| template | string | no | Optional template key ('marketing', 'newsletter', 'announcement', 'followup', 'support', 'blank') |
| primaryColor | string | no | Optional brand color hex |
| ctaText | string | no | Optional CTA button label |
| ctaUrl | string | no | Optional CTA destination URL |
email.send
Dispatches an approved email to recipient via SES with atomic quota tracking.
| Parameter | Type | Required | Description |
|---|---|---|---|
| to | string | array<string> | yes | Recipient email address, array of addresses, or audience tag ('all', 'customers', 'leads', 'students') |
| subject | string | yes | Email subject line |
| message | string | yes | Email body text |
| heading | string | no | Optional email header title |
| template | string | no | Optional template key |
| confirmed | boolean | no | Confirmation 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| topic | string | yes | Article topic |
| blogId | string | no | Optional existing blog ID to update |
| confirmed | boolean | no | Set 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).
| Parameter | Type | Required | Description |
|---|---|---|---|
| siteId | string | no | Optional site ID. Defaults to active consultancy site. |
| name | string | yes | Service name (e.g., 'Study in Japan Complete Processing') |
| feeAmount | number | yes | Service fee / package price (numeric) |
| description | string | no | Detailed description of what is included |
| currency | string | no | Currency code, defaults to 'NPR' |
| meetingLink | string | no | Optional Google Meet / Zoom counseling link |
| imageUrl | string | no | Optional banner or thumbnail image URL |
consultancy.list_services
Lists all active consultancy packages, language courses, and visa counseling services offered by the institute.
| Parameter | Type | Required | Description |
|---|---|---|---|
| siteId | string | no | Optional site ID. Defaults to active consultancy site. |
consultancy.create_lead
Registers a prospective student inquiry / applicant lead into the abroad-study consultancy CRM pipeline.
| Parameter | Type | Required | Description |
|---|---|---|---|
| siteId | string | no | Optional site ID. Defaults to active consultancy site. |
| studentName | string | yes | Full name of the prospective student |
| studentPhone | string | yes | Primary phone or WhatsApp number |
| studentEmail | string | no | Optional email address |
| targetCountry | string | no | Target study destination (e.g., 'Japan', 'Australia', 'Canada', 'UK', 'USA') |
| targetCourse | string | no | Target program or course (e.g., 'Language School + Bachelor IT') |
| stage | enum: "inquiry" | "counseling" | "documentation" | "applied" | "offer_received" | "visa_processing" | "visa_approved" | "enrolled" … | no | Pipeline stage (defaults to 'inquiry') |
| counselorName | string | no | Assigned staff counselor name |
| priority | enum: "low" | "medium" | "high" | "urgent" | no | Lead priority level |
| notes | string | no | Counseling 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| siteId | string | no | Optional site ID. Defaults to active consultancy site. |
| stage | string | no | Filter by pipeline stage (e.g., 'inquiry', 'visa_processing', 'documentation') |
| targetCountry | string | no | Filter by destination country (e.g., 'Japan') |
| search | string | no | Search by student name, phone, email, or lead ID |
| limit | number | no | Max 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| leadId | string | yes | Student Lead ID (e.g., 'CL-2026-0001') or MongoDB ID |
| stage | enum: "inquiry" | "counseling" | "documentation" | "applied" | "offer_received" | "visa_processing" | "visa_approved" | "enrolled" … | yes | Target pipeline stage |
| counselorNote | string | no | Progress 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).
| Parameter | Type | Required | Description |
|---|---|---|---|
| siteId | string | no | Optional site ID. Defaults to active school site. |
| title | string | yes | Notice headline / title |
| content | string | yes | Full text content of the notice or announcement |
| type | enum: "academic" | "admission" | "event" | "exam" | "general" | "holiday" | "sports" | no | Category of the notice (default 'general') |
| priority | enum: "low" | "medium" | "high" | "urgent" | no | Priority level |
| author | string | no | Publishing authority (e.g., 'Principal Office', 'Exam Department') |
| pinned | boolean | no | Pin notice to top of the school notice board |
| urgent | boolean | no | Flag as urgent emergency alert |
school.list_notices
Retrieves recent notices and announcements published on the school's digital noticeboard.
| Parameter | Type | Required | Description |
|---|---|---|---|
| siteId | string | no | Optional site ID. Defaults to active school site. |
| type | string | no | Filter by category: 'academic', 'admission', 'event', 'exam', 'general', 'holiday', 'sports' |
| limit | number | no | Max notices to fetch (default 20) |
school.create_event
Schedules a school event, sports meet, cultural festival, or parents' conference in the school calendar.
| Parameter | Type | Required | Description |
|---|---|---|---|
| siteId | string | no | Optional site ID. Defaults to active school site. |
| title | string | yes | Event title (e.g., 'Annual Sports Meet 2026') |
| description | string | yes | Event details and program schedule |
| eventDate | string | yes | Event date in format YYYY-MM-DD |
| startTime | string | no | Start time (e.g., '09:00') |
| endTime | string | no | End time (e.g., '16:00') |
| venue | string | no | Venue (e.g., 'School Grounds / Main Auditorium') |
| totalCapacity | number | no | Maximum participant / attendee capacity |
school.list_enrollments
Lists admission applications and student enrollment inquiries submitted to the school portal.
| Parameter | Type | Required | Description |
|---|---|---|---|
| siteId | string | no | Optional site ID. Defaults to active school site. |
| limit | number | no | Max 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).
| Parameter | Type | Required | Description |
|---|---|---|---|
| customerName | string | yes | Customer, client, or company name (e.g., 'Suman Basnet') |
| customerEmail | string | no | Customer email address. Leave empty if unknown so tool can search CRM database. NEVER invent a fake email. |
| customerPhone | string | no | Optional customer phone number |
| customerAddress | string | no | Optional customer address |
| customerPan | string | no | Optional customer PAN / VAT registration number for B2B billing |
| serviceName | string | no | Single service or product item name (e.g., 'Web Development & Hosting', 'School Tuition Fee', 'Consultation Fee') |
| price | number | no | Price or rate for the service item in NPR |
| items | array<object> | no | Optional itemized list of items/services. If passed, overrides serviceName/price. |
| discount | number | no | Flat discount amount in NPR |
| discountPercentage | number | no | Discount percentage (e.g., 10 for 10% OFF) |
| taxRate | number | no | VAT tax percentage (e.g. 13 for 13% VAT, 0 for tax-exempt). Defaults to site's configured VAT rate. |
| isVat | boolean | no | Set true to apply standard 13% VAT, false for 0% VAT exemption |
| paymentStatus | enum: "paid" | "pending" | no | Payment status: 'paid' (default receipt) or 'pending' (unpaid bill) |
| paymentMethod | string | no | Payment method (e.g. 'Fonepay / Bank QR', 'Cash', 'Bank Transfer', 'eSewa', 'Khalti') |
| paymentReference | string | no | Transaction reference ID, receipt note, or check number |
| dueDate | string | no | Due date for payment (e.g. '2026-10-30') |
| customNotes | string | no | Custom notes, payment terms, or instructions |
| sendEmail | boolean | no | Whether to dispatch branded HTML invoice email to customer via Amazon SES (default true) |
| siteId | string | no | Optional 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).
| Parameter | Type | Required | Description |
|---|---|---|---|
| siteId | string | no | Optional site ID filter |
| status | enum: "all" | "paid" | "pending" | "void" | no | Invoice status filter |
| search | string | no | Search query for customer name, email, or invoice number |
| limit | number | no | Maximum 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| orderId | string | yes | Order ID (e.g. 'ORD-510738-448') or MongoDB 24-character _id |
| siteId | string | no | Optional store Site ID filter |
| siteName | string | no | Optional 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| siteId | string | no | Optional store Site ID |
| siteName | string | no | Optional store name |
| productName | string | no | Optional product name filter |
| includeExpired | boolean | no | Include 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| siteId | string | no | Optional store Site ID |
| name | string | yes | Promotion campaign name |
| type | enum: "percentage" | "fixed" | no | Discount type (default 'percentage') |
| discountValue | number | yes | Discount percentage or fixed NPR amount |
| productNames | array<string> | no | Optional target product names (applies storewide if omitted) |
| startDate | string | no | Optional ISO start date |
| endDate | string | no | Optional ISO end date |
| publishBanner | boolean | no | Publish storefront announcement banner immediately |
| headline | string | no | Optional storefront banner headline |
| subheadline | string | no | Optional banner subheadline |
| badgeText | string | no | Optional badge label |
| theme | enum: "red" | "dark" | "gradient" | "gold" | "emerald" | no | Banner theme |
commerce.update_payment_config
Configures e-commerce payment methods: Fonepay/eSewa/Khalti/Bank QR image URL, Cash on Delivery toggle, and payout identifiers.
| Parameter | Type | Required | Description |
|---|---|---|---|
| siteId | string | no | Optional Site ID |
| paymentQrCode | string | no | Uploaded payment QR image URL |
| codEnabled | boolean | no | Enable or disable Cash on Delivery |
| esewaId | string | no | eSewa ID |
| khaltiNumber | string | no | Khalti phone number |
| bankDetails | string | no | Bank account details |
commerce.set_free_shipping
Configures storewide free-shipping threshold and standard shipping fee in NPR.
| Parameter | Type | Required | Description |
|---|---|---|---|
| siteId | string | no | Optional Site ID |
| freeShippingEnabled | boolean | no | Enable or disable free shipping threshold |
| threshold | number | yes | Minimum cart subtotal in NPR to unlock free shipping |
| standardShippingFee | number | no | Standard shipping fee in NPR below threshold |
| message | string | no | Custom cart banner message |
crm.customer_list
Lists or searches CRM customers across stores with contact details, reconciled realizedPaidSpend, lastOrderDate, and itemized store purchase history.
| Parameter | Type | Required | Description |
|---|---|---|---|
| search | string | no | Search query by customer name, phone, or email |
| siteId | string | no | Optional store Site ID |
| siteName | string | no | Optional store name (e.g. 'Pokhara Clothing') |
| productName | string | no | Optional product name filter |
| hasOrders | boolean | no | Filter to customers with at least one order |
| paidOnly | boolean | no | Filter to customers with at least one PAID order |
| limit | number | no | Max 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Customer or lead full name |
| string | no | Optional email | |
| phone | string | no | Optional phone number |
| whatsappNumber | string | no | Optional WhatsApp number |
| udharoBalance | number | no | Optional opening Udharo credit balance in NPR |
| source | string | no | Lead acquisition source |
| notes | string | no | Notes or follow-up details |
crm.udharo_manage
Manages customer Udharo (credit/khata): list balances, add credit, record payments, settle accounts, or prepare WhatsApp reminders.
| Parameter | Type | Required | Description |
|---|---|---|---|
| action | enum: "list" | "add_credit" | "record_payment" | "settle" | "remind" | yes | Udharo action |
| customerName | string | no | Customer name |
| customerPhone | string | no | Customer phone |
| amount | number | no | Amount in NPR |
| note | string | no | Transaction note |
| siteId | string | no | Optional Site ID |
invoice.get_details
Retrieves complete line items, tax computations, payment status, and share URL for an invoice number.
| Parameter | Type | Required | Description |
|---|---|---|---|
| invoiceNumber | string | yes | Invoice number (e.g. 'INV-2026-10294') |
invoice.update_status
Updates the payment status of a sales invoice (paid, pending, void, or cancelled).
| Parameter | Type | Required | Description |
|---|---|---|---|
| invoiceNumber | string | yes | Invoice number |
| status | enum: "paid" | "pending" | "void" | "cancelled" | yes | New invoice status |
| paymentMethod | string | no | Payment method used |
| paymentReference | string | no | Transaction reference ID |
| sendReceiptEmail | boolean | no | Send confirmation receipt email (default true) |
restaurant.table_list
Lists restaurant dining tables, capacity, QR codes, and reservation/occupancy status.
| Parameter | Type | Required | Description |
|---|---|---|---|
| siteId | string | no | Optional restaurant Site ID |
restaurant.table_create
Adds a dining table to a restaurant site with capacity and QR ordering support.
| Parameter | Type | Required | Description |
|---|---|---|---|
| siteId | string | no | Optional restaurant Site ID |
| tableNumber | string | yes | Table number or label |
| capacity | number | no | Seating capacity |
consultancy.note_search
Searches private student counseling notes across consultancy records by keyword, student name, or category.
| Parameter | Type | Required | Description |
|---|---|---|---|
| query | string | yes | Keyword or topic to search |
| studentName | string | no | Optional student name filter |
editorial.score_draft
Evaluates a draft blog/editorial article for SEO quality, brand voice alignment, and duplicate topic risk.
| Parameter | Type | Required | Description |
|---|---|---|---|
| title | string | yes | Draft article title |
| content | string | yes | Draft Markdown/text content |
site.update_details
Updates business/storefront profile details (name, phone, email, address, city, hours, VAT/PAN, social links).
| Parameter | Type | Required | Description |
|---|---|---|---|
| siteId | string | no | Optional Site ID |
| name | string | no | Updated site/business name |
| companyDetails | object | no | Updated companyDetails fields (phone, email, address, city, whatsapp, etc.) |
site.apply_template
Applies a compatible same-niche design template to an existing site.
| Parameter | Type | Required | Description |
|---|---|---|---|
| siteId | string | no | Optional Site ID |
| templateId | string | yes | Target 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| queryType | enum: "part_serial" | "fuel_summary" | "expiries" | "repair_history" | "truck_status" | "inventory" | yes | Query type |
| serialNumber | string | no | Component serial number (for part_serial) |
| truckQuery | string | no | Optional truck plate or identifier |
| timeRange | enum: "this_month" | "last_month" | "today" | "all" | no | Time range filter |
| daysAhead | number | no | Expiry lookahead days (default 30) |
fleet.log_fuel
Logs or edits a truck fuel entry with audit trail, odometer tracking, and efficiency check.
| Parameter | Type | Required | Description |
|---|---|---|---|
| truckQuery | string | yes | Truck plate or identifier |
| quantity | number | yes | Fuel quantity in Litres |
| fuelRate | number | yes | Price per Litre in NPR |
| totalAmount | number | no | Optional total amount in NPR |
| fuelStation | string | no | Fuel pump name |
| odometer | number | no | Odometer reading in km |
| fuelType | enum: "Diesel" | "Petrol" | "Other" | no | Fuel type |
| route | string | no | Trip route |
| action | enum: "create" | "edit" | no | Create or edit |
| editReason | string | no | Audit reason when editing |
fleet.create_repair
Records a vehicle repair or garage maintenance service with cost and replaced parts.
| Parameter | Type | Required | Description |
|---|---|---|---|
| truckQuery | string | yes | Truck plate or identifier |
| workshop | string | yes | Workshop/garage name |
| description | string | yes | Repair details |
| repairCost | number | yes | Total repair cost in NPR |
| status | enum: "Completed" | "In Progress" | "Pending" | no | Repair status |
| estimatedDays | number | no | Estimated days if In Progress |
fleet.manage_part
Manages fleet spare parts inventory, serialized installations, removals, and inter-truck transfers.
| Parameter | Type | Required | Description |
|---|---|---|---|
| action | enum: "install" | "remove" | "transfer" | "stock_add" | yes | Part action |
| partName | string | yes | Part name |
| serialNumber | string | no | Physical serial number |
| targetTruckQuery | string | no | Target truck plate |
| cost | number | no | Unit cost in NPR |
| quantity | number | no | Quantity |
fleet.manage_driver
Assigns or unassigns drivers to fleet vehicles with license compliance warnings.
| Parameter | Type | Required | Description |
|---|---|---|---|
| action | enum: "assign" | "unassign" | yes | Assign or unassign |
| truckQuery | string | yes | Truck plate |
| driverQuery | string | yes | Driver name, phone, or license number |
| notes | string | no | Optional notes |
fleet.update_trip_status
Updates the live route, trip status (Idle, Ongoing, Completed), and odometer for a truck.
| Parameter | Type | Required | Description |
|---|---|---|---|
| truckQuery | string | yes | Truck plate or identifier |
| tripStatus | enum: "Idle" | "Ongoing" | "Completed" | yes | New trip status |
| currentRoute | string | no | Current or destination route |
| remarks | string | no | Dispatch remarks |
| odometer | number | no | Current odometer in km |
Client compatibility
Based on the transports each client documents as supported; this is not a live test inside the client.
| Client | Documented transports | This server | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepted | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepted | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepted | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepted | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepted | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepted | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepted | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepted | doc |
Ready-to-copy configs
Remote address used: https://app.hamrolink.com/api/mcp/sse. Formats taken from each client’s documentation.
claude mcp add --transport http hamrolink-mcp https://app.hamrolink.com/api/mcp/sseCustomize > Connectors > + Add > Add custom connector ; Name : hamrolink-mcp ; URL : https://app.hamrolink.com/api/mcp/ssechatgpt.com/plugins > + > Add custom MCP server ; Name : hamrolink-mcp ; Server URL : https://app.hamrolink.com/api/mcp/sse ; Create as a plugin{
"mcpServers": {
"hamrolink-mcp": {
"url": "https://app.hamrolink.com/api/mcp/sse"
}
}
}{
"mcpServers": {
"hamrolink-mcp": {
"type": "http",
"url": "https://app.hamrolink.com/api/mcp/sse",
"tools": ["*"]
}
}
}{
"mcpServers": {
"hamrolink-mcp": {
"url": "https://app.hamrolink.com/api/mcp/sse"
}
}
}{
"mcpServers": {
"hamrolink-mcp": {
"httpUrl": "https://app.hamrolink.com/api/mcp/sse"
}
}
}[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
[HamroLink Business OS MCP Server — L’Atlas](https://latlas.dev/en/mcp/io.github.SumanBasnet07/hamrolink-mcp)Source : Registre officiel MCP · retrieved 4 Dec 2026. L’Atlas adds no data beyond this source and its own tests.