The Decision Operations Platform for engineering teams. CLI and MCP server for LexQ
Setup
Choose your client, copy the config, then fill in any required environment variables.
Local
claude mcp add lexq --env LEXQ_API_KEY='<LEXQ_API_KEY>' -- npx -y @lexq/cli~/.codex/config.toml
[mcp_servers.lexq]
command = "npx"
args = ["-y", "@lexq/cli"]
env = { LEXQ_API_KEY = "<LEXQ_API_KEY>" }
# codex mcp add lexq --env LEXQ_API_KEY='<LEXQ_API_KEY>' -- npx -y @lexq/cli~/.cursor/mcp.json
{
"mcpServers": {
"lexq": {
"command": "npx",
"args": [
"-y",
"@lexq/cli"
],
"env": {
"LEXQ_API_KEY": "<LEXQ_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"lexq": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@lexq/cli"
],
"env": {
"LEXQ_API_KEY": "<LEXQ_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"lexq": {
"command": "npx",
"args": [
"-y",
"@lexq/cli"
],
"env": {
"LEXQ_API_KEY": "<LEXQ_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"lexq": {
"command": "npx",
"args": [
"-y",
"@lexq/cli"
],
"env": {
"LEXQ_API_KEY": "<LEXQ_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"lexq": {
"command": "npx",
"args": [
"-y",
"@lexq/cli"
],
"env": {
"LEXQ_API_KEY": "<LEXQ_API_KEY>"
}
}
}
}Remote
claude mcp add --transport http lexq https://mcp.lexq.io/mcp~/.codex/config.toml
[mcp_servers.lexq]
url = "https://mcp.lexq.io/mcp"
# codex mcp add lexq --url https://mcp.lexq.io/mcp~/.cursor/mcp.json
{
"mcpServers": {
"lexq": {
"url": "https://mcp.lexq.io/mcp"
}
}
}.vscode/mcp.json
{
"servers": {
"lexq": {
"type": "http",
"url": "https://mcp.lexq.io/mcp"
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"lexq": {
"httpUrl": "https://mcp.lexq.io/mcp"
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"lexq": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.lexq.io/mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"lexq": {
"url": "https://mcp.lexq.io/mcp"
}
}
}Environment variables
LEXQ_API_KEY
Replace the placeholders with your own credentials and keep them out of version control.