A MCP server for MaxCompute
Project description
MaxCompute MCP Server
Overview
A Model Context Protocol (MCP) server for MaxCompute.
Components
Tools
The server offers 4 core tools:
Query Tools
-
get_latest_partition- Get the latest partition name for a specific table
- Input:
table_name(string): Name of the table
- Returns: The latest partition name
-
read_query- Execute a SELECT query on the MaxCompute project, only SELECT query is allowed
- Input:
query(string): The SELECT SQL query
- Returns: Query results as array of objects
Schema Tools
-
list_tables- List all tables in the MaxCompute project
- No input required
- Returns: Array of table objects with name and comment
-
describe_table- Get the schema information for a specific table
- Input:
table_name(string): Name of the table
- Returns: Raw output of DESC command
Usage with Cline
# Install maxcompute-mcp-server
cd /path/to/maxcompute-mcp-server
uv pip install .
# Add the server to your cline_mcp_settings.json
"mcpServers": {
"maxcompute-mcp-server": {
"command": "uv",
"args": [
"run",
"--with",
"maxcompute-mcp-server",
"maxcompute-mcp-server"
],
"env": {
"ALIBABA_CLOUD_ACCESS_KEY_ID": "",
"ALIBABA_CLOUD_ACCESS_KEY_SECRET": "",
"ALIBABA_CLOUD_MAXCOMPUTE_PROJECT": "",
"ALIBABA_CLOUD_MAXCOMPUTE_ENDPOINT": "http://service.cn.maxcompute.aliyun.com/api"
}
}
}
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
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 maxcompute_mcp_server-0.1.1.tar.gz.
File metadata
- Download URL: maxcompute_mcp_server-0.1.1.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aaa0d4230d004aab10710fb4e92e70cc72c9b039ecb55fb6fc82d2394f7b7dfd
|
|
| MD5 |
8eb495bcccb7d728e8c7465d2ef759d1
|
|
| BLAKE2b-256 |
96d43b8485bc7e39fb1f47c2604754a335baf099a6e17a733a902c05f6d4e64e
|
File details
Details for the file maxcompute_mcp_server-0.1.1-py3-none-any.whl.
File metadata
- Download URL: maxcompute_mcp_server-0.1.1-py3-none-any.whl
- Upload date:
- Size: 8.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f1d3d83918fff4668bf68df2806fa5717486eddcd318db7fc832f34366cebd1e
|
|
| MD5 |
e16d26b892aa46795776a939eb0bc642
|
|
| BLAKE2b-256 |
f776b7fd59f06fb3bc8b271fe8fc2102c35e6bbe9a87271097dbfa6f365c6259
|