Repository avatar
Other Tools
v1.0.0
active

hamrolink-mcp

io.github.SumanBasnet07/hamrolink-mcp

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

Documentation

HamroLink MCP Server & Stdio Bridge

Official Model Context Protocol (MCP) integration hub and zero-dependency Node.js stdio bridge for HamroLink — Nepal's AI Website Builder & Business Operating System (Business OS).

Connect Claude Desktop, Cursor, ChatGPT, Gemini, or custom AI agents to manage live Nepali websites, 0% commission eSewa/Khalti/Fonepay QR storefronts, restaurant table QR menus, School OS notices, 6-stage Consultancy CRMs, Udharo credit ledgers, Fleet & Logistics tracking, Amazon SES emails, and 13% IRD VAT invoices across 98 live tenant-scoped MCP tools.


Live Production Endpoints

Protocol / SurfaceProduction Endpoint
MCP SSE / HTTP Endpointhttps://app.hamrolink.com/api/mcp/sse
MCP JSON-RPC 2.0 POST Endpointhttps://app.hamrolink.com/api/mcp/messages
OAuth 2.0 Discovery (RFC 8414)https://app.hamrolink.com/.well-known/oauth-authorization-server
OAuth Authorize / Tokenhttps://app.hamrolink.com/authorize · https://app.hamrolink.com/token
Developer Keys & Scopes Portalhttps://app.hamrolink.com/developer/mcp
MCP Architecture & Docshamrolink.com/features/mcp-server

No API Key Needed for Web AI Apps: Connect ChatGPT, Google Gemini, and Claude.ai via 1-Click OAuth 2.0 simply by pasting HamroLink's URL and signing into your HamroLink account. Scoped Bearer keys (hl_live_...) are also available for Cursor, Claude Desktop, local stdio bridges, and scripts at app.hamrolink.com/developer/mcp.


Method 1: 1-Click Keyless OAuth 2.0 (ChatGPT, Gemini & Claude Web — Recommended)

ChatGPT (No API Key Required)

  1. Open ChatGPT Connectors / Custom GPT Action OAuth settings and enter:
    • Server / Action URL: https://app.hamrolink.com/api/mcp/messages (or https://app.hamrolink.com/api/mcp/sse for MCP connector fields)
    • Client ID: chatgpt
    • Authorization URL: https://app.hamrolink.com/authorize
    • Token URL: https://app.hamrolink.com/token
  2. Click Connect / Authorize and approve your signed-in HamroLink workspace.

Google Gemini Connected App (No API Key Required)

  1. Open Google Gemini MCP / Connected App settings and paste MCP Server URL: https://app.hamrolink.com/api/mcp/sse
  2. If prompted for "Enter your OAuth client ID and client secret to connect", enter:
    • Client ID: gemini
    • Client Secret: hamrolink
  3. Sign in to HamroLink and click Authorize.

Claude.ai Web Custom Connector (No API Key Required)

  1. In Claude.ai, navigate to Settings → Connectors → Add Custom Connector.
  2. Paste Server URL: https://app.hamrolink.com/api/mcp/sse (or https://app.hamrolink.com/api/mcp/messages).
  3. Claude discovers OAuth metadata from https://app.hamrolink.com/.well-known/oauth-authorization-server automatically (or enter Authorization URL https://app.hamrolink.com/authorize and Token URL https://app.hamrolink.com/token), then click Authorize.

Method 2: Bearer API Key & Local Stdio Bridge (Claude Desktop, Cursor, cURL)

1. Claude Desktop & Cursor (Direct Remote SSE with Bearer Key)

Add this entry to your Claude Desktop config (claude_desktop_config.json) or Cursor MCP config (.cursor/mcp.json):

{
  "mcpServers": {
    "hamrolink": {
      "url": "https://app.hamrolink.com/api/mcp/sse",
      "headers": {
        "Authorization": "Bearer YOUR_HL_LIVE_API_KEY"
      }
    }
  }
}

