easydeploy-ai-mcp
OfficialThis MCP server exposes EasyDeploy's ML platform so an AI agent can manage projects, upload/train on datasets, read reports, and run predictions.
Read the EasyDeploy data-science playbook (
get_started) for preparation, splitting, upload, training, validation, and prediction guidance.Check account status, tier, credits, usage, and limits (
get_account_status).Create, list, get, and update projects.
List, get, and update datasets; inspect dataset versions.
Upload train/test/validation files via host file parameter, gateway
curlPUT, or server-side URL fetch (start_upload,upload_from_url,get_upload_status,complete_upload).Create/update dataset versions from S3 files or change QA status.
Create, list, and get models and model versions, including time-series mode.
Submit training jobs, poll training status, and retrieve model reports with metrics and cross-validation details.
Run single ad-hoc or batch predictions, poll prediction status, download scored CSVs, and list predictions.
No delete tools; writes create/update records and start jobs/predictions.
Allows EasyDeploy to fetch a training or scoring file directly from a Google Sheets (or Drive) share link that is set to "anyone with the link", exporting Sheets as CSV server-side so the data can be registered as a dataset without the bytes passing through the conversation.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@easydeploy-ai-mcp list my projects"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
Related MCP server: my-mcp-server
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 AIRemote MCP server URL:
https://mcp.easydeploy.ai/mcp
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.
Channel | When it is used | Flow |
File parameter | Hosts that support |
|
Gateway PUT (default) | Claude Code, Cowork, and claude.ai / Desktop sandboxes with egress. Max 6 MB per file; the gateway answers 413 above that, and there is no chunking path. |
|
Fetch from a share link | The sandbox has no egress but the file is already at a shareable URL: a Google Sheets or Drive link set to anyone with the link, an OpenAI file link, or another allowlisted host. EasyDeploy fetches the bytes server-side, up to 256 MB. |
|
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
pip install easydeploy-ai-mcp2. Add to Claude Desktop config
Edit (or create) the Claude Desktop config file:
OS | Path |
macOS |
|
Windows |
|
Merge the following into the root of that JSON (keep any existing keys):
{
"mcpServers": {
"EasyDeploy AI": {
"command": "easydeploy-ai-mcp-stdio",
"env": {
"EDA_API_KEY": "eda_live_YOUR_KEY"
}
}
}
}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)
pip install easydeploy-ai-mcpFrom source
git clone https://github.com/easydeploy-ai/easydeploy-ai-mcp.git
cd easydeploy-ai-mcp
pip install -e ".[dev]" # includes pytest
# or minimal runtime only:
pip install .Environment variables
Variable | Required | Description |
| stdio / legacy HTTP | Required for stdio and legacy HTTP (no OAuth). Not used for outbound API calls when |
| No | Overrides the default production API ( |
| No | Prefix for |
| No | Legacy single-tenant gate. If set, HTTP mode requires |
| No | Set to |
| OAuth | Cognito user pool that issues access tokens for the EasyDeploy API. |
| OAuth | App client ID expected in the access token's |
| No | AWS region for the user pool (default |
| No |
|
| No | Poll interval in seconds (default |
| No | HTTP bind (defaults |
| No | Set to |
| No | Public MCP base URL (no path) for |
| No | Comma-separated browser origins to allow in addition to the built-in list (Claude, ChatGPT, VS Code Web, Cursor, MCP Inspector). |
| No | Set to |
| No | Broker mode: comma-separated extra HTTPS callbacks accepted as client |
| No | Broker mode: comma-separated extra private-use URI schemes (RFC 8252 §7.1) accepted as client |
| No | Broker mode: set to |
| No | Broker mode: HMAC key that seals the OAuth |
Local MCP (stdio)
Use when the client starts the server as a subprocess (Claude Desktop, Cursor, etc.).
export EDA_API_KEY="eda_live_..."
easydeploy-ai-mcp-stdioOr: python -m easydeploy_ai_mcp
Example config snippet:
{
"mcpServers": {
"easydeploy-ai": {
"command": "easydeploy-ai-mcp-stdio",
"env": {
"EDA_API_KEY": "eda_live_..."
}
}
}
}Remote MCP (HTTP)
Serves Streamable HTTP via FastMCP on /mcp (confirm with your pinned FastMCP 3.x version). Health checks: GET /healthz.
export EDA_API_KEY="eda_live_..."
easydeploy-ai-mcp-httpOr: 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:
Client | Callback | Registrable? |
Claude (web, Desktop) |
| yes |
ChatGPT custom connector |
| the first only |
VS Code / Insiders |
| yes |
Claude Code, Cursor, MCP Inspector |
| no |
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]):
# Convenience: build + run (reads .env in the repo root if present)
./scripts/run_mcp_docker_local.sh
# Explicit env vars (no .env)
./scripts/run_mcp_docker_local.sh -e EDA_API_KEY="eda_live_..."
# Different host port
PORT=9000 ./scripts/run_mcp_docker_local.shHost 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:
docker build -t easydeploy-ai-mcp .
docker run --rm -p 8080:8080 \
-e EDA_API_KEY="eda_live_..." \
easydeploy-ai-mcpDocumentation
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
pip install -e ".[dev]"
pytestOptional — 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.
Available Tools
30 toolscomplete_uploadComplete uploadAInspect
Register a validated upload as a dataset (the last step of every channel).
upload_request_id: opaque id returned by start_upload.
dataset_id: omit it to create a new dataset named name. Pass an
existing dataset's id (the one given to start_upload) to add a new
version to that dataset; name is then still required but ignored,
and the dataset keeps its current name.
dataset_type: train | test | validation (default train). You produce these
files by splitting the prepared data yourself: train is what the model
learns from, test is the holdout you score afterwards with
run_batch_prediction, and validation is an optional extra holdout.
EasyDeploy stores the type as a label and never splits for you.
The upload session must be in status READY — not UPLOADED. READY means
the validator has accepted and promoted the bytes. RECEIVING / UPLOADED /
VALIDATING (still in flight), REJECTED (failed validation) and
EXPIRED (needs a new start_upload) return 400 naming the current
state and what to do. Call get_upload_status first and wait for READY
instead of calling this tool on a guess.
Retrying is safe: if the session is already CONSUMED (an earlier call
succeeded), the API returns the existing dataset version instead of an error.
A 409 means another complete_upload for the same session is still in
progress — wait a few seconds and call again.
A file the user uploaded through the web model builder is already a dataset —
resolve it with list_datasets rather than calling this.
Returns dataset (id, name, ui_url) and datasetVersion once, at the
top level, with its ui_url and columnNames as a 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.
Inputs: name (required), project_id (required), upload_request_id (required), dataset_id, +2 more. Returns: object
create_dataset_versionCreate or update dataset versionADestructiveInspect
Create or update a dataset version.
Create (register an S3 file as a new version):
Required: version_type (raw | qa_cleaned | training), file_url,
qa_metadata (freeform JSON with QA results). file_url accepts either
the file's s3:// URL (s3://{bucket}/users/{userId}/...) or its bare S3
key starting with users/{userId}/ — the s3Key field that
complete_upload returns as datasetVersion.s3Key and
get_dataset_version returns as s3Key. Any other form (an https URL,
a key with another prefix) is refused before calling the API. The file must
be under your own storage prefix users/{userId}/; the API rejects any
other location with 400.
Update (change qa_status on an existing version):
Required: version_id, qa_status (pending | in_progress | ready | blocked).
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.
Inputs: dataset_id (required), project_id (required), file_url, qa_status, +3 more. Returns: object
create_modelCreate or update modelADestructiveInspect
Create or update a model (create-or-update: not idempotent).
Create: call with
project_idandname(and optionaldescription). Each call withoutmodel_idcreates another model.Update/rename: also pass
model_idplus the fields to change; this PATCHes the existing model.
Inputs: name (required), project_id (required), model_id, description. Returns: object
create_model_versionCreate model versionAInspect
Create a model version tied to a dataset version and target column. Then call submit_training_job with the returned model version id.
Pass the train dataset's version, never the test one: a test file that reaches training is no longer a holdout. EasyDeploy does not check the type.
Set time_series_mode=true and time_column when forecasting ordered periods
(e.g. weekly business metrics). Time-series mode uses forward-chaining
cross-validation (TimeSeriesSplit) instead of shuffled k-fold: each fold
trains on earlier periods and scores on later ones. get_model_report
records the strategy a run used in metrics.crossValidation.strategy
(time_series_split for forward-chaining).
Inputs: model_id (required), project_id (required), target_feature (required), dataset_version_id (required), +2 more. Returns: object
create_projectCreate or update projectADestructiveInspect
Create or update a project (create-or-update: not idempotent).
Create: call with
name(and optionaldescription). Each call withoutproject_idcreates another project.Update/rename: pass
project_idof an existing project plus the fields to change (nameand/ordescription); this PATCHes it.
Inputs: name (required), project_id, description. Returns: object
get_account_statusGet account statusARead-onlyIdempotentInspect
Get current account status: tier, training credits, prediction usage, endpoint limits. customer_id is optional; the backend resolves the account from the API key.
Inputs: customer_id. Returns: object
get_datasetGet datasetARead-onlyIdempotentInspect
Fetch one dataset by id (name, description, type, timestamps). Read-only.
Datasets are created via complete_upload (the upload flow). To rename
a dataset or change its description, use update_dataset.
Inputs: dataset_id (required), project_id (required). Returns: object
get_dataset_versionGet dataset versionARead-onlyIdempotentInspect
Fetch one dataset version by id (row and column counts, columnNames list,
qa_status, version_type).
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.
Inputs: dataset_id (required), project_id (required), version_id (required). Returns: object
get_modelGet modelBRead-onlyIdempotentInspect
Fetch a single model by id (name, description, version count, and
aliases: each alias with the modelVersionId it points to).
Inputs: model_id (required), project_id (required). Returns: object
get_model_reportGet model reportARead-onlyIdempotentInspect
Load the EDA training report (metrics, feature analysis, performance summary).
project_id is optional — the backend resolves it from model_id when omitted.
Omit model_version_id to use the latest version for this model. Pass an id from
list_model_versions to read a specific version.
Default response is summary only (token-efficient). Set full_report=true for full detail.
The report is generated after training finishes, so this tool waits for it: 45 s by
default (the server's EDA_REPORT_MAX_WAIT_SECONDS, never more than 60 s), since
some hosts end a tool call at 60 s. If it is still being generated then, the result
has timed_out: true and next_steps: nothing failed, call get_model_report
again to keep waiting.
How the model was validated. Model search scores candidates by
cross-validation: 10-fold stratified shuffled CV on ROC-AUC for classifiers,
10-fold shuffled CV on negative MSE for regressors; a version created with
time_series_mode uses forward-chaining CV (TimeSeriesSplit) instead. The
winning pipeline is then refit on all rows.
There is no separate test set. Accuracy, the confusion matrix, per-class
precision/recall and in-sample ROC-AUC are training fit (computed on the
same rows the model learned from), not a holdout estimate. The CV score is
the report's out-of-sample estimate, but it is measured inside the training
file; the holdout estimate comes from scoring your own test file with
run_batch_prediction, not from this report. The prose summary is
written by an LLM and may use looser wording than these numbers.
metrics (returned next to the report, passed through unchanged):
{taskType, crossValidation: {metric, score, strategy, folds, strategySource ('recorded'|'platform_default'), note}, trainingFit: {note, accuracy?, rocAuc?, confusionMatrix?, perClass?, mse?, rmse?, mae?, r2?, explainedVariance?, mape?}, additionalCv?: {r2?, rmse?}, warnings: []}.
metrics is null when it cannot be derived, with metricsUnavailableReason
saying why. crossValidation.strategy names the CV used for that run
(time_series_split for forward-chaining); read warnings before
quoting any number.
Inputs: model_id (required), project_id, full_report, model_version_id. Returns: object
get_model_versionGet model versionARead-onlyIdempotentInspect
Fetch a single model version by id (status, edaReportStatus, target,
aliases pointing to it, timestamps).
Prefer this over list_model_versions when you already know the version_id.
Inputs: model_id (required), project_id (required), version_id (required). Returns: object
get_predictionGet predictionARead-onlyIdempotentInspect
Fetch prediction status and result by prediction id.
Ad-hoc completed:
outputhas the predicted label or value per row. For a classifier,probabilitieshas each row'sprobability_<class>values, in the same order.Batch completed:
download_urlandcurl_commandare included automatically.curl_commandis the HTTP GET that downloads the scored CSV through EasyDeploy's tokenized gateway; it carries a short-lived download token, never the API key.Classifiers, ad-hoc and batch, also return
classLabels: the label each<class>inprobability_<class>stands for, such as{"0": "B", "1": "M"}. Regressors, models that give no probabilities, and predictions completed before these fields existed return neither field.
Inputs: prediction_id (required). Returns: object
get_projectGet projectCRead-onlyIdempotentInspect
Fetch a single project by id.
Inputs: project_id (required). Returns: object
get_startedRead the EasyDeploy playbookARead-onlyIdempotentInspect
Return the EasyDeploy data-science playbook: how to prepare leakage-free training data, keep an honest test split, upload the files, train, validate on the holdout and predict with the model. Useful at the start of a modeling task.
section picks one part (overview, prepare, split, upload, train,
validate, predict) or all; the default is overview. The result carries
the playbook's guide_version, every section with a one-line summary, and
the section that follows. The content ships with the server and changes
between releases. Read-only; makes no API call.
Inputs: section. Returns: object
get_training_statusGet training statusARead-onlyIdempotentInspect
Check a training job by job_id (the jobId field from submit_training_job).
Response fields:
status: PENDING | RUNNING | COMPLETE | FAILED
trainingTimeSeconds: wall-clock seconds once the job stops; null while running
modelVersionId: the model version being trained
By default returns the current status immediately.
Set wait=true to block until the job reaches a terminal state (COMPLETE or
FAILED). Polls every poll_interval_seconds (default 10 s) for up to
timeout_seconds (45 s by default, at most 60 s; some hosts end a tool call at
60 s). Training can take from minutes to several hours depending on the plan and
the data. If the timeout expires, the last polled status is returned with
timed_out: true and next_steps: the job is still running, so call this
tool again with the same job_id to keep waiting — do not resubmit the training job.
Inputs: job_id (required), wait, timeout_seconds, poll_interval_seconds. Returns: object
get_upload_statusGet upload statusARead-onlyIdempotentInspect
Poll an upload session by the upload_request_id from start_upload.
status is one of URL_ISSUED, RECEIVING, UPLOADED, VALIDATING, READY,
REJECTED, CONSUMED, EXPIRED. It reports on sessions opened by start_upload,
and every channel that feeds one (gateway PUT, host file parameter,
upload_from_url) reports through this one tool. Files uploaded through the
web model builder are not visible here — the user registers those in the web
app; find them with list_datasets.
complete_upload only accepts READY — poll here first. On REJECTED, the
error field names the validation check that failed; fix the file and start
a new upload rather than retrying this session.
Also returns sizeBytes and rowCount once known — confirm the row count
matches the file you handed over before registering the dataset.
Inputs: upload_request_id (required). Returns: object
list_datasetsList datasetsBRead-onlyIdempotentInspect
List datasets in a project (id, name, type, timestamps).
Inputs: project_id (required). Returns: result
list_dataset_versionsList dataset versionsARead-onlyIdempotentInspect
List all versions of a dataset (version number, version_type, qa_status, row counts).
project_id is optional — the backend resolves access from dataset_id when omitted.
Column names, where present, come back 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.
Inputs: dataset_id (required), project_id. Returns: result
list_model_aliasesList model aliasesARead-onlyIdempotentInspect
List a model's aliases: named pointers such as staging or production,
each resolving to exactly one version of the model. Each entry has
alias, modelVersionId and its version number, the version it
pointed to before (previousModelVersionId, null for a new alias),
createdAt, updatedAt and a ui_url.
run_prediction and run_batch_prediction take model_id + alias
to score with whichever version the alias points to; set_model_alias
moves one. list_model_versions also lists each version's aliases.
Inputs: model_id (required), project_id (required). Returns: result
list_modelsList modelsARead-onlyIdempotentInspect
List all models in a project (id, name).
Inputs: project_id (required). Returns: result
list_model_versionsList model versionsBRead-onlyIdempotentInspect
List model versions.
Training state is status (SUBMITTED → TRAINING → TRAINING_COMPLETED or TRAINING_FAILED).
Report readiness is edaReportStatus (PENDING | GENERATING | READY | FAILED).
Inputs: model_id (required), project_id (required). Returns: result
list_predictionsList predictionsARead-onlyIdempotentInspect
List predictions (newest first). Optionally filter by project_id.
Use get_prediction(id) for full result + batch download URL.
Inputs: project_id. Returns: result
list_projectsList projectsARead-onlyIdempotentInspect
List all projects for this API key (id, name, description, timestamps).
The ids are the project_id that the other project-scoped tools take.
Inputs: no named parameters. Returns: result
run_batch_predictionRun batch predictionAInspect
Score an entire dataset against a trained model version.
Each call starts a new batch job and spends one prediction credit per row;
get_prediction follows one already started, by its prediction_id.
Name the model one way: model_version_id for an exact version, or
model_id + alias (such as production) for whichever version the
alias points to. Prefer the alias for recurring scoring, so the user can
promote a new version with set_model_alias without changing the calls;
validate a candidate by its model_version_id. The result's
modelVersionId is the version that actually scored, and alias echoes
the alias that resolved it; report that version next to the output.
project_id and target_feature are auto-resolved from the model version
record when omitted. dataset_version_id identifies both the input file and
the row count for credit billing (one prediction credit per row).
Holdout validation: score your test dataset version with its labels
still in it. The CSV you download via get_prediction is that file in its
original row order with every column kept (target and ids included), plus
prediction and, for classifiers, one probability_<class> column per
class (probability_1 is the positive class for a 0/1 target); compute
the holdout metrics and decision threshold yourself from it, since
EasyDeploy does not return them. For a string target the probability
columns are named by encoded class index (probability_0,
probability_1, ... in sorted label order), not by label; the completed
prediction's classLabels, from get_prediction, maps each index to its
label. Columns the
model was not trained on, such as ids, are ignored for scoring and kept in
the output, so leave them in to join results back; every training feature
must be present or the job fails naming the missing one. The download
is capped at 9 MB, so keep test files small enough that their scored output
fits, or split the test set across several batches.
Returns immediately by default (fire-and-poll). get_prediction(prediction_id)
reports the status; for a completed batch it also has
batch_output_available: true, download_url and curl_command.
Set wait_for_result=true to block for
max_wait_seconds (45 s by default, at most 60 s); if the batch is still
running then, the result has timed_out: true and next_steps: poll
get_prediction to keep waiting.
Inputs: dataset_version_id (required), alias, model_id, project_id, +5 more. Returns: object
run_predictionRun predictionAInspect
Run a single ad-hoc prediction against a trained model version.
Each call is a new prediction and spends a prediction credit; get_prediction
follows one still running, by its prediction_id.
Name the model one way: model_version_id for an exact version, or
model_id + alias (such as production) for whichever version the
alias points to. Prefer the alias for recurring scoring, so the user can
promote a new version with set_model_alias without changing the calls.
The result's modelVersionId is the version that actually scored, and
alias echoes the alias that resolved it; report that version next to
the output.
project_id and target_feature are auto-resolved from the model version
record when omitted. By default waits and returns the predicted label or value
in output. For a classifier the result also has probabilities, one
{"probability_<class>": p} object per entry of output, named like
run_batch_prediction's CSV columns, and classLabels, the label each
<class> stands for: {"0": "B", "1": "M"} for a text target,
{"0": 0, "1": 1} for a 0/1 target. output follows the model's default
rule, so a threshold you chose applies to the probability, not to output.
Regressors return neither. Set wait_for_result=false to return immediately
with prediction_id. A wait lasts
max_wait_seconds (45 s by default, at most 60 s); if the prediction is still
running then, the result has timed_out: true and next_steps: poll
get_prediction to keep waiting.
Inputs: input_data (required), alias, model_id, project_id, +5 more. Returns: object
set_model_aliasSet model aliasADestructiveIdempotentInspect
Point a model alias, such as staging or production, at one of the
model's versions: creates the alias, or moves it. Callers that predict with
model_id + alias score with the new version from then on, without
changing their calls. Pointing an alias at the version it already has
changes nothing.
Promote a version only after it passed holdout validation (playbook section
validate) and the user agreed. alias starts with a lowercase letter,
then lowercase letters, digits or -, 32 characters at most; latest
is reserved. The version must belong to model_id and have finished
training (TRAINING_COMPLETED).
Every call first checks the change without writing. When the version was
trained on different columns or a different target than the one the alias
points to now, callers sending the old columns may fail or get a different
kind of answer, so the tool writes nothing and returns
needs_confirmation: true with warnings (TRAINING_COLUMNS_CHANGED
with the added and removed columns, TARGET_FEATURE_CHANGED,
TRAINING_COLUMNS_UNKNOWN), current_model_version_id,
expected_current_model_version_id and next_steps. Show the user
those changes and call again with confirm=true and that
expected_current_model_version_id only if they agree. If the alias moved
in between, nothing is written and needs_confirmation comes back with
the new state. Otherwise the alias is written and the result has
modelVersionId, version, previousModelVersionId, warnings
and ui_url.
Needs a full-scope API key: a predict-only key gets 403 INSUFFICIENT_SCOPE,
and only the user can supply a full-scope key. A 409 means the alias moved
at the same moment and nothing was written; call again without confirm
to see where it points now.
Inputs: alias (required), model_id (required), project_id (required), model_version_id (required), +2 more. Returns: object
start_uploadStart file uploadAInspect
Open an upload session for one file and return the ways to send its bytes.
One session carries one file. Train and test files (and an optional
validation file) are separate uploads, each with its own start_upload.
File bytes never travel through tool arguments or the conversation on any
channel:
A. Host file parameter (preferred where available). Hosts that support
openai/fileParams (Codex, ChatGPT) hydrate file from a sandbox path.
EasyDeploy then fetches the bytes server-side and the session goes
straight to RECEIVING, with no network needed from the sandbox. Poll
get_upload_status until READY, then call complete_upload.
B. Gateway PUT (default). Called without file, this returns
curl_command, the HTTP PUT that sends the file to EasyDeploy's upload
gateway. It runs in the shell where the file is, with FILE_PATH replaced by
the file's path. Max ~6 MB; it carries a single-use upload token, never the
API key. If the sandbox blocks network egress, next_steps names the exact
API host the user can allow.
C. Fetch from a share link. If the sandbox cannot reach the network but
the file sits at a shareable URL, upload_from_url with the returned
upload_request_id has EasyDeploy fetch it.
The returned next_steps is the ordered runbook with the ids filled in,
including the web model-builder fallback for hosts with no byte channel at
all. The model-builder URL for this environment comes from the API in the
fallback string of this result (for example
https://www.easydeploy.ai/model-builder).
dataset_id: omit it to create a new dataset when complete_upload
runs. Pass an existing dataset's id to add a new version to that dataset
instead; complete_upload's name is then ignored and the dataset
keeps its current name. The output carries dataset_id only when you
passed one.
Inputs: filename (required), project_id (required), file, dataset_id. Returns: object
submit_training_jobStart model trainingADestructiveInspect
Submit a training job for a model version.
Each call starts a separate training job and spends one training credit;
get_training_status follows a job already submitted, by its job_id.
Track completion: Poll list_model_versions for the model and watch the target
version's status until it reaches TRAINING_COMPLETED or TRAINING_FAILED (same as the
web UI). This is the most reliable approach across MCP hosts.
Or pass the returned jobId to get_training_status with wait=true to block
until the job finishes. Run time depends on the plan and the data, from minutes
to several hours.
dataset_version_id can be omitted when the model version was created with
create_model_version in the same flow — the backend resolves target_feature,
file, and dataset from the model version record automatically. Omit it to train
on the model version's own dataset. Pass it only to override with a different
qa_cleaned or training version: an explicit dataset_version_id whose
version_type is raw (every upload starts as raw) is rejected with
400 INVALID_VERSION_TYPE.
Returns {jobId, modelVersionId, status}.
Inputs: model_version_id (required), dataset_version_id. Returns: object
update_datasetUpdate datasetADestructiveIdempotentInspect
Rename a dataset or change its description.
Pass at least one of name or description; fields left empty are not
changed. Repeating the same call leaves the dataset in the same state.
Returns the updated dataset record.
Inputs: dataset_id (required), project_id (required), name, description. Returns: object
upload_from_urlUpload from share linkAInspect
Hand EasyDeploy a URL to fetch an upload session's bytes from, server-side.
Use this when the sandbox has no network egress (the gateway curl failed with a connection error) but the training file already lives at a shareable URL, or when a host handed you a file download link.
Accepted sources:
Google Sheets and Google Drive share links set to anyone with the link (Sheets are exported as CSV).
OpenAI file links from a host file parameter.
Any other host on the EasyDeploy source allowlist.
EasyDeploy fetches the bytes itself, up to 256 MB. The file never passes through the model, the conversation, or this tool's arguments — pass a URL, never file contents. Private, loopback, and metadata addresses are rejected, as is any host off the allowlist; the error explains which rule refused the URL.
Returns the session in RECEIVING. A 409 means the session already received
bytes or expired — call start_upload again for a fresh one. If no channel
works at all, the fallback string in the start_upload result carries
the web model-builder URL for this environment (for example
https://www.easydeploy.ai/model-builder).
Inputs: source_url (required), upload_request_id (required). Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 30 tools
Most tools map cleanly to distinct resources and actions, with clear separation between uploads, datasets, model versions, training, aliases, and predictions. A few boundaries could still be confused, especially get_model vs get_model_version, list_dataset_versions vs get_dataset_version, and complete_upload vs create_dataset_version, but the descriptions generally resolve them.
The tool set uses a consistent snake_case verb_noun convention throughout: list_*, get_*, create_*, update_*, run_*, submit_*, set_*, start_*, and complete_*. upload_from_url is the only slightly different verb phrase, but it remains clear and consistent with the overall style.
Thirty tools is heavy for any single MCP server, even one covering a full ML lifecycle. Most tools are purposeful and non-redundant, but the surface could likely be consolidated through fewer generic resource tools or combined list/get operations.
The surface covers the core ML workflow well: projects, uploads, datasets and versions, models and versions, aliases, training, reports, predictions, account status, and a playbook. Minor lifecycle gaps remain, such as deletion/cleanup operations for projects, datasets, models, versions, or aliases.
Maintenance
Related MCP Connectors
An MCP server that provides an API to LLMs to manage their JumpCloud resources.
MCP server that lets AI assistants use all OneSchema features exposed via the public API.
Talk to your public-facing AI from any MCP client — Claude, ChatGPT, Cursor, Cline, Windsurf.
Model Context Protocol server for the Apideck Unified API. Connect any MCP-compatible agent framework to 100+ accounting systems, HRIS platforms, file storage providers, and more through one integration. More information https://www.apideck.com/mcp-server
Related MCP Servers
- AlicenseAqualityDmaintenanceA Model Context Protocol server that provides integration with the Coolify API, enabling DevOps teams to manage Coolify deployments, applications, services, and servers through MCP tools.32372 npm45MIT
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that allows integration with Claude Desktop by creating and managing custom tools that can be executed through the MCP framework.-
- AlicenseAqualityDmaintenanceA Model Context Protocol server that enables AI assistants to make HTTP requests (GET, POST, PUT, DELETE) to external APIs through standardized MCP tools.42MIT
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol (MCP) server built with the mcp-framework for developing and managing custom tools. It provides a structured foundation for building and integrating modular components like data processors and API clients into Claude Desktop.-