RuleGo RuleGo
🏠首页
  • 快速入门
  • 规则链
  • 标准组件
  • 扩展组件
  • 自定义组件
  • 可视化
  • RuleGo-Server
  • RuleGo-MCP-Server
  • AOP
  • 触发器
  • 高级主题
  • 性能
  • 标准组件
  • 扩展组件
  • 自定义组件
  • 组件市场
  • 概述
  • 快速入门
  • 路由
  • DSL
  • API
  • Options
  • 组件
🔥编辑器 (opens new window)
  • 可视化编辑器 (opens new window)
  • RuleGo-Server (opens new window)
  • ❓问答

    • FAQ
💖支持
👥加入社区
  • Github (opens new window)
  • Gitee (opens new window)
  • GitCode (opens new window)
  • 更新日志 (opens new window)
  • English
  • 简体中文
🏠首页
  • 快速入门
  • 规则链
  • 标准组件
  • 扩展组件
  • 自定义组件
  • 可视化
  • RuleGo-Server
  • RuleGo-MCP-Server
  • AOP
  • 触发器
  • 高级主题
  • 性能
  • 标准组件
  • 扩展组件
  • 自定义组件
  • 组件市场
  • 概述
  • 快速入门
  • 路由
  • DSL
  • API
  • Options
  • 组件
🔥编辑器 (opens new window)
  • 可视化编辑器 (opens new window)
  • RuleGo-Server (opens new window)
  • ❓问答

    • FAQ
💖支持
👥加入社区
  • Github (opens new window)
  • Gitee (opens new window)
  • GitCode (opens new window)
  • 更新日志 (opens new window)
  • English
  • 简体中文

广告采用随机轮播方式显示 ❤️成为赞助商
  • 快速入门

  • 规则链

  • 标准组件

  • 扩展组件

  • 自定义组件

  • 组件市场

  • 可视化

  • AOP

  • 触发器

  • 高级主题

  • RuleGo-Server

    • RuleGo-Server
      • 特性
      • 下载
      • 体验地址
      • HTTP API
      • rulego-server启动
      • rulego-server-mcp
      • 配置文件参数
    • RuleGo-MCP-Server
    • MCP-Server-Endpoint
  • 问题

目录

RuleGo-Server

RuleGo-Server (opens new window) 是一个基于RuleGo (opens new window) 构建的轻量化、高性能、模块化、便于集成的自动化工作流平台。 可用于自动化编排、iPaaS(集成平台即服务)、API编排、应用编排、AI编排、数据处理、IoT规则引擎、AI助手等场景。

# 特性

  • 轻量级:内存小、性能高、部署简单、开箱即用、不需要数据库
  • 丰富的组件:内置100+组件。另外提供组件市场和规则链市场,支持动态安装
  • 可视化:支持规则链的可视化
  • 组件化:按需编译,按需加载
  • 热更新:工作流支持热更新
  • AI支持:支持大模型组件。另外系统会自动把所有组件和规则链注册成MCP工具,对外提供给AI助手使用
  • 打通AI助手与应用最后一公里:第三方系统服务可以很方便借助RuleGo-Server封装成MCP工具

# 下载

  • rulego-server-linux-amd64-latest.zip
  • rulego-server-linux-arm64-latest.zip
  • rulego-server-windows-amd64-latest.zip
  • rulego-server-windows-arm64-latest.zip
  • rulego-server-macos-amd64-latest.zip
  • rulego-server-macos-arm64-latest.zip
  • Github (opens new window) Gitee (opens new window)
  • 其他版本可以通过仓库自行编译:Github (opens new window) Gitee (opens new window)

# 体验地址

  • 体验地址1:http://8.134.32.225:9090/rulego-ipaas-ui/ (opens new window)
  • 体验地址2:http://8.134.32.225:9090/ui/ (opens new window)
  • 体验地址3:http://8.134.32.225:9090/editor/ (opens new window)

# HTTP API

API 文档 (opens new window)

# rulego-server启动

./server -c="./config.conf"
1

或者后台启动

nohup ./server -c="./config.conf" >> console.log &
1

# rulego-server-mcp

RuleGo-Server 支持 MCP(Model Context Protocol,模型上下文协议),开启后,系统会自动将所有注册的组件、规则链以及 API 注册为 MCP 工具。这使得 AI 助手(如 Windsurf、Cursor、Codeium 等)能够通过 MCP 协议直接调用这些工具,实现与应用系统的深度融合。 文档: rulego-server-mcp (opens new window)

# 配置文件参数

config.conf:

# 数据目录
data_dir = ./data
# cmd组件命令白名单
cmd_white_list = cp,scp,mvn,npm,yarn,git,make,cmake,docker,kubectl,helm,ansible,puppet,pytest,python,python3,pip,go,java,dotnet,gcc,g++,ctest
# 是否加载lua第三方库
load_lua_libs = true
# http server
server = :9090
# 默认用户
default_username = admin
# 是否把节点执行日志打印到日志文件
debug = true
# 最大节点日志大小,默认40
max_node_log_size =40
# 资源映射,支持通配符,多个映射用逗号分隔,格式:/url/*filepath=/path/to/file
resource_mapping = /editor/*filepath=./editor,/images/*filepath=./editor/images
# 节点池文件,规则链json格式,示例:./node_pool.json
node_pool_file=./node_pool.json
# save run log to file
save_run_log = false
# script max execution time
script_max_execution_time = 5000
# api是否开启jwt认证
require_auth = false
# jwt secret key
jwt_secret_key = r6G7qZ8xk9P0y1Q2w3E4r5T6y7U8i9O0pL7z8x9CvBnM3k2l1
# jwt expire time,单位毫秒
jwt_expire_time = 43200000
# jwt issuer
jwt_issuer = rulego.cc
# mcp server config
[mcp]
# Whether to enable the MCP service
enable = true
# Whether to use the component as an MCP tool
load_components_as_tool = true
# Whether to use the rule chain as an MCP tool
load_chains_as_tool = true
# Whether to add a rule chain api tool
load_apis_as_tool = true
# Exclude component list
exclude_components = comment,iterator,delay,groupAction,ref,fork,join,*Filter
# Exclude rule chain list
exclude_chains =

# pprof配置
[pprof]
# 是否开启pprof
enable = false
# pprof地址
addr = 0.0.0.0:6060

# 全局自定义配置,组件可以通过${global.xxx}方式取值
[global]
# 例子
sqlDriver = mysql
sqlDsn = root:root@tcp(127.0.0.1:3306)/test

# 用户列表
# 配置用户和密码,格式 username=password[,apiKey],apiKey可选。
# 如果配置apiKey 调用方可以不需要登录,直接通过apiKey访问其他接口。
[users]
admin = admin
user01 = user01
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
在 GitHub 上编辑此页 (opens new window)
上次更新: 2025/04/02, 01:29:50
性能
RuleGo-MCP-Server

← 性能 RuleGo-MCP-Server→

Theme by Vdoing | Copyright © 2023-2025 RuleGo Team | Apache 2.0 License

  • 跟随系统
  • 浅色模式
  • 深色模式
  • 阅读模式