OpenL Server
FreeNot checkedEnables AI assistants to interact with OpenL Studio's business rules management system, allowing repository, project, rule, and deployment management via natura
About
Enables AI assistants to interact with OpenL Studio's business rules management system, allowing repository, project, rule, and deployment management via natural language.
README
Model Context Protocol server for OpenL Studio Business Rules Management System.
Built with MCP SDK v1.29+ featuring type-safe validation (Zod) and comprehensive OpenL Studio integration.
Quick Links
- 🚀 Quick Start - Connect Claude Code, Claude Desktop, Cursor, or VS Code in ~5 minutes
- ⚙️ Advanced Guide - Settings, authentication, Docker, and CLI mode
- 🖥️ CLI Guide - Use the same binary as a shell tool (no MCP client needed)
- 📖 Usage Examples - Learn how to use MCP tools
- 🐛 Troubleshooting - Common issues and solutions
- 👨💻 Contributing - Development guide
npm Distribution
The MCP server is published as an npm package: openl-mcp — stdio transport via npx for Claude Code / Claude Desktop / Cursor / VS Code. No Node.js? Run it on the official Docker image instead — see the Advanced Guide.
The same binary also doubles as a CLI for direct API calls without an MCP client (npx -y openl-mcp <tool> '<json-args>') — see the CLI Guide for the full reference.
For npm package details see README.npm.md.
Documentation Structure
Getting Started
- Quick Start - Connect your AI client (Claude Code, Claude Desktop, Cursor, VS Code)
Guides
- Usage Examples - Practical examples of using MCP tools
- Advanced Guide - Settings, authentication, Docker, and CLI mode
- CLI Guide - Use the same binary as a shell tool (no MCP client needed)
- Troubleshooting Guide - Common issues, debugging, and solutions
Development
- Contributing Guide - How to contribute to the project
- Architecture - System architecture and design
- Testing Guide - Testing strategy and how to run tests
- Code Standards - Best practices and coding standards
- Tool Review - Technical review of MCP tools vs OpenL API
OpenL Studio Concepts
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.
Tools
The MCP server provides 58 tools for managing OpenL Studio repositories, projects, rules, tables, tests, traces, and deployments. All tools are prefixed with openl_ and versioned (v1.0.0+).
Categories:
- Guidance - Agent onboarding (
openl_get_started), per-project AGENTS.md context (openl_get_project_agent_context), and the official OpenL reference documentation embedded at build time (openl_list_guides/openl_get_guides) - Repository Management - List repositories, branches, features, and revisions
- Project Management - List, open, save, close, create, and branch projects; track local changes
- Files - Read, write, search, copy, move, and delete project files
- Rules & Tables - List, get, update, append, create, and delete tables; apply single raw-source edits (insert/delete/update/merge a row, column, or cell)
- Tests - Start tests and retrieve results (full, summary, or by table)
- Tracing - Interactive rule debugger: start a session, step into/over/out, set breakpoints, run to a stop, inspect live frame variables and decision-table outcomes, profile a whole run
- Deployment - List deploy repositories and deployments; deploy and redeploy projects
See Usage Examples for detailed tool usage.
Prompts
14 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, append_table, datatype_vocabulary, dimension_properties, deploy_project, validate_after_edit, project_agents_md, 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.
Configuration
Base URL
Pass the OpenL Studio base URL as a positional argument (preferred), or set OPENL_BASE_URL:
# Positional argument (preferred) — starts the stdio MCP server
openl-mcp http://localhost:8080
npx -y openl-mcp http://localhost:8080
# …or via the environment variable
OPENL_BASE_URL=http://localhost:8080 openl-mcp
The positional URL takes precedence over OPENL_BASE_URL if both are set.
Environment Variables
# Base URL (or pass it as the positional argument above)
OPENL_BASE_URL=<your-base-url>
# Auth is optional (single-user mode accepts unauthenticated requests).
# Personal Access Token
OPENL_PERSONAL_ACCESS_TOKEN=<your-token>
# Optional
OPENL_TIMEOUT=60000
See the Advanced Guide for authentication and all settings.
Client configuration
See the Quick Start for client-specific configuration (Claude Code, Claude Desktop, Cursor, VS Code).
Key Features
- Type-Safe: Zod schemas with strict validation and TypeScript inference
- Personal Access Token Auth: PAT-based authentication (or none, for single-user mode)
- 4 Response Formats: json, markdown, markdown_concise, markdown_detailed
- Pagination Support: Metadata for all list operations
- AI Prompts: 14 expert guidance templates
- Comprehensive Tests: Full test suite covering core functionality
Development
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.
Project Structure
openl-mcp/
├── src/ # Source code (TypeScript)
├── tests/ # Jest test suites
├── prompts/ # AI assistant guidance (OpenL-specific)
├── dist/ # Compiled output
├── docs/ # Documentation
│ ├── guides/ # User guides: setup, usage, auth, troubleshooting, Docker
│ └── development/ # Developer documentation
└── README.md # This file
More Documentation
- Documentation Index - Full navigation map
Resources
License
LGPL-3.0 - GNU Lesser General Public License v3.0 (follows OpenL Studio project license).
Install OpenL Server in Claude Desktop, Claude Code & Cursor
unyly install openl-mcp-serverInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add openl-mcp-server -- npx -y openl-mcpFAQ
Is OpenL Server MCP free?
Yes, OpenL Server MCP is free — one-click install via Unyly at no cost.
Does OpenL Server need an API key?
No, OpenL Server runs without API keys or environment variables.
Is OpenL Server hosted or self-hosted?
A hosted option is available: Unyly runs the server in the cloud, no local setup required.
How do I install OpenL Server in Claude Desktop, Claude Code or Cursor?
Open OpenL Server on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
by modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
by xuzexin-hzCompare OpenL Server with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All ai MCPs
