Skip to main content

BorealHost.ai MCP server — agent-native web hosting tools

Project description

BorealHost MCP Server

Agent-native web hosting tools for the Model Context Protocol.

Connect any MCP-compatible AI agent to BorealHost.ai — purchase hosting, deploy sites, manage DNS, register domains, and scale infrastructure, entirely through tool calls.

Quick Start

Remote Server (Recommended)

No installation needed. Connect directly to the hosted server:

{
  "mcpServers": {
    "borealhost": {
      "type": "streamable-http",
      "url": "https://borealhost.ai/mcp/"
    }
  }
}

Local Installation (pip)

pip install borealhost-mcp

Then run:

borealhost-mcp

Or add to your MCP client config:

{
  "mcpServers": {
    "borealhost": {
      "command": "borealhost-mcp"
    }
  }
}

Environment Variables

Variable Description
BOREALHOST_BASE_URL API base URL (default: https://borealhost.ai)
BOREALHOST_API_KEY Pre-configured API key (optional — you can also call register() or set_api_key() at runtime)

What Can It Do?

BorealHost MCP exposes 47 tools across the full hosting lifecycle:

Authentication & Identity

  • register — Create an agent account and get an API key (no auth needed)
  • set_api_key — Activate an existing key for the session
  • whoami — Verify your key and check account info
  • request_api_key / claim_api_key — Challenge-response auth for on-site agents

Plan Discovery & Checkout

  • list_plans — Browse hosting plans with pricing (CAD)
  • create_checkout / update_checkout / complete_checkout / get_checkout_status — Full purchase flow with Stripe

Site Management

  • get_site_status — Check site health, resources, and configuration
  • manage_dns — Create and delete DNS records (A, AAAA, CNAME, MX, TXT, SRV)
  • deploy — Trigger site deployment
  • scale — Upgrade or downgrade hosting plan
  • decommission — Delete site (7-day grace period)

Applications

  • install_app — Install from templates: Django, Laravel, Next.js, Node.js, Nuxt.js, Rails, static, Forge
  • get_app_status / list_apps — Monitor installations

File Management

  • list_files / read_file / write_file / upload_file / delete_file — Full filesystem access

Snapshots & Backups

  • list_snapshots / create_snapshot / delete_snapshot / rollback_snapshot — Local snapshots
  • create_b2_snapshot — Cloud-backed snapshots (Backblaze B2)
  • schedule_snapshot / cancel_scheduled_snapshot — Scheduled snapshots
  • get_snapshot_usage — Check quota
  • list_backups / create_backup / restore_backup — Automatic and manual backups

Domains

  • search_domain — Check availability and pricing
  • register_domain — Register with WHOIS info (supports .ca, .com, .net, etc.)
  • list_domains / domain_detail — Manage owned domains

SSH & Logs

  • get_ssh_info / add_ssh_key — SSH access for VPS plans
  • get_logs — Retrieve error, access, and PHP logs

Modules

  • list_modules / toggle_module — Enable/disable AI modules (chatbot, SEO, translation, content)

Account & Billing

  • update_account / delete_account — Profile management
  • list_subscriptions / get_billing_portal — Billing info and Stripe portal
  • rotate_key — Rotate API keys
  • get_metrics — Traffic and performance metrics

Resources

The server exposes 5 MCP resources for structured reference data:

URI Description
borealhost://api/errors Error codes with HTTP status and recovery guidance
borealhost://api/scopes API key scope hierarchy and tool requirements
borealhost://api/enums Valid enum values (checkout status, DNS types, log types, etc.)
borealhost://api/response-format API response envelope documentation
borealhost://plans Live plan catalog with current pricing

Prompts

5 guided workflow prompts for common operations:

  • purchase_hosting — Step-by-step plan purchase flow
  • setup_site — Post-purchase site configuration
  • manage_dns — Common DNS operations
  • register_domain — Domain registration with WHOIS checklist
  • claim_site_key — Challenge-response key claiming

Example Workflow

Agent: register()
→ {"api_key": "bh_...", "scopes": ["read", "write"]}

Agent: list_plans()
→ [{"slug": "starter", "price_monthly": 9.99, ...}, ...]

Agent: create_checkout("bh_site_starter_monthly")
→ {"checkout_id": "chk_...", "checkout_secret": "..."}

Agent: update_checkout("chk_...", requested_slug="my-new-site")
→ {"status": "ready"}

Agent: complete_checkout("chk_...")
→ {"payment_url": "https://checkout.stripe.com/..."}

Agent: get_checkout_status("chk_...")  # poll until completed
→ {"status": "completed", "site_slug": "my-new-site"}

Agent: deploy("my-new-site")
→ {"success": true}

Authentication

  • API key format: bh_ + 48 hex characters
  • Scopes: read (view) → write (modify) → admin (delete/scale)
  • No auth needed for: list_plans, create_checkout, update_checkout, complete_checkout, get_checkout_status
  • Keys are shown once on creation — store immediately

Requirements

  • Python 3.10+
  • Dependencies: mcp[cli]>=1.2.0, httpx>=0.27.0

Links

License

Proprietary. Copyright 2025-2026 BorealHost.ai. All rights reserved.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

borealhost_mcp-0.1.2.tar.gz (23.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

borealhost_mcp-0.1.2-py3-none-any.whl (27.7 kB view details)

Uploaded Python 3

File details

Details for the file borealhost_mcp-0.1.2.tar.gz.

File metadata

  • Download URL: borealhost_mcp-0.1.2.tar.gz
  • Upload date:
  • Size: 23.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for borealhost_mcp-0.1.2.tar.gz
Algorithm Hash digest
SHA256 4e45ae998d586998db1fd30a963050cfa829a93379f54824ed6d9d3ba86ef8e0
MD5 db1ce3f29f0f8b2ed3cfaaa3a43b05cb
BLAKE2b-256 1077e979c698609cff3269198abf48b128c3c3c94b05f3bd75b28fd4091f8ddd

See more details on using hashes here.

File details

Details for the file borealhost_mcp-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: borealhost_mcp-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 27.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for borealhost_mcp-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 927a8038ebb832216e29133d8ed0e71a88a7f1ee1b51a4631211ae02a1f6058f
MD5 b94aac515909f0d40bae6c4699642054
BLAKE2b-256 937e4916b2b6ec57f8c4be8f7bfac905f70e4e96d4dbcdb14ff40a8b76b52a55

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page