mcp-xxl-job
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| XXL_JOB_URL | Yes | 调度中心地址,如 http://127.0.0.1:8080/xxl-job-admin | |
| XXL_JOB_PASSWORD | Yes | 登录密码 | |
| XXL_JOB_USERNAME | Yes | 登录用户名 | |
| XXL_JOB_TIMEOUT_MS | No | HTTP 超时(毫秒),默认 15000 | 15000 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_job_groupsA | 分页查询 XXL-JOB 的执行器组(执行器)列表,返回 id、AppName、名称、注册方式、在线机器地址等信息。新增任务前通常需要先查执行器组 id。 |
| list_jobsA | 分页查询 XXL-JOB 任务列表,支持按执行器组、调度状态(0=停止/1=运行中)、任务描述、JobHandler、负责人过滤。 |
| get_jobA | 根据任务 id 查询 XXL-JOB 任务的完整配置详情。 |
| add_jobA | 在 XXL-JOB 中新增一个任务。必填:执行器组 id、任务描述、调度类型与配置、JobHandler。未提供的可选项使用默认值:路由策略 FIRST、阻塞策略 SERIAL_EXECUTION、过期策略 DO_NOTHING、运行模式 BEAN。新增后默认为停止状态,可用 start_job 启动。 |
| update_jobA | 修改 XXL-JOB 任务配置。采用先读取现有全量配置、合并本次变更、再整体提交的方式,未传入的字段保持原值不变。调度状态(启动/停止)请用 start_job / stop_job,不在此工具处理。 |
| start_jobB | 启动指定任务的调度(使其按调度配置自动执行)。 |
| stop_jobA | 停止指定任务的调度(不再自动执行,历史配置保留)。 |
| remove_jobA | 永久删除指定任务(不可恢复,任务配置与历史日志将一并清除)。 |
| trigger_jobA | 手动触发指定任务立即执行一次(不影响原有调度状态)。可覆盖运行参数,也可指定执行器地址列表(为空则按任务配置的路由策略选择)。 |
| preview_next_trigger_timesA | 根据调度类型与配置(如 Cron 表达式)预演未来若干次触发时间,用于校验调度配置是否符合预期。 |
| list_job_logsA | 分页查询任务的执行日志(调度记录),支持按执行器组、任务、执行状态、调度时间范围过滤。返回每条记录的调度结果(triggerCode)、执行结果(handleCode)、执行器地址与触发时间,可据此调用 get_job_log_content 查看日志正文。 |
| get_job_log_contentA | 增量拉取某条执行记录的日志正文(来自执行器)。logId、executorAddress、triggerTime 取自 list_job_logs 的返回。日志较长时,用返回的 toLineNum+1 作为下一次 fromLineNum 继续读取,直到 isEnd=true。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/shaguocgl/mcp-xxl-job'
If you have feedback or need assistance with the MCP directory API, please join our Discord server