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.
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 entry exactly (including the leading *.):
*.execute-api.us-east-1.amazonaws.com
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.
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-mcp
2. Add to Claude Desktop config
Edit (or create) the Claude Desktop config file:
| OS | Path |
|---|---|
| macOS | ~/Library/Application Support/Claude/claude_desktop_config.json |
| Windows | %APPDATA%\Claude\claude_desktop_config.json |
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
- 24 tools covering projects, datasets (including upload flow), model versions, training jobs, predictions, and account status.
- 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.
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-mcp
From 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 |
|---|---|---|
EDA_API_KEY |
stdio / legacy HTTP | Required for stdio and legacy HTTP (no OAuth). Not used for outbound API calls when EDA_OAUTH_ENABLED=1 — each MCP request must include Authorization: Bearer <JWT or eda_live_…>. |
EDA_API_BASE |
No | Overrides the default production API (https://api.easydeploy.ai). Set only when targeting a non-production endpoint. Trailing /v1 is optional. |
EDA_UI_BASE_URL |
No | Prefix for ui_url fields (default https://easydeploy.ai). |
MCP_SERVICE_TOKEN |
No | Legacy single-tenant gate. If set, HTTP mode requires Authorization: Bearer <token> for /mcp (not for GET /healthz). Mutually exclusive with EDA_OAUTH_ENABLED. |
EDA_OAUTH_ENABLED |
No | Set to 1 to run the HTTP transport as an OAuth 2.0 resource server. Requires EDA_COGNITO_USER_POOL_ID and EDA_COGNITO_CLIENT_ID. See Remote MCP (HTTP). |
EDA_COGNITO_USER_POOL_ID |
OAuth | Cognito user pool that issues access tokens for the EasyDeploy API. |
EDA_COGNITO_CLIENT_ID |
OAuth | App client ID expected in the access token's client_id claim. |
EDA_COGNITO_REGION |
No | AWS region for the user pool (default us-east-1). |
EDA_REPORT_MAX_WAIT_SECONDS |
No | get_model_report poll budget (default 300). |
EDA_REPORT_POLL_INTERVAL_SECONDS |
No | Poll interval in seconds (default 10). |
HOST / PORT |
No | HTTP bind (defaults 0.0.0.0 / 8080). |
EDA_TRUST_FORWARDED_HEADERS |
No | Set to 1 behind ALB/reverse proxy so RFC 9728 resource uses https (trusts X-Forwarded-Proto). |
EDA_MCP_OAUTH_ISSUER |
No | Public MCP base URL (no path) for authorization_servers and proxy /.well-known/oauth-authorization-server issuer. Default: request origin. Use if Host / X-Forwarded-Proto are wrong behind a proxy. |
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-stdio
Or: 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-http
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_endpoint, andPOST /oauth/registerreturns the static Cognito MCPEDA_COGNITO_CLIENT_ID(RFC 7591-style, public client). 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.
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.sh
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:
docker build -t easydeploy-ai-mcp .
docker run --rm -p 8080:8080 \
-e EDA_API_KEY="eda_live_..." \
easydeploy-ai-mcp
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
pip install -e ".[dev]"
pytest
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.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.