Lerian MCP Server
Lerian MCPサーバー
Lerianポートフォリオの探索、ドキュメント、学習、SDK例、ライブ製品APIアクセス、および製品間ワークフローのためのMCPゲートウェイ。
このサーバーは、Claude Desktop、Cursor、Windsurf、Continue、ChatGPT DesktopなどのMCPクライアントをLerian製品ポートフォリオに接続します。AIアシスタントがLerian製品を探索し、公式ドキュメントを読み、実装例を生成し、ライブAPIコントラクトを検査し、設定された製品APIを実行し、製品をまたぐ運用ワークフローをガイドするための構造化された方法を提供します。
ランタイムスコープ: このサーバーはドキュメント専用ではありません。統合された
lerianツールは読み取り専用ですが、製品固有の*-executeツールは設定されたライブLerian APIを呼び出すことができます。APIの変更を伴う呼び出しには、明示的な確認と監査理由が必要です。
2分でセットアップ
MCP互換のAIアシスタントを選択します。
サーバー設定を追加します。
AIアプリを再起動します。
「Lerian Midazについて教えて」と尋ねます。
Claude Desktop
macOSの場所: ~/Library/Application Support/Claude/claude_desktop_config.json
Windowsの場所: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"lerian": {
"command": "npx",
"args": ["-y", "@lerianstudio/lerian-mcp-server@latest"]
}
}
}Cursor, Windsurf, Continue, ChatGPT Desktop
クライアントのMCP設定に同じMCPサーバーブロックを追加します:
{
"mcpServers": {
"lerian": {
"command": "npx",
"args": ["-y", "@lerianstudio/lerian-mcp-server@latest"]
}
}
}Related MCP server: DevDocs MCP Server
提供機能
サポートされている製品
Midaz: オンボーディング、残高、トランザクション、CRM、および元帳サービスを備えた金融元帳プラットフォーム。
Fetcher: データソース接続、スキーマ探索、および非同期抽出サービス。
Reporter: テンプレート駆動型のレポート生成、データソース管理、メトリクス、およびアーティファクト。
Matcher: Midazのトランザクションを外部システムと照合するための照合エンジン。
Tracer: ルール、制限、検証、および監査可能性を備えたトランザクション検証エンジン。
Flowker: プロバイダー、エグゼキューター、Webhook、および実行フローのためのワークフローオーケストレーションプラットフォーム。
Underwriter: ローン商品およびスケジュールプレビューのための管轄区域対応の融資インターフェース。
All: ポートフォリオ全体の探索、ドキュメント検索、および比較。
コア機能
operation="discover"を使用したlerianによるポートフォリオ探索。operation="docs"を使用したlerianによるドキュメント検索。operation="learn"を使用したlerianによるガイド付き学習。operation="sdk"を使用したlerianによるSDK例。operation="search"を使用したlerianによる製品横断検索。製品固有の
*-discoverツールによるライブAPIコントラクト探索。製品固有の
*-executeツールによるライブAPI実行。portfolio-workflowによる製品横断ワークフロー。オンボーディング、学習、API使用、および運用ワークフローのためのプロンプトベースのガイダンス。
ランタイムツールサーフェス
サーバーは、小さなコアツールと、サポートされている各製品のライブAPIペアを公開します。
コアツール
lerian: ドキュメント、学習、SDK例、探索、検索のための統合ポートフォリオツール。portfolio-workflow: 製品横断ワークフローの探索、計画、ステートフルセッション、およびステップ実行。
ライブAPIツール
midaz-discoverおよびmidaz-executefetcher-discoverおよびfetcher-executereporter-discoverおよびreporter-executematcher-discoverおよびmatcher-executetracer-discoverおよびtracer-executeflowker-discoverおよびflowker-executeunderwriter-discoverおよびunderwriter-execute
*-execute ツールを呼び出す前に、対応する *-discover ツールを使用してください。探索機能は、リソース、アクション、パスパラメータ、クエリパラメータ、ボディスキーマ、例、および実行のヒントを返します。
lerian ツール
lerian ツールは、読み取り指向の主要なエントリポイントです。
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"
}ライブAPIワークフロー
ライブAPIアクセスは、意図的に2ステップの手順になっています。
製品サーフェスを検査する:
{
"intent": "list-resources"
}特定のアクションコントラクトを検査する:
{
"intent": "describe-action",
"resource": "transactions",
"action": "create"
}探索によって返された正確なコントラクトを使用して実行する:
{
"resource": "transactions",
"action": "create",
"pathParams": {
"organizationId": "...",
"ledgerId": "..."
},
"body": {
"description": "Example transaction"
},
"confirmMutation": true,
"mutationReason": "Create example transaction requested by operator"
}ライブAPIアクションの変更を伴う操作には以下が必要です:
confirmMutation: true人間が読める監査理由を含む
mutationReason
製品横断ワークフロー
タスクが複数のLerian製品にまたがる場合は portfolio-workflow を使用してください。
現在のワークフロー:
fetcher-to-reporter: Fetcherで抽出マッピングを検証し、Reporterレポートを生成または検査します。matcher-to-fetcher-to-midaz: Matcherの照合を設定し、Fetcher上でMatcherの探索を使用し、Midazの元帳側のデータを検査します。
サポートされているインテント:
list-workflowsdescribe-workflowplancreate-sessionget-sessionlist-sessionsexecute-stepexecute-next
ワークフローセッションは不透明な sessionToken を返します。これは非公開にしてください。
設定
サーバーはドキュメントと探索のためにすぐに動作します。ライブAPI実行には、到達可能な製品サービスと、該当する場合はトークンまたはAPIキーが必要です。
設定ソース(優先順位順):
コマンドライン
--configまたは--config-file環境変数
./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プラットフォームのグローバル設定パス
設定を対話的に作成または更新する:
npx -y -p @lerianstudio/lerian-mcp-server@latest lerian-mcp-config一般的な環境変数:
LERIAN_DOCS_URL=https://docs.lerian.studio
LOG_LEVEL=info
MIDAZ_ONBOARDING_URL=http://localhost:3000
MIDAZ_TRANSACTION_URL=http://localhost:3001
MIDAZ_CRM_URL=http://localhost:3002
MIDAZ_LEDGER_URL=http://localhost:3003
MIDAZ_AUTH_TOKEN=...
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=...安全性モデル
ライブ実行は、製品固有の
*-executeツールを通じてオプトインされます。変更を伴うメソッドには、明示的な確認と変更理由が必要です。
製品APIのベースURLは
httpまたはhttpsを使用する必要があります。ローカルホスト以外のHTTP URLは拒否されます。ローカル開発環境以外ではHTTPSが必須です。
認証情報が埋め込まれたURLは拒否されます。
認証およびAPIキーヘッダーは、任意のオーバーライドから保護されます。
バイナリのアップロードおよびダウンロードサイズは、設定可能な制限によって制限されます。
シークレットは、必要な場合に
~/.lerian/secrets.jsonの下にローカルで生成および管理されます。
会話例
ポートフォリオ探索
あなた: 「このMCPはどのLerian製品をサポートしていますか?」
AI: product="all", operation="discover" を指定して lerian を使用します。
学習パス
あなた: 「Tracerは初めてです。検証ルールがどのように機能するか教えてください。」
AI: product="tracer", operation="learn", topic="rules" を指定して lerian を使用します。
SDK例
あなた: 「Midaz元帳を作成するためのGoコードを見せてください。」
AI: product="midaz", operation="sdk", language="go" を指定して lerian を使用します。
ライブAPIコントラクト探索
あなた: 「Reporterテンプレートを作成するためのコントラクトを検査してください。」
AI: reporter-execute を呼び出す前に reporter-discover を使用します。
製品横断ワークフロー
あなた: 「レポートを生成する前に、Fetcherマッピングを検証する手順をガイドしてください。」
AI: workflow="fetcher-to-reporter" を指定して portfolio-workflow を使用します。
開発
Node.js >=20.19.0 が必要です。
npm ci
npm run build
npm test便利なスクリプト:
npm run dev:ts-nodeでTypeScriptエントリポイントを実行します。npm run build:dist/にコンパイルし、バイナリを実行可能にします。npm run lint: ESLintを実行します。npm run typecheck: ファイルを出力せずにTypeScriptを実行します。npm test: ノードテストと基本的なサーバーテストを実行します。npm run docs:docs/にTypeDoc出力を生成します。
ドキュメント
パッケージ情報
npmパッケージ:
@lerianstudio/lerian-mcp-server現在のパッケージバージョン:
3.4.0ランタイム: Node.js ESM
MCP SDK:
@modelcontextprotocol/sdkライセンス: Apache-2.0
アーキテクチャの概要
MCP Client
-> stdio transport
-> McpServer from @modelcontextprotocol/sdk
-> core tools and prompts
-> product adapters
-> product routers and schema registries
-> configured Lerian product APIs主要なレイヤー:
トランスポート: stdio経由のMCP JSON-RPC。
サーバーブートストラップ: セキュリティ、シークレット、ドキュメントマニフェスト、ログ記録、クライアント検出。
コアツール:
lerianおよびportfolio-workflow。製品アダプター: サポートされている製品の探索/実行ペア。
スキーマレジストリ: APIサーフェスのリソース/アクションコントラクト。
HTTP実行: 検証済みのURL構築、リクエスト実行、レスポンス解析、およびエラー分類。
ワークフローオーケストレーション: ガイド付きのステートフルな製品横断フロー。
トラブルシューティング
サーバーが起動しない
Node.jsのバージョンを確認してください:
node --version手動で実行してください:
npx -y @lerianstudio/lerian-mcp-server@latestローカルのシークレットを確認してください:
ls -la ~/.lerian/secrets.jsonライブAPI呼び出しが失敗する
最初に製品の
*-discoverツールを使用してください。関連するベースURLとトークン/APIキーが設定されていることを確認してください。
ローカル以外のリモートURLでHTTPSが使用されていることを確認してください。
変更を伴う操作の場合は、
confirmMutation=trueとmutationReasonを含めてください。対象の製品サービスがMCPランタイムから到達可能かどうかを確認してください。
クライアントでツールが応答しない
設定変更後にMCPクライアントを再起動してください。
クライアントでMCPが有効になっていることを確認してください。
必要に応じて
LOG_LEVEL=debugでログ記録を有効にしてください。ログ記録が有効な場合は
./logs/を確認してください。
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to automatically create, update, and publish API documentation through Theneo's platform. Supports OpenAPI specs, Postman collections, AI-powered description generation, and natural language interactions for seamless documentation workflows.MIT
- FlicenseAqualityDmaintenanceProvides access to 600+ documentation libraries from DevDocs.io including Python, JavaScript, React, Django, and more. Enables searching, browsing, and retrieving documentation content directly through Claude Desktop.53
- FlicenseNot gradedqualityDmaintenanceProvides real-time retrieval of official documentation for LangChain, LlamaIndex, and OpenAI. It enables context-aware coding by fetching the latest API references and guides directly into Claude via the Model Context Protocol.
- AlicenseNot gradedqualityCmaintenanceProvides real-time, up-to-date documentation for major LLM providers (OpenAI, Anthropic, Google Gemini) to prevent hallucinations and outdated code patterns in AI agents.106MIT
Related MCP Connectors
@latest documentation and code examples to 9000+ libraries for LLMs and AI code editors in a singl…
Provide your AI coding tools with token-efficient access to up-to-date technical documentation for…
Provides AI assistants with direct access to Mapbox developer APIs and documentation.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/LerianStudio/lerian-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server