
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

An MCP server that lets AI assistants manage XXL-JOB scheduled tasks through the MCP protocol, covering executors, jobs, triggers, and logs.
XXL-JOB MCP Server is cataloged as an MCP server attributed to shaguocgl. An MCP server that lets AI assistants manage XXL-JOB scheduled tasks through the MCP protocol, covering executors, jobs, triggers, and logs. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for XXL-JOB 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.
It signs in automatically, keeps a Cookie session, and signs in again automatically when the session expires.
No; updates use a read-merge-write-back strategy, so fields not passed in keep their original values.
README.md · d03fe48c7605 · Fetched 2026-11-13 14:11:42 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
MCP Server for XXL-JOB Admin — 通过 MCP 协议让 AI 助手直接管理 XXL-JOB 定时任务。
GitHub Repository:mcp‑xxl‑job
✅ This MCP server is indexed on Glama.ai
| 工具 | 功能 |
|---|---|
list_job_groups | 分页查询执行器组列表 |
list_jobs | 分页查询任务列表(支持按执行器组、状态、描述等过滤) |
get_job | 查询单个任务完整配置 |
add_job | 新增任务(支持 CRON / FIX_RATE / NONE 调度类型) |
update_job | 修改任务配置(未传入字段保持原值) |
remove_job | 删除任务 |
start_job | 启动任务调度 |
stop_job | 停止任务调度 |
trigger_job | 手动触发一次执行 |
preview_next_trigger_times | 预演未来触发时间 |
list_job_logs | 分页查询执行日志 |
get_job_log_content | 增量拉取日志正文 |
| 变量 | 必填 | 说明 |
|---|---|---|
XXL_JOB_URL | ✅ | 调度中心地址,如 http://127.0.0.1:8080/xxl-job-admin |
XXL_JOB_USERNAME | ✅ | 登录用户名 |
XXL_JOB_PASSWORD | ✅ | 登录密码 |
XXL_JOB_TIMEOUT_MS | ❌ | HTTP 超时(毫秒),默认 15000 |
在 MCP 客户端(如 Claude Desktop、Cursor、Qoder 等)中添加以下配置:
方式一:全局安装后使用(推荐)
npm install -g mcp-xxl-job
升级:全局安装的版本不会自动更新,需手动升级:
npm update -g mcp-xxl-job # 或 npm install -g mcp-xxl-job@latest
{
"mcpServers": {
"xxl-job": {
"command": "mcp-xxl-job",
"env": {
"XXL_JOB_URL": "http://127.0.0.1:8080/xxl-job-admin",
"XXL_JOB_USERNAME": "admin",
"XXL_JOB_PASSWORD": "123456"
}
}
}
}
方式二:通过 npx 使用
注意:如果你的 npm 配置了国内镜像源(如 npmmirror),npx 可能无法找到包。此时请使用全局安装方式,或指定官方源:
npx --registry=https://registry.npmjs.org mcp-xxl-job@latest包名后加
@latest可确保每次启动都获取最新版本(npx 有本地缓存,不加@latest可能会一直使用缓存的旧版本)。
{
"mcpServers": {
"xxl-job": {
"command": "npx",
"args": ["-y", "mcp-xxl-job@latest"],
"env": {
"XXL_JOB_URL": "http://127.0.0.1:8080/xxl-job-admin",
"XXL_JOB_USERNAME": "admin",
"XXL_JOB_PASSWORD": "123456"
}
}
}
}
提示:如果 npx 方式连接失败,请改用全局安装方式,或在 args 中添加
"--registry=https://registry.npmjs.org"。
配置完成后,你可以用自然语言让 AI 助手操作 XXL-JOB:
查询当前有哪些定时任务
新增一个任务:执行器组=demo-server,描述=数据同步,Cron=0 0 2 * * ? *,Handler=syncJobHandler
停止任务 id=5 的调度
查看任务 id=3 最近 10 条执行日志
预演 Cron 表达式 0 0/30 * * * ? 的未来触发时间
# 克隆项目
git clone https://github.com/shaguocgl/mcp-xxl-job.git
cd mcp-xxl-job
# 安装依赖
npm install
# 编译
npm run build
# 运行
npm start
# 开发模式(自动重新编译)
npm run dev
# 冒烟测试
npm run smoke
# 集成测试(需要可用的 XXL-JOB 实例)
npm run test:integration
# 客户端单元测试
npm run test:client
mcp-xxl-job/
├── src/
│ ├── server.ts # MCP 服务入口,注册所有工具
│ ├── client.ts # XXL-JOB Admin HTTP 客户端
│ ├── config.ts # 环境变量配置加载
│ └── models.ts # 数据结构与校验逻辑
├── tests/
│ ├── smoke.ts # 冒烟测试
│ ├── integration.ts # 集成测试
│ ├── test-client.ts # 客户端测试
│ └── mock-admin.ts # Mock 服务器
├── package.json
├── tsconfig.json
└── .env.example # 环境变量示例
MIT © 2026
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for XXL-JOB MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/mcp-xxl-job)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.