About mcp-server-hai
mcp-server-hai is an MCP server for Tencent Cloud HAI services. It is for users managing HAI instances and provides lifecycle operations plus region and instance-type queries.
Key features
- 01Create, start, stop, and remove instances
- 02Query instance details and network status
- 03List available regions and instance types
Use cases
- 01Create and start an HAI instance
- 02Check instance details and network status
- 03Choose an available region and instance type
MCP support
The server exposes Tencent Cloud HAI instance management and query tools to MCP clients.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEmcp-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/*
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.