Skip to main content

mcp-server-hai

A MCP server implementation for Tencent HAI (Hyper Application Inventor) services, supporting instance lifecycle management (create/start/stop/delete) and status queries (instance details/network health).

Installation

Cline

if you are using cline, no installation is needed, the installation is automatically executed by uvx.

Local install

uv init example-project # init your project
uv add mcp-server-hai # download and install the package on PYPI
uv run mcp-server-hai # run the package

Usage

Using in Cline

open your cline setting file: cline_mcp_setting.json

add mcp-server-hai configuration to mcpServers as follows:

{
    "mcpServers": {
      "mcp-server-hai": {
        "type": "stdio",
        "command": "uvx",
        "args": [
          "mcp-server-hai@latest" // make sure you have installed the latest version, to use a specific version, use mcp-server-hai@version instead
        ],
        "env": {
          "TENCENTCLOUD_SECRET_ID": "YOUR_SECRET_ID_HERE",
          "TENCENTCLOUD_SECRET_KEY": "YOUR_SECRET_KEY_HERE"
        }
      }
    }
  }

Then you can find the mcp server named mcp-server-hai in cline, enjoy ;)

Directly run the server

uvx mcp-server-hai

Environment variables required:

  • TENCENTCLOUD_SECRET_ID: Your Tencent Cloud secret ID
  • TENCENTCLOUD_SECRET_KEY: Your Tencent Cloud secret key

Features

  • Create, start, stop and remove HAI instances
  • Query instance information and network status
  • Get available regions and instance types

Development

Install development dependencies:

uv sync

Publishing

Build and publish to PYPI:

uv add build twine
uv run python -m build
uv run twine upload dist/*

Metadata

Release files for mcp-server-hai 1.2.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcp-server-hai 1.2.6
File Size Uploaded
mcp_server_hai-1.2.6.tar.gz 7.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mcp-server-hai 1.2.6
File Interpreter ABI Platform
mcp_server_hai-1.2.6-py3-none-any.whl Python 3 none any Details

Total release size: 15.2 kB

Release files / mcp_server_hai-1.2.6.tar.gz

Download URL mcp_server_hai-1.2.6.tar.gz
Size 7.7 kB
Tags Source
SHA-256 checksum
How to use checksums
f240a03c3ef1fcb94b85116cdb9000b6b47fd8dd241ca4e9e97a4873ae1c560c
BLAKE2b-256 checksum
How to use checksums
c7f888902c5ef6a361fb6765126aa3019879c2d5af8dd3a824e6f18175bb8ea7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.11

Release files / mcp_server_hai-1.2.6-py3-none-any.whl

Download URL mcp_server_hai-1.2.6-py3-none-any.whl
Size 7.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2b7ffeff66fa002900f14517d44f9fad7e418bcbd276cd3b47a4eb42280c8eaf
BLAKE2b-256 checksum
How to use checksums
1247146d1c5cac17ddff496e65fe28f55e4a95589f867d879417553a460bb5a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.11

Release history Release notifications | RSS feed

This release

1.2.6 This release

2 release files

1.2.5

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page