EasyShell MCP Server

EasyShell MCP Server

easyshell-mcp•byeasyshell-ai

An MCP server that exposes EasyShell hosts, scripts, tasks and inspections as tools so MCP clients can operate EasyShell infrastructure.

License: MIT•Runtime: Awaiting documentation review•Category: cloud devops

WHAT IT DOES

  • •Exposes EasyShell hosts, scripts, tasks, inspections and governance actions as MCP tools across core, management and advanced tiers.
  • •Connects to the EasyShell REST API, logs in, and reuses that session for every tool call.
  • •Supports stdio transport plus HTTP transports (Streamable HTTP and legacy SSE) for remote deployments.
  • •Tool calls remain subject to EasyShell risk classification, approval workflows and audit logging.

BEST FOR

  • •Driving EasyShell infrastructure from AI clients like Claude Desktop, Claude Code, Cursor or Cherry Studio.
  • •Finding hosts and running scripts through an AI assistant with the platform's governance controls intact.
  • •Remote or shared MCP deployments reachable over HTTP with bearer-token authorization.

ABOUT EASYSHELL-MCP

EasyShell MCP Server is cataloged as an MCP server attributed to easyshell-ai. An MCP server that exposes EasyShell hosts, scripts, tasks and inspections as tools so MCP clients can operate EasyShell infrastructure. It is categorized under cloud devops. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for EasyShell MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does easyshell-mcp consume external MCP servers inside EasyShell?

No; it is an outbound bridge only. Consuming external MCP servers inside the EasyShell platform is on the roadmap and not implemented in 1.1.0.

Can easyshell-mcp be reached from other machines?

Yes, with the --allow-remote flag and a mandatory bearer token for authentication.

上游原版 README

在 GitHub 查看同一版本原文

README.md · aa816b7bcb8e · 采集于 2026-11-13 09:03:58 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

EasyShell Logo

EasyShell

AI-Native Server Operations Platform

Let AI write your scripts, orchestrate multi-host tasks, and analyze your infrastructure — while you focus on what matters.

License: MIT Docs Discord

Language: English | 简体中文 | 繁體中文 | 한국어 | Русский | 日本語


Why EasyShell?

Traditional server management tools expect you to write every script, SSH into every box, and interpret every output yourself. EasyShell flips that model: AI is the operator, you are the decision-maker.

  • Describe what you need in plain language → AI writes production-ready shell scripts with diff review
  • Set a goal across multiple hosts → AI plans the execution steps, runs them, and synthesizes the results
  • Schedule automated inspections → AI analyzes output and decides whether to alert your team via bot channels
  • Connect via Web SSH → Full terminal with file manager, multi-tab, search — no local client needed

Core Features

1. AI Script Assistant

Describe what you want. AI writes the script. Review the diff. One click to apply.

The AI Script Workbench is a split-panel editor where you describe requirements in natural language, and AI generates (or modifies) shell scripts targeting your chosen OS. Real-time streaming shows the script being written. A built-in diff view highlights exactly what changed. A summary tab explains the modifications in your language.

AI Script Assistant — live code generation with diff review

How it works:

  1. Describe — write your requirements in natural language, choose the target OS
  2. Generate — AI streams a production-ready script in real time
  3. Review — built-in diff view highlights every change; summary tab explains modifications
  4. Apply — one click to save the script to your library or dispatch it immediately

2. AI Task Orchestration

"Check disk and memory on all hosts, flag anything over 80%, and suggest fixes." — Done.

The AI Chat interface lets you issue high-level operational goals. AI decomposes them into a multi-step execution plan (explore → analyze → report), dispatches scripts to target hosts, collects results, and delivers a structured analysis with risk assessment and actionable recommendations — all in a single conversation turn.

AI Task Orchestration — multi-step execution plan with analysis

How it works:

  1. Instruct — describe a high-level goal in the AI Chat (e.g. "check disk on all hosts")
  2. Plan — AI decomposes the goal into a multi-step execution plan (explore → analyze → report)
  3. Execute — scripts are dispatched to target hosts in parallel; results collected automatically
  4. Report — AI delivers a structured analysis with risk assessment and actionable recommendations

3. AI Scheduled Inspections

Cron → Script → AI Analysis → Intelligent Alert — AI analyzes output and decides whether to alert your team.

Schedule inspection tasks with cron expressions and select scripts from the built-in script library. EasyShell dispatches them to agents on schedule, collects output (disk, memory, services, logs), sends it to your AI model for intelligent analysis, and lets AI decide whether the results warrant an alert — pushing notifications only when they matter.

