
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 分