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
Build from source
- Code: GitHub
cd /path/to/maxcompute-mcp-server
uv pip install .
uv build
Usage with Cline
# 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": "https://service.cn-shanghai.maxcompute.aliyun.com/api"
}
}
}
Metadata
Release files for maxcompute-mcp-server 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| maxcompute_mcp_server-0.1.3.tar.gz | 6.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| maxcompute_mcp_server-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.1 kB
Release files / maxcompute_mcp_server-0.1.3.tar.gz
| Download URL | maxcompute_mcp_server-0.1.3.tar.gz |
|---|---|
| Size | 6.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
678d8a6556a331d7aac511a36a7d80512cf72c750a24bf1d301d18ba89aa49b6
|
|
BLAKE2b-256 checksum How to use checksums |
a5da279543bfcc41ae8074e18e24f6c73ec5b567e312f0551f48e56d057b7fd9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.14
|
Release files / maxcompute_mcp_server-0.1.3-py3-none-any.whl
| Download URL | maxcompute_mcp_server-0.1.3-py3-none-any.whl |
|---|---|
| Size | 8.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
94c516a23db21ed67415954f17b863d1eaebfa7469f89cdc5818ffc8deca3554
|
|
BLAKE2b-256 checksum How to use checksums |
b71c4b0af41ccb59e93489ea6b44cfc5f46b2ab08a652d02867c9af152b2148e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.14
|
Security for maxcompute-mcp-server 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.