Ready-to-use templates are included in examples/claude_desktop_config.json and examples/cursor_mcp.json.

2. Local Node.js Stdio-to-HTTP Bridge (Node 18+, Zero Dependencies)

If your MCP client requires a local stdio executable rather than a remote url:

git clone https://github.com/SumanBasnet07/hamrolink-mcp.git
cd hamrolink-mcp
HAMROLINK_API_KEY="YOUR_HL_LIVE_API_KEY" node ./src/index.mjs

Or wire it into claude_desktop_config.json:

{
  "mcpServers": {
    "hamrolink": {
      "command": "node",
      "args": ["/absolute/path/to/hamrolink-mcp/src/index.mjs"],
      "env": {
        "HAMROLINK_API_KEY": "YOUR_HL_LIVE_API_KEY",
        "HAMROLINK_MCP_URL": "https://app.hamrolink.com/api/mcp/messages"
      }
    }
  }
}

3. ChatGPT Actions (OpenAPI 3.1.0) & cURL

Import examples/chatgpt_openapi.json with Bearer authentication, or test directly via curl:

curl -X POST https://app.hamrolink.com/api/mcp/messages \
  -H "Authorization: Bearer YOUR_HL_LIVE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "commerce.list_products",
      "arguments": {}
    }
  }'

End-to-End Business Playbooks (Copy-Paste Prompts)

Ready-to-run prompt sequences (English & Romanized Nepali) for operating a complete business workflow through HamroLink MCP:

Vertical / WorkflowGuide & Copy-Paste Prompts
Full E-Commerce Store (0% Fee QR)playbooks/full-ecommerce-store.md — Site launch, multi-variant size/color products (parent-product metered), eSewa/Khalti/Fonepay QR setup, flash sales, Udharo & 13% VAT invoicing
Full Education Consultancy CRMplaybooks/full-education-consultancy.md — Consultancy site, services, 6-stage visa pipeline, overdue document radar, Amazon SES email reminders & 13% VAT bills
Full Restaurant & QR Menusplaybooks/full-restaurant-qr.md — Printable Tables 1–10 QR menus, dish discounts & live Kitchen Order Tickets (KOT)
Full School Website & Admissionsplaybooks/full-school-os.md — Exam/holiday notices, calendar events & student admission enrollments
Full Fleet & Logistics OSplaybooks/full-fleet-os.md — Vehicle status audits, diesel fuel logs, workshop repairs, serialized spare parts, drivers & trips
Custom HTML/CSS/JS SDK v2examples/custom-html-sdk/delivery-calculator.html · consultancy-lead-card.html

Available API Scopes & Security Gates

  • Scoped API Tokens: website:read, website:write, crm:read, blog:write, commerce:write, consultancy:read, school:write, email:send, analytics:read
  • Human-in-the-Loop Preflight: Sensitive operations such as website.preflight -> website.create and outbound dispatch tools like consultancy.send_reminder require explicit operator confirmation before executing live mutations.
  • Tenant Isolation: Every token is mathematically bound to a single merchant workspace and respects plan entitlements (e.g., invoice.create, invoice.list, and analytics tools require eligible plans).

Complete Catalog of 98 Live MCP Tools

