Lerian MCP Server
About
Provides educational content, model information, and read-only API interactions for Lerian developers.
Details
- Author
- lerianstudio
- GitHub stars
- 8
- Downloads
- 326
- Categories
- Developer Tools, AI, Knowledge Base, API, Other
Jump to
- Unified portfolio discovery and documentation lookup
- Guided learning with topic and experience level
- SDK examples in Go, TypeScript, and JavaScript
- Live API contract discovery and safe execution
- Cross-product workflow planning and step execution
- Two-step mutation safety with confirmation and audit reason
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Lerian MCP ServerCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Install via the npx command and add the provided JSON configuration block to your MCP client’s settings file. Restart the client and ask a question like “What can you tell me about Lerian Midaz?”. For live API execution, configure base URLs, authentication tokens, or API keys through environment variables or a config file (created interactively with npx -y -p @lerianstudio/lerian-mcp-server@latest lerian-mcp-config).
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"lerian mcp server": {
"lerian": {
"command": "npx",
"args": [
"-y",
"@lerianstudio/lerian-mcp-server@latest"
]
}
}
}
}
McpServers
{
"lerian": {
"command": "npx",
"args": [
"-y",
"@lerianstudio/lerian-mcp-server@latest"
]
}
}
An MCP gateway for Lerian portfolio discovery, documentation, learning, SDK examples, live product API access, and cross-product workflows.
This server connects MCP clients such as Claude Desktop, Cursor, Windsurf, Continue, and ChatGPT Desktop to the Lerian product portfolio. It gives AI assistants a structured way to discover Lerian products, read official documentation, generate implementation examples, inspect live API contracts, execute configured product APIs, and guide multi-product operational workflows.
Runtime scope:this server is not documentation-only. The unifiedleriantool is read-oriented, but product-specific-executetools can call configured live Lerian APIs. Mutating API calls require explicit confirmation and an audit reason.
- Choose your MCP-compatible AI assistant.
- Add the server configuration.
- Restart the AI app.
- Ask: "What can you tell me about Lerian Midaz?"
macOS location:~/Library/Application Support/Claude/claude_desktop_config.json
Windows location:%APPDATA%\Claude\claude_desktop_config.json
{ "mcpServers": { "lerian": { "command": "npx", "args": ["-y", "@lerianstudio/lerian-mcp-server@latest"] } } }
Cursor, Windsurf, Continue, ChatGPT Desktop
Add the same MCP server block to your client's MCP configuration:
{ "mcpServers": { "lerian": { "command": "npx", "args": ["-y", "@lerianstudio/lerian-mcp-server@latest"] } } }
- Midaz: unified double-entry ledger — organizations, ledgers, accounts, balances, transactions, and CRM behind a single service.
- Fetcher: datasource connection, schema discovery, and asynchronous extraction service.
- Reporter: template-driven report generation, datasource management, metrics, and artifacts.
- Matcher: reconciliation engine for matching Midaz transactions against external systems.
- Tracer: transaction validation engine with rules, limits, validations, and auditability.
- Flowker: workflow orchestration platform for providers, executors, webhooks, and execution flows.
- Underwriter: jurisdiction-aware lending surface for loan products and schedule preview.
- All: portfolio-wide discovery, documentation search, and comparison.
- Portfolio discoverythroughlerianwithoperation="discover".
- Documentation lookupthroughlerianwithoperation="docs".
- Guided learningthroughlerianwithoperation="learn".
- SDK examplesthroughlerianwithoperation="sdk".
- Cross-product searchthroughlerianwithoperation="search".
- Live API contract discoverythrough product-specific-discovertools.
- Live API executionthrough product-specific-executetools.
- Cross-product workflowsthroughportfolio-workflow.
- Prompt-based guidancefor onboarding, learning, API use, and operational workflows.
The server exposes a small core plus live API pairs for each supported product.
- lerian: unified portfolio tool for docs, learning, SDK examples, discovery, and search.
- portfolio-workflow: cross-product workflow discovery, planning, stateful sessions, and step execution.
- midaz-discoverandmidaz-execute
- fetcher-discoverandfetcher-execute
- reporter-discoverandreporter-execute
- matcher-discoverandmatcher-execute
- tracer-discoverandtracer-execute
- flowker-discoverandflowker-execute
- underwriter-discoverandunderwriter-execute
Use the matching-discovertool before calling a-executetool. Discovery returns resources, actions, path parameters, query parameters, body schemas, examples, and execution hints.
Theleriantool is the primary read-oriented entry point.
Tool: lerian Parameters: product midaz | fetcher | reporter | matcher | tracer | flowker | underwriter | all operation discover | docs | learn | sdk | search topic Topic to inspect, learn, or search language go | typescript | javascript, for SDK examples useCase Specific implementation scenario for SDK examples experienceLevel beginner | intermediate | advanced format summary | detailed | examples-only includeExamples true | false maxResults 1-50, for search
{ "product": "midaz", "operation": "learn", "topic": "transactions", "experienceLevel": "beginner" }
Live API access is intentionally two-step.
{ "intent": "list-resources" }
{ "intent": "describe-action", "resource": "transactions", "action": "create" }
- Execute with the exact contract returned by discovery:
{ "resource": "transactions", "action": "create", "pathParams": { "organizationId": "...", "ledgerId": "..." }, "body": { "description": "Example transaction" }, "confirmMutation": true, "mutationReason": "Create example transaction requested by operator" }
- confirmMutation: true
- mutationReasonwith a human-readable audit reason
Useportfolio-workflowwhen the task spans multiple Lerian products.
- fetcher-to-reporter: validate extraction mappings with Fetcher, then generate or inspect Reporter reports.
- matcher-to-fetcher-to-midaz: configure Matcher reconciliation, use Matcher discovery over Fetcher, and inspect Midaz ledger-side data.
- list-workflows
- describe-workflow
- plan
- create-session
- get-session
- list-sessions
- execute-step
- execute-next
Workflow sessions return an opaquesessionToken. Keep it private.
The server works immediately for documentation and discovery. Live API execution requires reachable product services and, where applicable, tokens or API keys.
Configuration sources, in priority order:
- Command-line--configor--config-file
- Environment variables
- ./lerian-mcp-config.json
- ./midaz-mcp-config.json
- ~/.lerian/mcp-config.json
- ~/.midaz/mcp-config.json
- ~/.config/lerian/mcp-config.json
- ~/.config/midaz/mcp-config.json
- Platform global config paths
Create or update configuration interactively:
npx -y -p @lerianstudio/lerian-mcp-server@latest lerian-mcp-config
Midaz is a single unified ledger service reached through one base URL. Onboarding, accounts, balances, transactions, and CRM are all resources of that one service, so there is exactly one Midaz URL to configure.
LERIAN_DOCS_URL=https://docs.lerian.studio LOG_LEVEL=info MIDAZ_BASE_URL=http://localhost:3002 MIDAZ_AUTH_TOKEN=... MIDAZ_API_TIMEOUT=30000 FETCHER_MANAGER_URL=http://localhost:4006 FETCHER_AUTH_TOKEN=... REPORTER_MANAGER_URL=http://localhost:4005 REPORTER_AUTH_TOKEN=... MATCHER_BASE_URL=http://localhost:4018 MATCHER_AUTH_TOKEN=... TRACER_BASE_URL=http://localhost:4020 TRACER_API_KEY=... FLOWKER_BASE_URL=http://localhost:4021 FLOWKER_AUTH_TOKEN=... FLOWKER_API_KEY=... UNDERWRITER_BASE_URL=http://localhost:8080 UNDERWRITER_AUTH_TOKEN=...
Breaking change: Midaz configuration. Releases before 4.0.0 expected four separate Midaz URLs, one per legacy service (onboarding, transaction, CRM, ledger). Those variables are gone — they are not read and not accepted. PointMIDAZ_BASE_URLat your unified Midaz ledger instead, and keepMIDAZ_AUTH_TOKENas is. Nothing else in the configuration changed.
- Live execution is opt-in through product-specific-executetools.
- Mutating methods require explicit confirmation and a mutation reason.
- Product API base URLs must usehttporhttps.
- Non-localhost HTTP URLs are rejected; HTTPS is required outside local development.
- URLs with embedded credentials are rejected.
- Authorization and API-key headers are protected from arbitrary override.
- Binary upload and download sizes are bounded by configurable limits.
- Secrets are generated and managed locally under~/.lerian/secrets.jsonwhen needed.
You:"What Lerian products can this MCP help with?"
AI:Useslerianwithproduct="all",operation="discover".
You:"I'm new to Tracer. Teach me how validation rules work."
AI:Useslerianwithproduct="tracer",operation="learn",topic="rules".
You:"Show me Go code for creating a Midaz ledger."
AI:Useslerianwithproduct="midaz",operation="sdk",language="go".
You:"Inspect the contract for creating a Reporter template."
AI:Usesreporter-discoverbefore anyreporter-executecall.
You:"Guide me through validating Fetcher mappings before generating a report."
AI:Usesportfolio-workflowwithworkflow="fetcher-to-reporter".
- npm run dev: run the TypeScript entrypoint withts-node.
- npm run build: compile todist/and mark binaries executable.
- npm run lint: run ESLint.
- npm run typecheck: run TypeScript without emitting files.
- npm test: run Node tests plus the basic server test.
- npm run docs: generate TypeDoc output intodocs/.
- Full Documentation
- Learning Paths
- SDK Reference
- Troubleshooting
- Media and Diagram Index
- Agent Instructions
- npm package:@lerianstudio/lerian-mcp-server— the npm page and theGitHub releasescarry the current version and changelog.
- Runtime:Node.js ESM
- Transport:stdio only
- License:Apache-2.0
- Repository:github.com/lerianstudio/lerian-mcp-server
MCP Client -> stdio transport -> MCP server runtime -> core tools and prompts -> product adapters -> product routers and schema registries -> configured Lerian product APIs
- Transport:MCP JSON-RPC over stdio.
- Server bootstrap:security, secrets, docs manifest, logging, client detection.
- Core tools:lerianandportfolio-workflow.
- Product adapters:discover/execute pairs for supported products.
- Schema registries:resource/action contracts for API surfaces.
- HTTP execution:validated URL construction, request execution, response parsing, and error classification.
- Workflow orchestration:guided, stateful multi-product flows.
npx -y @lerianstudio/lerian-mcp-server@latest
- Use the product*-discovertool first.
- Verify the relevant base URL and token/API key are configured.
- Confirm non-local remote URLs use HTTPS.
- For mutations, includeconfirmMutation=trueandmutationReason.
- Check whether the target product service is reachable from the MCP runtime.
- Restart the MCP client after configuration changes.
- Confirm MCP is enabled in the client.
- Enable logging withLOG_LEVEL=debugif needed.
- Check./logs/when logging is enabled.
This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.
One shared context layer for AI agents and humans — live API specs, DB schemas, and versioned contracts across repos so every agent and teammate works from the same source of truth.
The MCP server for Bitrix24 provides AI assistants with structured access to the Bitrix24 API. It delivers up-to-date method descriptions, parameters, and valid values, allowing assistants to work with precise data instead of guesswork. This reduces code errors and accelerates Bitrix24 integration development.
A TypeScript MCP server to access Apifox API data via Stdio.
Provides API documentation from Apifox projects as a data source for AI programming tools that support MCP.
A tool to retrieve API interface information from YApi, with authentication configurable via environment variables.
Automatically generates documentation for code repositories by analyzing directory structures and code files using the OpenRouter API.
Access 30+ AI models in Claude Code with zero API keys. One wallet, pay-per-request.
Clix MCP Server for assisting Clix SDK/API integrations with semantic search across Clix docs and SDK source (iOS, Android, Flutter, React Native).
A coding assistant server that provides context-aware code suggestions, documentation integration, and technology detection.
Generate draw.io system architecture diagrams from text descriptions using the ZhipuAI large model.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





