MaxCompute MCP Server
About
Alibaba cloud MaxCompute (ODPS) MCP server implemented by python
Details
- Author
- datafe
- GitHub stars
- 11
- Downloads
- 481
- Categories
- Other
Jump to
- Execute SELECT queries on MaxCompute projects
- Retrieve the latest partition name for a table
- List all tables in a MaxCompute project
- Describe a table’s schema (DESC command output)
- Easy integration with MCP-compatible clients like Cline
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
MaxCompute MCP ServerCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Configure the server in your MCP client (e.g., Cline) by adding the provided uv command and environment variables (ALIBABA_CLOUD_ACCESS_KEY_ID, ALIBABA_CLOUD_ACCESS_KEY_SECRET, ALIBABA_CLOUD_MAXCOMPUTE_PROJECT, ALIBABA_CLOUD_MAXCOMPUTE_ENDPOINT) to the client’s settings file. Then invoke the tools via the MCP client.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"maxcompute mcp server": {
"maxcompute-mcp-server": {
"command": "uv",
"args": [
"pip",
"install",
"."
]
}
}
}
}
McpServers
{
"maxcompute-mcp-server": {
"command": "uv",
"args": [
"pip",
"install",
"."
]
}
}
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
- maxcompute endpoints can view in endpoint
- maxcompute projects can view in projects
```bash
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



