
EasyDeploy AI
ai.easydeploy由 easydeploy.ai 發布官方發布者v0.5.0更新於 Nov 5, 2026
Train AutoML models on CSV files and run predictions from Claude and other MCP clients.
概覽
EasyDeploy AI 讓助手在 MCP 用戶端中上傳 CSV、訓練 AutoML 模型並進行單筆或批次預測。
- 可以做什麼
- 讀取內建的資料科學操作手冊,涵蓋準備、切分、上傳、訓練、驗證與預測
- 管理專案、資料集與資料集版本,包含三種上傳通道與上傳狀態輪詢
- 建立模型版本、提交訓練工作並讀取含結構化指標的模型報告
- 列出並移動 staging、production 等模型別名,寫入前先做試跑檢查
- 依版本或別名執行單筆與批次預測,並查看帳戶狀態
- 適用情境
- 適合希望助手在對話中完成從 CSV 到監督式建模全流程的情境:資料清理與切分建議、上傳、AutoML 訓練、留出集驗證與評分。已有 EasyDeploy 帳戶、想透過 Claude、Cursor 等用戶端驅動預測或模型上線的使用者最合適。
- 執行需求
- 可使用 mcp.easydeploy.ai 遠端端點並以 OAuth 登入 EasyDeploy 帳戶,或在 Python 3.10+ 本機安裝 PyPI 套件 easydeploy-ai-mcp 並使用 EDA_API_KEY。Claude Desktop 上傳時需在對外白名單中允許 api.easydeploy.ai。自架另需 EDA_API_BASE 及 OAuth/Cognito 等選用變數。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 EasyDeploy AI,將其新增到工作區。
- 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
交給代理程式安裝
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/ai.easydeploy%2Feasydeploy-ai-mcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。
{
"mcpServers": {
"easydeploy-ai": {
"type": "http",
"url": "https://mcp.easydeploy.ai/mcp"
}
}
}README
EasyDeploy AI MCP (easydeploy-ai-mcp)
A Model Context Protocol (MCP) server that exposes the EasyDeploy public REST API as tools for Claude, Cursor, Claude Code, and other MCP clients.
PyPI package name: easydeploy-ai-mcp · Import package: easydeploy_ai_mcp
Contents
- Connect with Claude
- What you get
- Requirements
- Install
- Environment variables
- Local MCP (stdio)
- Remote MCP (HTTP)
- Documentation
- REST API reference
- Releases and API compatibility
- Development
- Security
- License
Connect with Claude
Hosted connector (claude.ai or Claude Desktop)
We host the MCP endpoint. You add it once inside Claude; after you connect and sign in, new chats can use EasyDeploy like any other enabled connector.
- Open Claude in the browser or open Claude Desktop.
- Open Settings, then Connectors, and choose Add custom connector.
- Enter exactly:
- Name:
EasyDeploy AI - Remote MCP server URL:
https://mcp.easydeploy.ai/mcp
- Name:
- Save the connector so EasyDeploy appears in your list of connectors.
- Open the EasyDeploy connector entry and choose Connect, then finish sign-in in your browser. That step authorizes Claude to use your EasyDeploy account.
Connect and sign in (inside Claude): After the custom connector is set up, Claude shows an EasyDeploy card with the MCP URL and a Connect button. Use that flow to sign in. You do not paste an API key into Claude. Access stays tied to the EasyDeploy profile you authenticate in the browser.
Claude Desktop and file uploads: File uploads and some tool calls reach EasyDeploy over the network. On Desktop, Claude blocks outbound traffic unless you allow the domains it should call. Open Settings → Capabilities, turn on Allow network egress, and under the domain allowlist add this one host exactly:
api.easydeploy.ai
That is the only host uploads to the public production server go to; allow it exactly, nothing wider. A server pointed at another EasyDeploy API (one set with EDA_API_BASE) needs that API's host instead, and the start_upload runbook names the exact host to allow.
The domain allowlist UI is available on paid Claude plans.
More detail and variants (for example a URL from your own deployment) are in docs/claude-getting-started.md.
Start here: get_started
get_started returns the EasyDeploy data-science playbook, which is most useful at the start of a modeling task. Its description and the server's MCP instructions say what it returns rather than when the agent must call it, as the Claude connector directory requires. Hosts cache tool descriptions and server instructions, and many never show the instructions to the model; a tool result is fetched live on every call. So the playbook lives in the tool's result, not in its description: the name and description stay fixed, and the content is updated with each release without anyone reconnecting.
get_started()returns the overview: the roles, the whole workflow with the tools at each step, and the hard rules.get_started(section=...)returns one section:prepare,split,upload,train,validateorpredict.allreturns every section.- Each result carries
guide_version,updated, the list of sections with a one-line summary each, andnext, the section to read next.
The content ships inside the package as Markdown, one file per section, in src/easydeploy_ai_mcp/guide/. The tool is read-only and makes no API call.
You are the data scientist
EasyDeploy searches models, engineers features, tunes hyperparameters, trains, deploys and predicts. It does not clean your data, define the target, split it, or check the model on data it never saw. The agent does that, following the get_started playbook:
- Prepare. Agree the decision and the target with you, explore the data, drop identifiers and anything not known at prediction time from the training file, and write a one-sentence target definition. Ids can stay in test and scoring files: prediction ignores columns the model wasn't trained on and returns them in the output, which makes joining results back easy. Data changes and dropped columns are confirmed with you before they are applied.
- Split. Stratified 80/20 for classification, chronological for time series, no entity in both files, no duplicates. Balancing such as SMOTE touches the train file only.
- Upload and train. The files go up separately, with
dataset_typetrainandtest(validationoptional). The model version is created on the train dataset version only. - Validate on the holdout. The report's cross-validation score is measured inside the training file and its training-fit metrics are in-sample. The real estimate comes from
run_batch_predictionon the test dataset version: the downloaded CSV keeps every input column, the true label included, in the original row order and addspredictionandprobability_<class>columns. The agent computes the metrics from it and picks the decision threshold from the cost of each kind of error (best F1 only when those costs are unknown), or reports the error margin for regressors. - Use real outputs. Dashboards, reports and scored lists are built from real predictions, never mock values.
Getting a training file into EasyDeploy
start_upload opens an upload session and the agent picks the best byte channel the host offers. File contents never travel through the conversation or through tool arguments on any channel — the agent passes a URL or runs a curl, never the data itself.
get_upload_status reports URL_ISSUED → RECEIVING → UPLOADED → VALIDATING → READY | REJECTED → CONSUMED (plus EXPIRED). complete_upload requires READY — every byte that becomes a dataset version passes the CSV validator first, and a session still in flight, REJECTED or EXPIRED returns a 400 naming what to do. On REJECTED, the error field says which check failed. Retrying complete_upload is safe: on a session that is already CONSUMED it returns the existing dataset version, and a 409 means another call for the same session is still in progress (wait a few seconds and retry). get_upload_status only covers sessions opened by start_upload; files uploaded through the web model builder are registered in the web app and do not appear there.
New dataset or new version. Omit dataset_id on start_upload and complete_upload creates a new dataset with the name you give it. Pass an existing dataset's id and the upload becomes a new version of that dataset; complete_upload's name is then ignored and the dataset keeps its name. complete_upload returns dataset and datasetVersion once each, with the column names as a columnNames list. qa_status is informational and does not gate anything. version_type matters in one case: submit_training_job with an explicit dataset_version_id rejects a raw version. Omit dataset_version_id to train on the model version's own dataset.
Fallback when the host has no byte channel at all (no egress and no file bridge): the agent saves the training file, hands it to you as a download, and points you at the web model builder using the fallback text start_upload returns, which carries the right model-builder URL for the environment (for example easydeploy.ai/model-builder). After you upload there, tell the agent the dataset name you entered or paste the dataset URL from the page — it resolves the dataset with list_datasets and confirms the row count before continuing. That upload is already registered as a dataset, so complete_upload is not used for it. Adding the allowlist entry above (where your plan allows it) avoids the detour.
Reading a model report
get_model_report returns the report plus a structured metrics object (passed through unchanged from the API). Model search scores candidates with 10-fold cross-validation (stratified and shuffled on ROC-AUC for classifiers, shuffled on negative MSE for regressors; forward-chaining TimeSeriesSplit for a version created with time_series_mode=true), then refits the winner on all rows. There is no separate test set: accuracy, the confusion matrix, per-class precision/recall and in-sample ROC-AUC under metrics.trainingFit are training fit, and metrics.crossValidation.score is the report's out-of-sample estimate, measured inside the training file. The holdout estimate comes from scoring your own test file with run_batch_prediction, not from the report. metrics.crossValidation.strategy records which CV a run used (time_series_split for forward-chaining), and metrics.warnings flags anything to be careful quoting. The prose summary is written by an LLM and may use looser wording.
Promoting a model with aliases
An alias is a named pointer on a model, such as staging or production, that resolves to exactly one of its versions. run_prediction and run_batch_prediction take either model_version_id (an exact version) or model_id + alias (whichever version the alias points to when the call runs), never both. Scoring by alias lets the user promote a new version without changing their calls; the result's modelVersionId always names the version that actually scored, and alias echoes the alias that resolved it.
list_model_aliases shows where each alias points. set_model_alias creates or moves one. It always checks the change with a dry run first: when the new version was trained on different columns or a different target than the version the alias points to now (TRAINING_COLUMNS_CHANGED with the added and removed columns, TARGET_FEATURE_CHANGED, TRAINING_COLUMNS_UNKNOWN), it writes nothing and returns needs_confirmation: true with the warnings, so the agent can show the user what changes; it writes only when called again with confirm=true. With no warnings it writes straight after the check.
API keys have a scope: full, or predict (reads, predictions and uploads for scoring). Only a full-scope key can move an alias; a predict-only key gets 403 INSUFFICIENT_SCOPE, and the tool error says a full-scope key is needed. Alias arguments need an EasyDeploy API that has the alias routes; a self-hosted EDA_API_BASE pointing at an older backend answers with its own 400 or 404.
Local MCP on your computer (stdio)
Run the MCP server on your own machine using your EasyDeploy API key. Nothing is exposed to the internet.
1. Install
2. Add to Claude Desktop config
Edit (or create) the Claude Desktop config file:
Merge the following into the root of that JSON (keep any existing keys):
Replace eda_live_YOUR_KEY with your key from Account → API Keys in the EasyDeploy dashboard. Use the full path to easydeploy-ai-mcp-stdio (run which easydeploy-ai-mcp-stdio to find it) if Claude cannot locate it on your PATH.
3. Restart Claude Desktop
Fully quit and reopen the app. EasyDeploy AI will appear in your MCP servers.
For self-hosting on Docker or a cloud provider, see Remote MCP (HTTP).
What you get
- 30 tools:
get_started(the playbook) plus tools covering projects, datasets (including the three upload channels), model versions, model aliases, training jobs, predictions, and account status. - A title and tool annotations on every tool (
title, set both on the tool and asannotations.title, plusreadOnlyHint,destructiveHint,idempotentHint,openWorldHint), so hosts can tell reads from writes.get_startedand the 17 otherget_*/list_*tools are read-only. A write isdestructiveHint: truewhen it can overwrite fields of an existing record:create_project,create_modelandcreate_dataset_version(when given an id they update that record),update_dataset,submit_training_job(a resubmitted job retrains its model version in place), andset_model_alias(it can move an existing alias; it is also the one idempotent write besidesupdate_dataset, since the same call again changes nothing). The other writes only add records and aredestructiveHint: false; no tool deletes anything. Onlyupload_from_urlandstart_upload(given a hostfile) make EasyDeploy fetch an external URL.create_projectandcreate_modelare create-or-update, so they are marked as non-idempotent writes. Renaming a dataset is its own tool,update_dataset;get_datasetis a pure read. - stdio transport for local clients, or HTTP with Streamable MCP on
/mcpand GET /healthz for load balancers. - Hardening: HTTPS-only calls to the EasyDeploy API; optional
MCP_SERVICE_TOKENfor the HTTP MCP surface; response fields trimmed where appropriate for agents; query values (OAuth codes, state, PKCE values) left out of the access log;Cache-Control: no-storeon token and registration responses.
For production and SOC 2–sensitive setups, prefer self-hosting so your data stays within your own infrastructure. The hosted connector at https://mcp.easydeploy.ai/mcp is fine for most users.
Requirements
- Python 3.10+
- An EasyDeploy API key from the dashboard (Account → API Keys). The client uses the production EasyDeploy API host by default.
Install
From PyPI (after first release)
From source
Environment variables
Local MCP (stdio)
Use when the client starts the server as a subprocess (Claude Desktop, Cursor, etc.).
Or: python -m easydeploy_ai_mcp
Example config snippet:
Remote MCP (HTTP)
Serves Streamable HTTP via FastMCP on /mcp (confirm with your pinned FastMCP 3.x version). Health checks: GET /healthz.
Or: uvicorn easydeploy_ai_mcp.http_main:app --host 0.0.0.0 --port 8080
If you embed mcp.http_app() in another ASGI app, pass through lifespan from the FastMCP HTTP app (FastMCP ASGI); easydeploy_ai_mcp.http_main already does this for uvicorn.
Auth modes
Pick exactly one (setting both EDA_OAUTH_ENABLED and MCP_SERVICE_TOKEN raises at import):
- OAuth 2.0 resource server (multi-tenant): set
EDA_OAUTH_ENABLED=1plusEDA_COGNITO_USER_POOL_IDandEDA_COGNITO_CLIENT_ID. Install the optional extra:pip install easydeploy-ai-mcp[oauth]. The server validates incoming Cognito access JWTs locally against the Cognito JWKS (issuer, signature,exp,token_use=='access',client_id) and forwards the token to the EasyDeploy API. EasyDeploy API keys (prefixeda_live_) are accepted in the sameAuthorization: Bearerheader and forwarded as-is — the API is the source of truth for revocation. RFC 9728 metadata is published at/.well-known/oauth-protected-resource; RFC 8414 proxy metadata includesregistration_endpointandgrant_types_supported(authorization_code,refresh_token), andPOST /oauth/registerreturns the static Cognito MCPEDA_COGNITO_CLIENT_ID(RFC 7591-style, public client), with the requestedgrant_typesit supports echoed back (authorization_codeandrefresh_token; both when none are requested). 401 responses includeWWW-Authenticate: Bearer …so MCP clients can discover the auth server. Note: Cognito access tokens carryclient_id, notaud; do not configure an audience. - Shared-secret gate (legacy single-tenant): set
MCP_SERVICE_TOKEN. All outbound API calls use the staticEDA_API_KEY. - No auth: development only.
Brokered authorization
Cognito matches redirect_uri literally against the app client's callback
list — no wildcards, no prefixes, no ports — and it checks at
/oauth2/authorize, before rendering the Hosted UI. A client whose callback
is not registered therefore never sees a sign-in page: the browser lands on
redirect_mismatch, which reads as "the connector could not load the login
page" rather than as a configuration problem.
That works for clients with one fixed callback and cannot work for the rest:
Set EDA_MCP_OAUTH_BROKER=1 and the server sends Cognito its own callback,
{issuer}/oauth/callback, which is one fixed URL you register once. It seals
the client's real redirect_uri into the OAuth state, and when Cognito comes
back it forwards the authorization code to that URI with the client's own
state restored. /token rewrites redirect_uri to match, because Cognito
checks it a second time at the token exchange.
This moves the redirect check from Cognito to this server, so it stays a real
check. Without one, anybody could start a flow here with a callback they
control and collect a signed-in user's authorization code. oauth_broker.py
is about as tight as the list it replaces: an HTTPS callback must match a known
client's host exactly and, where that client's callback path is known, the path
too (claude.ai/api/mcp/auth_callback, chatgpt.com/connector/oauth/…,
vscode.dev/redirect). Subdomains are never implied — one open redirect or
dangling CNAME under a vendor's domain would otherwise be a place to collect
codes. Loopback is accepted per RFC 8252 §7.3, and private-use schemes from a
short allowlist. Extend it with EDA_MCP_EXTRA_REDIRECT_HOSTS /
EDA_MCP_EXTRA_REDIRECT_SCHEMES rather than by widening the code.
PKCE is mandatory in broker mode. Cognito treats code_challenge as
optional, and the broker's /token rewrite removes the one check Cognito made
there, so a flow without PKCE would leave the code bound to nothing — anyone
who found it in a browser history or a proxy log could redeem it. /authorize
refuses a brokered request without code_challenge_method=S256. Every MCP
client already sends one.
Rollout order matters. Register {issuer}/oauth/callback on the Cognito app
client first, then set EDA_MCP_OAUTH_BROKER=1. Doing it the other way round
breaks the clients that work today, which is why the default is off.
Docker — run locally (same image you deploy to ECS/Fargate; includes easydeploy-ai-mcp[oauth]):
Host on AWS (Fargate + ALB): build and push this repo’s Dockerfile to a container registry, then deploy behind an HTTPS load balancer. Set the env vars listed above on the task/container.
Manual equivalent:
Documentation
- docs/claude-getting-started.md — EasyDeploy + Claude: Connectors or local Desktop config JSON
- docs/claude.md — Claude Connectors vs Claude Code, transports, headers
REST API reference
This MCP server is a thin client over the EasyDeploy public REST API. Endpoint behavior, request bodies, and response shapes are defined by EasyDeploy (dashboard, product help, and official API materials at easydeploy.ai). This repo does not duplicate the full OpenAPI spec; it maps those operations to MCP tools.
Releases and API compatibility
This repository is the open-source home of the EasyDeploy MCP server. New releases track the EasyDeploy public REST API as documented for customers (dashboard and official API materials). If the API adds or changes endpoints, expect corresponding updates here. Contributors should follow CONTRIBUTING.md when changing tools or client behavior.
Development
Optional — real Cognito JWT against the HTTP app (live JWKS, no mocks): set EDA_INTEGRATION_COGNITO_ACCESS_TOKEN plus the same EDA_COGNITO_* vars you use for OAuth mode, then run pytest tests/test_cognito_jwt_integration.py -v. See the docstring in that file.
See CONTRIBUTING.md for pull requests and reporting issues.
Security
See SECURITY.md for vulnerability reporting and deployment notes.
License
MIT — see LICENSE.
來源:README.md,提交 d854784
工具
0版本歷史
1- v0.5.0最新Nov 5, 2026
評分
已滿足適用檢查項的 85%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通必需25 分
- 已宣告認證方式必需10 分
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分