Skip to main content

Data Export MCP Server

通过 stdio 提供 MCP 工具:JSON / MaxCompute 查询导出 Excel 并上传 OSS。

依赖

  • Python ≥ 3.10

本地开发

在仓库根目录 develop_mcp:

pip install -e .
data-export-mcp-server

或在 data-export-mcp-server 下(需已安装依赖):

cd data-export-mcp-server
pip install -r requirements.txt
python data_export_server.py

兼容旧命令:

data-export-server

发布到 PyPI

在仓库根目录执行:

python -m pip install --upgrade build twine
python -m build
python -m twine check dist/*
python -m twine upload dist/*

发布成功后,可直接通过 uvx 拉起:

uvx data-export-mcp-server

如果你想先验证 TestPyPI,可先上传测试仓库:

python -m twine upload --repository testpypi dist/*
uvx --index-url https://test.pypi.org/simple/ data-export-mcp-server

环境变量

将 .env 放在仓库根、data-export-mcp-server 下(见 server.py 加载顺序)。

  • OSS:OSS_ACCESS_KEY_ID、OSS_ACCESS_KEY_SECRET、OSS_ENDPOINT、OSS_BUCKET_NAME
  • MaxCompute(可选):ODPS_ACCESS_ID、ODPS_ACCESS_KEY、ODPS_PROJECT、ODPS_ENDPOINT
  • 可选:MCP_LOG_LEVEL(默认 ERROR)

接入 Cursor / MCP 客户端

在客户端配置中使用 stdio,启动命令示例:

{
  "mcpServers": {
    "data-export": {
      "command": "uvx",
      "args": ["data-export-mcp-server"],
      "env": {}
    }
  }
}

若不通过 uvx,也可将 command 改为本机 python 路径,args 为 ["-m", "mcp_servers.data_export.server"],并设置 cwd 为 data-export-mcp-server 或在 PYTHONPATH 中包含该目录。

Metadata

Release files for data-export-mcp-server 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for data-export-mcp-server 0.1.0
File Size Uploaded Provenance
data_export_mcp_server-0.1.0.tar.gz 8.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for data-export-mcp-server 0.1.0
File Interpreter ABI Platform
data_export_mcp_server-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 19.0 kB

Release files / data_export_mcp_server-0.1.0.tar.gz

Download URL data_export_mcp_server-0.1.0.tar.gz
Size 8.5 kB
Tags Source
SHA-256 checksum
How to use checksums
042c2c86ac15f53ff388aaa31f372851abf6297b36da9091b07ed83703d8c8d1
BLAKE2b-256 checksum
How to use checksums
330081b40c09c4815ccfbcb576698d32b214ac2371d55b9ea6a8d3c860ef6f47
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / data_export_mcp_server-0.1.0-py3-none-any.whl

Download URL data_export_mcp_server-0.1.0-py3-none-any.whl
Size 10.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
76178324ece25a5f8c19f2babc0c9d2665a5c65978419adaec86e9b35d4127cb
BLAKE2b-256 checksum
How to use checksums
b51c6b208b52aec69bed2f92bf7e7452cf48c426739bbae158d1be1caf22ce76
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for data-export-mcp-server 0.1.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page