
LexQ
io.lexq由 lexq.io 发布官方发布者v3.0.4更新于 Nov 7, 2026
The Decision Operations Platform for engineering teams
概览
LexQ 是面向工程团队的决策运营平台,其 MCP 服务器让助手管理业务规则、模拟变更、部署版本并查看执行历史。
- 可以做什么
- 管理策略组、版本、规则与事实,包括 A/B 测试和领域模板
- 运行试运行、影响模拟、数据集上传和单条规则延迟分析
- 发布、部署、回滚、排期和对比策略版本
- 查看决策历史、统计、失败日志、来源追溯与重放
- 管理 Webhook 订阅并检查 API 健康状态
- 适用场景
- 当定价、促销、费用逻辑或资格校验等业务规则存放在 LexQ 中,而你想让助手在不发布应用的情况下修改、测试和部署这些规则,或排查历史决策时适用。
- 运行要求
- 可使用托管端点 mcp.lexq.io 并通过 OAuth 2.1 登录,也可用 npx 运行本地 npm 包 @lexq/cli 作为 stdio 服务器,后者需要 Node.js 22+。必须提供 API 密钥,可通过 LEXQ_API_KEY 传入,或运行一次 lexq auth login 保存;PARTNER_BASE_URL 可覆盖 API 基础地址。
安装
在 SourceWeft 中
- 打开 控制台中的 LexQ,将其添加到工作区。
- 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
交给智能体安装
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/io.lexq%2Flexq/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。
{
"mcpServers": {
"lexq": {
"type": "http",
"url": "https://mcp.lexq.io/"
}
}
}README
LexQ CLI
The Decision Operations Platform for engineering teams. CLI and MCP server for LexQ. Move business rules out of your deploy pipeline, prove every change with Impact Simulation, and ship without a git push.
Website · Docs · Console · MCP Registry
Why LexQ?
Your business rules, such as pricing, promotions, fee logic, and eligibility checks, change often. But every change ships through the same PR → review → staging → deploy cycle as your core application code, so even a small change waits for the next release.
LexQ keeps those rules out of your code. Your service calls the LexQ API to evaluate them. You change rules in a visual console or through this CLI, test each change with Impact Simulation against past executions or a dataset you upload, and deploy them without an application release.
Every decision leaves a full audit trail.
Install
Or run without installing:
Requires Node.js 22+.
Quick Start
For AI Agents
Claude, Cursor, and other MCP-compatible agents can use the Model Context Protocol to manage policy groups, versions, rules, and facts, run simulations and replays, deploy versions, and read execution history.
Approval happens in your MCP client, which decides which tool calls you confirm. A tool is marked as destructive when it deletes, overwrites, or cancels something, changes live traffic, cannot be undone, or counts toward your plan's usage, so a client can ask you before running it.
Claude.ai (cloud, no install)
- Customize → Connectors → + Add → Add custom connector
- Name it, enter
https://mcp.lexq.io, and choose Sign in now - On the LexQ page that opens, sign in and generate a new API key for MCP, or choose I already have an API key and paste an existing one
- The tools are now available in every conversation
Remote (Streamable HTTP)
For any MCP client that supports remote servers:
OAuth 2.1 authentication is handled automatically by your client.
Local (stdio)
Run LexQ CLI as a local MCP server:
Claude Desktop
Add to claude_desktop_config.json:
VS Code / Cursor
.vscode/mcp.json:
Prerequisite:
lexq auth loginmust have been run once to store an API key in~/.lexq/config.json, orLEXQ_API_KEYmust be set in the client's environment block.
Registry
The server is listed on the official MCP Registry as io.lexq/lexq. Clients that
browse the registry find both the npm package and the hosted endpoint in that one entry.
Protocol Support
The local stdio server and the hosted Streamable HTTP endpoint both serve two MCP revisions from one set of tool definitions, so a client sees the same tools either way.
There is nothing to configure. The server answers in whichever revision the opening message used, so a client can move to 2026-07-28 on its own schedule and one that has not moved keeps working.
AI Agent Skills
LexQ CLI ships with AI Agent Skills: structured documentation that tells agents how to use each tool.
After installing @lexq/cli, agents can read skills from:
Commands
Global Options
--format only changes how results are printed. A command that writes a file, such as lexq facts export, chooses the file's format with --as csv or --as json.
Configuration
Config is stored at ~/.lexq/config.json:
The file holds an API key in plain text. It is saved with mode 0600 inside a 0700
directory, so only its owner can read it. If an older version created it with looser
permissions, the CLI tightens them the next time it saves the file.
Environment variables
These are read by the MCP server (lexq serve --mcp) and take precedence over the stored
config. They let an editor or CI target an environment through the client's own config block,
without writing to ~/.lexq/config.json. CLI commands use --api-key and --base-url instead.
Development
Checks that guard a stated fact against the thing that owns it. All of them run in CI.
Security
Report a vulnerability through GitHub's private reporting form. The policy, including what is in scope, is in SECURITY.md.
License
来源:README.md,提交 807144e
工具
0版本历史
17- v3.0.4最新Nov 7, 2026
- v3.0.2Nov 5, 2026
- v3.0.1Nov 4, 2026
- v3.0.0Nov 4, 2026
- v2.1.1Oct 26, 2026
- v2.0.0Oct 24, 2026
- v1.1.7Oct 19, 2026
- v1.1.6Oct 18, 2026
- v1.1.5Oct 15, 2026
- v1.1.4Oct 13, 2026
- v1.1.3Oct 12, 2026
- v1.1.2Oct 11, 2026
- v1.1.1Oct 6, 2026
- v1.1.0Oct 2, 2026
- v1.0.2Oct 1, 2026
- v1.0.1Sep 30, 2026
- v1.0.0Sep 16, 2026
评分
已满足适用检查项的 85%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通必需25 分
- 已声明认证方式必需10 分
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分