Website, Themes, Pages & Media (29 Tools)

  • website.list_templates — Lists available HamroLink templates with visual preview thumbnails.
  • website.preflight — Step 1 of site creation: validates subdomain and returns a preview proposal.
  • website.create — Step 2 of site creation: builds and publishes a bilingual site from an approved proposal.
  • website.list — Lists all active websites owned by the account.
  • website.verify — Developer schema check for raw SiteCreationPackage payloads.
  • website.compile — Dry-run compile of a SiteCreationPackage without persisting.
  • website.persist — Persists a hand-authored SiteCreationPackage.
  • website.publish — Publishes draft pages and re-indexes businessState for the embedded Website AI Chatbot.
  • website.delete — Soft-deletes a tenant website.
  • add_website_page — Adds a pre-built or custom HTML/CSS/JS page (isolated sandboxed iframe) and links it in the navbar.
  • update_navbar — Adds or removes links in the top header navigation bar.
  • change_theme — Updates global visual themes across storefront headers, footers, and pages.
  • site.get_layout — Retrieves global header, footer, navigation links, and company profile details.
  • site.update_layout — Updates site-wide header and footer sections.
  • site.update_theme — Updates visual color and typography tokens site-wide.
  • site.update_header — Updates navbar logo, links, CTA, and contact details.
  • site.update_footer — Updates footer description, address, phone, email, and links.
  • site.update_details — Updates business profile details (name, phone, address, VAT/PAN, social links).
  • site.apply_template — Applies a compatible same-niche template design to an existing site.
  • page.list — Lists all pages on a site (/, /about, /contact, etc.).
  • page.get — Retrieves section structure and content for a page slug.
  • page.update — Updates a page or injects scoped HTML/CSS and sandboxed JS.
  • page.add_section — Appends or prepends structured or custom HTML/CSS/JS sections.
  • page.remove_section — Removes a section by ID or type.
  • page.create — Creates and publishes a new page with optional nav linking.
  • page.delete — Permanently deletes a non-home page and invalidates edge caches.
  • media.upload — Transcodes images into optimized WebP assets on Cloudflare R2 CDN.
  • media.list — Lists uploaded media assets in the library.
  • media.get_presigned_url — Generates a direct presigned R2 PUT upload URL.

Blog & Editorial SEO AI (9 Tools)

  • blog.list_authors — Lists saved blog authors for a site.
  • blog.list_posts — Lists published blog articles.
  • blog.get_post — Retrieves a single blog post by slug.
  • blog.create_post — Creates and publishes an SEO Markdown blog post.
  • blog.update_post — Updates an existing blog post.
  • blog.delete_post — Deletes a blog post from a site.
  • editorial.opportunity_discover — Discovers high-impact blog topic opportunities from site trends and inquiries.
  • editorial.generate_article — Generates or updates an SEO blog post with a 7-metric quality scorecard.
  • editorial.score_draft — Evaluates a draft article for SEO quality, brand voice, and duplication risk.

E-Commerce Storefronts, Orders & Local QR Checkout (17 Tools)

  • commerce.list_products — Lists store products and stock levels.
  • commerce.get_product — Retrieves single-product details.
  • commerce.create_product — Adds a product with optional size/weight/color variants and NPR pricing.
  • commerce.update_product — Updates product metadata, variants, or stock counts cleanly.
  • commerce.delete_product — Deletes a product from inventory.
  • commerce.category_list — Lists distinct product categories and counts.
  • commerce.sales_report — Aggregates order units, paid vs. pending NPR revenue, and completed vs. cancelled stats.
  • commerce.apply_offer_or_discount — Applies offers or promo codes (DASHAIN20) to variants or the store.
  • commerce.list_promotions — Read-only listing of active product offers, flash sales, and countdown banner states.
  • commerce.create_promotion — Creates multi-product festival flash-sale campaigns with optional countdown banners.
  • commerce.update_payment_config — Configures Fonepay/eSewa/Khalti/Bank QR URLs and Cash on Delivery (COD) settings.
  • commerce.set_free_shipping — Sets storewide free-shipping thresholds and shipping rates in NPR.
  • commerce.order_create — Creates a verified order with atomic stock validation and checkout calculation.
  • commerce.order_list — Queries e-commerce orders, line items, and payment statuses.
  • commerce.order_get — Retrieves full single-order details and attribution metadata.
  • commerce.order_update_status — Updates order fulfillment lifecycle stages.
  • commerce.order_update_payment_status — Independently updates payment status (PENDING, PAID, FAILED, REFUNDED).

