Skip to main content

A MCP server implementation for HAI (Hyper Application Inventor) services

Project description

mcp-server-hai

A MCP server implementation for Tencent HAI (Hyper Application Inventor) services

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": {
        "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"
        },
        "transportType": "stdio"
      }
    }
  }

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/*

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

mcp_server_hai-1.2.5.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

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

mcp_server_hai-1.2.5-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file mcp_server_hai-1.2.5.tar.gz.

File metadata

  • Download URL: mcp_server_hai-1.2.5.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for mcp_server_hai-1.2.5.tar.gz
Algorithm Hash digest
SHA256 8c8edd17f5ed13fe1e0c1d91f17f43f78af6f1c7f3dba4ae49d1d4b0dc648e96
MD5 fa356e9a3e453b38800b058ceb8b4c73
BLAKE2b-256 3cd5809f898d531fbb25c9addc9f9d09d7b41bd637fc5cc8742e10f1fc05188b

See more details on using hashes here.

File details

Details for the file mcp_server_hai-1.2.5-py3-none-any.whl.

File metadata

  • Download URL: mcp_server_hai-1.2.5-py3-none-any.whl
  • Upload date:
  • Size: 7.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for mcp_server_hai-1.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 01c89c1b9fb7cc967758add881a33848d6e85074a0d7ecc82368aafb4c33a65e
MD5 6e03663ce49929ce85003c84252ec510
BLAKE2b-256 7d49721d7703d66e71ef211295e0d945568f9973daca0ecacc8b9ff7fd66e4ed

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