AI Scheduled Inspections — cron-based tasks with AI-powered output analysis and intelligent alerting

How it works:

  1. Configure — cron expression + script (from library or custom) + AI analysis prompt + notification rules
  2. Execute — EasyShell dispatches to target agents on schedule
  3. Analyze — Output sent to AI model (OpenAI / Gemini / GitHub Copilot / Custom) for intelligent analysis
  4. Notify — AI determines severity and pushes alerts via bot channels when action is needed

Notification modes: Always push, push on failure, push on warning, or AI decides — the AI model evaluates the output and autonomously determines if an alert is necessary.

Supported Bot Channels (Configuration Guide):

BotStatus
Telegram✅ Supported
Discord✅ Supported
Slack✅ Supported
DingTalk (钉钉)✅ Supported
Feishu (飞书)✅ Supported
WeCom (企业微信)✅ Supported

4. Fully Functional Web SSH

Real terminal. Real file manager. No SSH client required.

A production-grade web terminal with multi-tab sessions, integrated file manager (upload, download, create, delete, navigate), full-text search within terminal buffer, and persistent connections via WebSocket. Manage files and run commands side by side.

Web SSH — terminal with file manager and multi-tab

5. Host Management & Monitoring

Unified view of all servers with real-time status, batch operations, and agent lifecycle management.

Manage hosts individually or in bulk — add via form or CSV import, organize into clusters, monitor connection status, and deploy/upgrade agents with one click. The unified dashboard shows health metrics at a glance.

Host Management — unified server dashboard with batch operations

6. Real-Time Streaming Logs

Watch script execution unfold live across all target hosts.

When you dispatch a script, EasyShell streams output from every agent in real time. Color-coded logs, timestamps, and per-host filtering help you spot issues instantly — no more waiting for batch jobs to complete.

Real-Time Logs — live streaming output from multiple hosts

7. Security & Risk Controls

Built-in safeguards: approval workflows, audit trails, and operation restrictions.

Configure which operations require approval before execution. All actions are logged for compliance. Role-based access control limits who can do what, and sensitive commands can be flagged or blocked entirely.

Security Controls — approval workflows and audit logging

8. MCP Server & AI Skills

Let your AI client run your infrastructure — with the same risk engine, approvals and audit trail as the web console.

EasyShell ships two companion components that put the platform inside your AI assistant:

  • easyshell-mcp — a Model Context Protocol server that exposes EasyShell hosts, scripts, tasks and inspections as MCP tools, so Claude Desktop, Claude Code, Cursor, Cherry Studio and other MCP clients can drive EasyShell directly.
  • easyshell-skill — a SKILL.md definition that teaches an assistant when and how to use EasyShell (core workflows, full tool catalog, security model), for assistants that support skills.

easyshell-mcp — EasyShell as MCP tools

Published on npm as @easyshell/mcp-server, listed in the MCP Registry and on Smithery. It talks to the EasyShell REST API and needs three variables:

VariableRequiredDescription
EASYSHELL_URLYesEasyShell server API endpoint (for example http://localhost:18080).
EASYSHELL_USERYesEasyShell username.
EASYSHELL_PASSYesEasyShell password.

How it works:

  1. Run — npx -y @easyshell/mcp-server on Node.js >=18; nothing to build
  2. Connect — point it at your EasyShell server with the three variables above
  3. Authenticate — it logs in against the EasyShell API and reuses that session for every tool call
  4. Operate — your AI client calls EasyShell tools; risk classification, approval workflows and audit logging still apply

stdio (default) — Claude Desktop / Claude Code / Cursor / Cherry Studio

{
  "mcpServers": {
    "easyshell": {
      "command": "npx",
      "args": ["-y", "@easyshell/mcp-server"],
      "env": {
        "EASYSHELL_URL": "http://localhost:18080",
        "EASYSHELL_USER": "easyshell",
        "EASYSHELL_PASS": "easyshell@changeme"
      }
    }
  }
}

Replace the credentials with your own. With zero-configuration Docker deployment the initial admin password is generated randomly and printed once in the server logs (docker logs easyshell-server | grep 'initial admin password').

Prefer not to hand-edit config files? The auto-installer detects OpenCode, Cursor or Claude Desktop and writes the block for you — the generated file is created with 0600 permissions because it holds your password:

MCP_PASSWORD='your-password' npx @easyshell/mcp-server --install
# optional: --url http://your-server:18080 --user easyshell

MCP_PASSWORD is preferred over --pass: values passed on the command line are visible in ps.

HTTP (SSE + Streamable HTTP) — remote or shared deployments

# loopback only, no token required
npx -y @easyshell/mcp-server --port 3000

# reachable from other machines: a bearer token is mandatory
MCP_AUTH_TOKEN='choose-a-strong-token' \
  npx -y @easyshell/mcp-server --port 3000 --host 0.0.0.0 --allow-remote
EndpointMethodProtocol
/mcpPOST / GET / DELETEStreamable HTTP (2025-03-26)
/sseGETLegacy SSE (2024-11-05)
/messages?sessionId=<id>POSTLegacy SSE message handler
/healthGETHealth check

Clients with HTTP transport point at http://<host>:3000/mcp and send Authorization: Bearer <MCP_AUTH_TOKEN> (exact config keys vary by client):

{
  "mcpServers": {
    "easyshell": {
      "type": "http",
      "url": "http://your-server:3000/mcp",
      "headers": { "Authorization": "Bearer <MCP_AUTH_TOKEN>" }
    }
  }
}

The HTTP transport validates the Host header against DNS-rebinding attacks, restricts CORS to --allowed-origin values, and caps sessions and request size.

Tool surface — 20 tools in 3 tiers

TierToolsPurpose
Core (6)list_hosts, get_host_detail, execute_script, get_task_detail, list_scripts, ai_chatFind hosts, run scripts, read results, drive AI orchestration
Management (9)list_recent_tasks, create_script, list_clusters, get_cluster_detail, get_dashboard_stats, get_host_metrics, list_scheduled_tasks, trigger_inspection, get_inspect_reportsDay-to-day operations, monitoring and scheduled inspections
Advanced (5)manage_tags, query_audit_logs, approve_task, send_notification, search_knowledgeGovernance: tags, audit, approvals, notifications, knowledge base

The easyshell-mcp/README.md tool table advertises 19 tools; the source registers 20 — get_cluster_detail is missing from that table. The list above matches easyshell-mcp/src/tools/.

easyshell-skill — teach your assistant the EasyShell workflows

easyshell-skill/SKILL.md is an assistant-agnostic skill definition (name, description, compatibility, tags) that tells an AI assistant when to activate EasyShell and which workflows to follow — execute a script on hosts, AI task orchestration, schedule an inspection, monitor infrastructure — plus the security model it must never bypass.

Install it manually or with the mdskills CLI:

npx mdskills install easyshell
AssistantSkill path
OpenCode.opencode/skills/easyshell/SKILL.md
Claude Code.claude/skills/easyshell/SKILL.md
Cursor.cursor/skills/easyshell/SKILL.md
VS Code Copilot.github/skills/easyshell/SKILL.md

The skill bundles resources/tool-catalog.md (every tool with parameters and examples), resources/deployment-guide.md and resources/troubleshooting.md. It works standalone, but skill + MCP server is the intended combination: the skill decides what to do, the MCP server provides the tools to do it.

Current boundary — read this before you plan a setup

easyshell-mcp is an outbound bridge: it makes EasyShell callable from your AI client. Consuming external MCP servers — Prometheus, Elasticsearch, or your own in-house MCP — inside the EasyShell platform is on the roadmap, not implemented in 1.1.0. There is no built-in MCP client, no external tool registry and no external-tool approval flow yet, and nothing in this section should be read as promising one.

If that is your use case, add it to the discussion in issue #6 ("how do the mcp and skill modules work?"), or open a feature request.


Quick Start

git clone https://github.com/easyshell-ai/easyshell.git
cd easyshell
docker compose up -d

That is the whole setup — no .env, no secret generation, no manual steps. On first boot a one-shot container creates the database password, JWT secret, encryption key and agent registration secret, stores them in the easyshell_secrets Docker volume and every later start reuses them.

scripts/deploy.sh is a convenience wrapper that also waits for the health check and prints the sign-in details:

./scripts/deploy.sh            # docker compose up -d + wait + show credentials
./scripts/deploy.sh --build    # build the images from this source tree instead of pulling
./scripts/deploy.sh --down     # stop everything (data volumes are kept)

No local build is required for the default path — pre-built images are pulled automatically from Docker Hub. Use --build to run exactly this source tree (that is also how you pick up changes that have not been released yet).

Open http://localhost:18880 → log in as easyshell. The initial password is generated randomly on first start and printed once in the server logs (docker logs easyshell-server | grep 'initial admin password') — change it right after signing in. To choose it yourself, set EASYSHELL_ADMIN_PASSWORD in .env.

Agents installed on other machines need a reachable server URL: set PROVISION_SERVER_URL in .env, or System config → server.external-url in the UI.

Want to use GHCR instead? Set in .env:

EASYSHELL_SERVER_IMAGE=ghcr.io/easyshell-ai/easyshell/easyshell-server:latest
EASYSHELL_WEB_IMAGE=ghcr.io/easyshell-ai/easyshell/easyshell-web:latest

Developer? Build from source:

docker compose -f docker-compose.build.yml up -d

Local web development and dependency checks require Node.js ^20.19.0 || >=22.12.0, matching the Vite 8 toolchain. Dockerfile.web uses the Node 22 image line for web builds.


Full Feature Set

CategoryFeatures
AI IntelligenceAI Script Assistant (generate / modify / diff / summary), AI Task Orchestration (multi-step plans, parallel execution, analysis), AI Scheduled Inspections (cron-based, AI output analysis, intelligent alert decisions, multi-channel bot push), AI Chat, Inspection Reports, Operation Approvals
OperationsScript library, batch execution, real-time streaming logs, Web SSH terminal with file manager
InfrastructureHost management, real-time monitoring, cluster grouping, agent auto-deployment
AdministrationUser management, system config, AI model settings (OpenAI / Gemini / Copilot / Custom), risk control
Platformi18n (EN / ZH), dark/light theme, responsive design, audit logging

Architecture

┌──────────────┐       HTTP/WS        ┌──────────────────┐
│  EasyShell   │◄─────────────────────►│   EasyShell      │
│    Agent     │  register / heartbeat │     Server       │
│  (Go 1.24)  │  script exec / logs   │ (Spring Boot 3.5)│
└──────────────┘                       └────────┬─────────┘
                                                │
                                       ┌────────┴─────────┐
                                       │   EasyShell Web   │
                                       │ (React + Ant Design)│
                                       └──────────────────┘

Tech Stack

ComponentTechnology
ServerJava 17, Spring Boot 3.5, Gradle, JPA/Hibernate, Spring AI, Spring Security
AgentGo 1.24, single binary, zero runtime dependencies
WebReact 19, TypeScript, Vite 8, Ant Design 6
DatabaseMySQL 8.0
CacheRedis 7

Project Structure

easyshell/
├── easyshell-server/           # Central management server (Java / Spring Boot)
├── easyshell-agent/            # Agent client (Go, single binary)
├── easyshell-web/              # Web frontend (React + Ant Design)
├── easyshell-mcp/              # MCP server — EasyShell as tools for AI clients (npm: @easyshell/mcp-server)
├── easyshell-skill/            # SKILL.md definition for AI assistants
├── docker-compose.yml          # Production deployment (pulls pre-built images)
├── docker-compose.build.yml    # Development (local build from source)
├── Dockerfile.server           # Server + Agent multi-stage build
├── Dockerfile.web              # Web frontend multi-stage build
├── .github/workflows/          # CI/CD: build & publish Docker images
└── .env.example                # Environment configuration template

Documentation

Visit docs.easyshell.ai for:

  • Installation & deployment guide
  • Getting started walkthrough
  • Configuration reference
  • Development guide

Community

Discord

Join our Discord community for support, discussions, and updates: https://discord.gg/akQqRgNB6t

License

This project is licensed under the MIT License.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for EasyShell MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/easyshell-mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related cloud devops MCP Servers

Alternative and complementary servers in the same category

View all in cloud devops →
Huawei MCP Server
mcp-server-huaweiclouddeveloper•huaweiclouddeveloper

A Model Context Protocol server built on Huawei Cloud services that enables AI assistants to operate Huawei Cloud resources within conversational workflows, supporting ECS, OBS, GaussDB, and other cloud products.

Repository stats unavailable
Cloud & DevOps
Coolify MCP Server
coolify-mcp-server•wrediam

An MCP server that exposes the Coolify v4.3.1 REST API so AI clients can manage applications, databases, services, servers, deployments, and more.

Repository stats unavailable
Cloud & DevOps

A deprecated Model Context Protocol server for interacting with Kong Konnect APIs, enabling AI assistants to query and analyze Kong Gateway configurations, traffic, and analytics.

Repository stats unavailable
Cloud & DevOps