Restaurant QR Menus, Tables & Kitchen Tickets (8 Tools)

  • restaurant.menu_list — Queries dishes, categories, dietary flags, and offers.
  • restaurant.menu_create — Adds a new dish or food item.
  • restaurant.menu_update — Updates an existing menu item.
  • restaurant.apply_discount — Applies a discount percentage to a restaurant dish.
  • restaurant.order_list — Queries live dine-in, takeaway, delivery orders, and reservations.
  • restaurant.order_update_status — Updates live Kitchen Order Ticket (KOT) lifecycle stages and prep times.
  • restaurant.table_list — Lists dining tables, capacity, QR codes, and occupancy status.
  • restaurant.table_create — Adds a dining table with QR ordering support.

CRM, Udharo Ledger, Email & 13% VAT Invoicing (10 Tools)

  • crm.list_leads — Queries customer and student leads captured via website forms and the website AI chatbot.
  • crm.customer_list — Searches CRM customers with spend history and last order dates.
  • crm.lead_create — Logs a new CRM contact with optional opening Udharo balance.
  • crm.udharo_manage — Manages customer Udharo credit ledgers (list, add credit, record payment, settle, prepare 1-click WhatsApp share reminders).
  • email.draft — Drafts branded Amazon SES emails with variable interpolation ({{name}}, {{order_id}}).
  • email.send — Dispatches approved emails via Amazon SES with quota tracking.
  • invoice.create — Generates itemized NPR bills with optional 13% IRD VAT, PAN numbers, QR links, and email/1-click wa.me share support.
  • invoice.list — Lists past issued invoices and payment statuses.
  • invoice.get_details — Retrieves invoice line items, taxes, and view/share URL.
  • invoice.update_status — Updates invoice status (paid, pending, void, cancelled).

Education Consultancy & School OS (16 Tools)

  • consultancy.pipeline_overview — Returns applicant counts across all 6 study-abroad admissions stages.
  • consultancy.student_list — Filters student profiles by stage, destination country, or missing documents.
  • consultancy.student_detail — Retrieves full student record, universities, test scores, and documents.
  • consultancy.urgent_documents — Finds applicants with missing or overdue documents by deadline urgency.
  • consultancy.send_reminder — Sends Amazon SES document reminder emails to students missing required paperwork.
  • consultancy.create_service — Adds visa counseling or test-prep service packages.
  • consultancy.list_services — Lists active consultancy services and packages.
  • consultancy.create_lead — Registers a prospective student inquiry in the consultancy CRM.
  • consultancy.list_leads — Lists consultancy leads with stage/country filtering.
  • consultancy.update_lead_stage — Moves a student lead across pipeline stages and logs counselor notes.
  • consultancy.note_search — Searches student counseling notes by keyword or student name.
  • school.application_submit — Registers a student admission inquiry on the school portal.
  • school.create_notice — Publishes official school announcements (Exam Schedule, Holiday, Admission Open).
  • school.list_notices — Retrieves published school noticeboard items.
  • school.create_event — Schedules school calendar events and sports/academic dates.
  • school.list_enrollments — Lists admission applications and enrollment inquiries.

Fleet & Logistics OS (6 Tools)

  • fleet.query — Read-only queries across vehicles, fuel totals, spare part serial history, and license expiries.
  • fleet.log_fuel — Logs diesel/petrol entries with station, odometer, and NPR fuel spend.
  • fleet.create_repair — Records workshop maintenance invoices and replaced parts.
  • fleet.manage_part — Tracks serialized spare parts stock, installations, removals, and truck transfers.
  • fleet.manage_driver — Assigns or unassigns drivers with license checks.
  • fleet.update_trip_status — Updates live vehicle routes (Idle, Ongoing, Completed) and odometers.

Analytics & Business Intelligence (3 Tools)

  • analytics.get_summary — Retrieves measured traffic, sessions, funnel steps, and top viewed products.
  • analytics.get_journey_report — Retrieves customer acquisition referrer/UTM funnel analytics.
  • bi.get_insights — Cross-domain Business Brain insights and operational recommendations.

Learn More About HamroLink

License

MIT © 2026 HamroLink

No installation packages available.