loading…
Search for a command to run...
loading…
Enables AI assistants to interact with OpenL Studio's business rules management system, allowing repository, project, rule, and deployment management via natura
Enables AI assistants to interact with OpenL Studio's business rules management system, allowing repository, project, rule, and deployment management via natural language.
Model Context Protocol server for OpenL Studio Business Rules Management System.
Built with MCP SDK v1.26+ featuring type-safe validation (Zod) and comprehensive OpenL Studio integration.
The MCP server is published as an npm package: openl-mcp-server — stdio transport via npx for Claude Desktop / Cursor / VS Code.
The same binary also doubles as a CLI for direct API calls without an MCP client (npx -y openl-mcp-server <tool> '<json-args>') — see README.cli.md for the full CLI guide.
For npm package details see README.npm.md.
You only need a local copy of compose.studio.yaml.
docker compose -f compose.studio.yaml up -d
This starts:
ghcr.io/openl-tablets/webstudio:xghcr.io/openl-tablets/openl-mcp:latesthttp://localhost:8080http://localhost:3000For a fast setup, use Method 1 (Docker Compose, recommended) in the Quick Start guide.
OpenL Studio uses dual versioning: Git-based commits (temporal) and dimension properties (business context). Supports multiple table types: Decision Tables (Rules, SimpleRules, SmartRules, Lookups), Spreadsheet Tables, and others (Method, Datatype, Test, etc.).
See prompts/create_rule.md for detailed table type guidance.
The MCP server provides 25 active tools for managing OpenL Studio repositories, projects, rules, and deployments. All tools are prefixed with openl_ and versioned (v1.0.0+).
Categories:
Note: 6 additional tools are temporarily disabled pending implementation fixes.
See Usage Examples for detailed tool usage and Enable Disabled Tools for tool reference.
15 expert guidance templates for complex OpenL Studio workflows. Prompts provide contextual assistance, best practices, and step-by-step instructions directly in Claude Desktop or MCP Inspector.
Available prompts: local_projects, create_rule, create_rule_decision_tables, create_rule_spreadsheet, create_test, update_test, run_test, execute_rule, append_table, datatype_vocabulary, dimension_properties, deploy_project, get_project_errors, file_history, project_history.
Usage: Request prompts in Claude Desktop (e.g., "Use the create_rule prompt") or access via MCP Inspector. See prompts/create_rule.md for detailed content.
# Required
OPENL_BASE_URL=<your-base-url>
# Auth Method 1: Basic Auth
OPENL_USERNAME=<your-username>
OPENL_PASSWORD=<your-password>
# Auth Method 2: Personal Access Token
OPENL_PERSONAL_ACCESS_TOKEN=<your-token>
# Optional
OPENL_TIMEOUT=60000
See Authentication Guide for detailed auth setup.
See MCP Connection Guide for client-specific configuration instructions.
npm run build # Build TypeScript
npm test # Run all tests
npm run lint # Check code quality
npm run watch # Dev mode with auto-rebuild
See Contributing Guide for development guidelines and Testing Guide for test suites.
openl-mcp/
├── src/ # Source code (TypeScript)
├── tests/ # Jest test suites
├── prompts/ # AI assistant guidance (OpenL-specific)
├── dist/ # Compiled output
├── docs/ # Documentation
│ ├── getting-started/ # Quick start and installation
│ ├── setup/ # Client setup guides
│ ├── guides/ # Usage guides and examples
│ ├── development/ # Developer documentation
│ └── reference/ # Reference materials
└── README.md # This file
LGPL-3.0 - GNU Lesser General Public License v3.0 (follows OpenL Studio project license).
Выполни в терминале:
claude mcp add openl-mcp-server -- npx Безопасность
Низкий рискАвтоматическая эвристика по публичным данным — не гарантия безопасности.