
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
lineai-intelligence/lineai-mcp-server は [https://github.com/lineai-intelligence/lineai-mcp-server.] からインポートされた MCP サーバーの候補です
概要
lineai-intelligence/lineai-mcp-server は [https://github.com/lineai-intelligence/lineai-mcp-server.] からインポートされた MCP サーバーの候補です
概要(AI 翻訳)
MCP Server は、AI プログラミングアシスタントで Lineai の豊富なソフトウェア依存データを活用します。
ドキュメント
docs/ にコード由来のアーキテクチャのドキュメントが住んでいます (追加)
LIN-737;LIN-699の変更のために更新 - PR #61 / neo4cape #1860:
- docs/architecture.md — 完全なアーキテクチャ分析:モジュールマップ、ツールサーフェス、Lineai [
/api/...]は、各ツールコール、authフロー、キャッシュ、エラー処理の分類、構成、パッケージ/リリース、および検索をエンドポイントします。 - docs/architecture-diagrams.md — 人魚図セット(エコシステム、モジュールマップ、コールシーケンス、auth/caching、エラー分類)。
- docs/rendered-diagrams/ — すべての図のSVGレンダーをコミットしました。
コンポーネント
ツール
サーバは、eight* ツールを実装します。2つのインパクトツールと、Lineai グラフ HTTP API がバックアップする 6 ** グラフ** ツール。
コード解析ツール
- lineai方法影響: お使いのコードのLineaiサーバーのAPIからインパクト評価を引き出します。
- あなたが取り組んでいる与えられた「方法」を取ります。 “class” で十分に修飾されたクラス名を渡します(例えば `com.acme. シェル.
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
lineai-mcp-server
An MCP Server to utilize Lineai’s rich software dependency data in your AI programming assistant.
Documentation
Code-derived architecture documentation lives in docs/ (added in
LIN-737; updated for the LIN-699 changes — PR #61 / neo4cape #1860):
- docs/architecture.md — full architecture analysis: module map, tool surface and the Lineai
/api/...endpoints each tool calls, auth flow, caching, error-handling taxonomy, configuration, packaging/release, and findings. - docs/architecture-diagrams.md — Mermaid diagram set (ecosystem, module map, call sequence, auth/caching, error taxonomy).
- docs/rendered-diagrams/ — committed SVG renders of every diagram.
Components
Tools
The server implements eight tools: two impact tools plus six graph tools backed by the Lineai graph HTTP API.
Code Analysis Tools
- lineai-method-impact: Pulls an impact assessment from the Lineai server’s APIs for your code.
- Takes the given “method” that you’re working on. Pass the fully-qualified class name in “class” (e.g.
com.acme.shell.AnalyzeCommands) when the simple name may exist in several repositories: a fully-qualified class selects exactly that class, while a simple name that matches several classes returns an ambiguity page listing the candidates instead of silently analyzing another repository’s class. - The impact is a bounded upstream traversal from the Lineai graph impact endpoint (
depthargument, default 3, max 10). The report’s Impact scope section says where the data came from (graph, or the legacy full-chain endpoint when the graph endpoint is not deployed) and whether it is complete (ok) or a lower bound (partial) — a partial result is never “no impact”.
- Takes the given “method” that you’re working on. Pass the fully-qualified class name in “class” (e.g.
- lineai-database-impact: Analyzes impacts between code and database entities.
- Takes the database entity type (column, table, or view) and its name.
All eight tools also accept optional workspace and materialized_view_id arguments to scope a single call; when neither is given (and LINEAI_WORKSPACE_NAME is unset) the server’s default workspace’s latest materialized view is used automatically.
Graph API tools
These call POST / GET endpoints under /api/ai-retrieval/graph/ on the same host as LINEAI_SERVER_HOST, using the same session auth as other MCP tools. If graph routes are not deployed, the server returns a clear “graph not available” style message (often after HTTP 404).
- lineai-graph-capabilities:
GET— discover supported relationship types, limits, and flags for the workspace materialized view (materializedViewIdresolved like every other tool: explicit id →workspaceargument →LINEAI_WORKSPACE_NAME→ server default).
インストール
uvx lineai-mcp-server@latest設定
{
"mcpServers": {
"lineai-mcp-server": {
"type": "stdio",
"command": "<PATH_TO_UV>/uv",
"args": [
"--directory",
"<PATH_TO_THIS_REPO>/lineai-mcp-server-main",
"run",
"lineai-mcp-server"
],
"env": {
"LINEAI_SERVER_HOST": "<url to the server e.g. https://myco.app.lineai.net>",
"LINEAI_USERNAME": "<my username>",
"LINEAI_PASSWORD": "<my password>",
"LINEAI_WORKSPACE_NAME": "<my workspace>",
"LINEAI_DEBUG_MODE": "true"
}
}
}
}