Add your description here
Project description
ECS MCP Server
Version
v0.1.0
Overview
ECS MCP Server is a Model Context Protocol server that provides MCP clients (such as Claude Desktop) with the ability to interact with the Volcengine ECS service. It enables full-chain management of cloud instance resources based on natural language, supporting query operations for instances, images, regions, availability zones, available resources, and system events, thereby achieving efficient management of ECS resources.
Category
ECS
Features
- Query instance information
- Query event information
- Query region information
Available Tools
describe_instances: query instance listdescribe_images: query image listdescribe_instance_types: query instance type listdescribe_available_resource: query available resourcesdescribe_system_events: query system eventsdescribe_regions: query region listdescribe_zones: query availability zone list
Usage Guide
Prerequisites
- Python 3.12+
- UV
Linux/macOS:
curl -LsSf https://astral.sh/uv/install.sh | sh
Windows:
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
Installation
Clone the repository:
git clone git@github.com:volcengine/mcp-server.git
Usage
Start the server:
UV
cd mcp-server/server/mcp_server_ecs
uv run mcp-server-ecs
# Start with sse mode (default is stdio)
uv run mcp-server-ecs -t sse
Use a client to interact with the server:
Claude Desktop | Cline | Cursor | Trae | ...
Configuration
The main configuration file for the MCP server is located at:
src/mcp_server_ecs/conf/settings.toml
src/mcp_server_ecs/conf/.secrets.toml
This configuration file contains key settings for the server, such as logging and Volcengine account AK|SK configuration.
Environment Variables
The following environment variables are available for configuring the MCP server:
| Environment Variable | Description | Default Value |
|---|---|---|
FASTMCP_PORT |
MCP server listening port | 8000 |
VOLC_ACCESSKEY |
Volcengine account ACCESSKEY | - |
VOLC_SECRETKEY |
Volcengine account SECRETKEY | - |
VOLC_REGION |
Volcengine resource region | - |
VOLC_ENDPOINT |
Volcengine endpoint | - |
For example, set these environment variables before starting the server:
export FASTMCP_PORT=8000
export VOLC_ACCESSKEY={ak}
export VOLC_SECRETKEY={sk}
export VOLC_REGION={region}
export VOLC_ENDPOINT={endpoint}
Run with uvx
{
"mcpServers": {
"mcp-server-ecs": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/volcengine/mcp-server#subdirectory=server/mcp_server_ecs",
"mcp-server-ecs"
],
"env": {
"VOLC_ACCESSKEY": "",
"VOLC_SECRETKEY": "",
"VOLC_ENDPOINT": "",
"VOLC_REGION": "",
"FASTMCP_PORT": ""
}
}
}
}
Examples
Cursor
License
volcengine/mcp-server is licensed under the MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ecs_mcp_server-0.1.0.tar.gz.
File metadata
- Download URL: ecs_mcp_server-0.1.0.tar.gz
- Upload date:
- Size: 11.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7081ae6ad07fe8d6fa9da592bbff0feab278f29f87fae9af45cd3595c94d7fda
|
|
| MD5 |
ea4fa176a97856b795ae76774c2876de
|
|
| BLAKE2b-256 |
619f684e26b316422f9f06709724c422575a17ba5c4983b7aac30b2d09e859bc
|
File details
Details for the file ecs_mcp_server-0.1.0-py3-none-any.whl.
File metadata
- Download URL: ecs_mcp_server-0.1.0-py3-none-any.whl
- Upload date:
- Size: 15.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4c8a61ab6a66878596a7af34c9e485593309b2e2ad39a3eceb1e7170d040430
|
|
| MD5 |
03ea7bfa23d83fabc951dc31dbc80992
|
|
| BLAKE2b-256 |
86033096283a18e986263f3bb8da4a130dcf224db7d296032a568949983d1fca
|