LI

lineai-intelligence/lineai-mcp-server

Developer tools공식

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

37 stars 15 forks 품질 88 트렌드 14MPL-2.0

lineai-intelligence/lineai-mcp-server는 MCP 서버 후보자가 https://github.com/lineai-intelligence/lineai-mcp-server.에서 수입되었습니다

개요

lineai-intelligence/lineai-mcp-server는 MCP 서버 후보자가 https://github.com/lineai-intelligence/lineai-mcp-server.에서 수입되었습니다

개요(AI 번역)

MCP Server는 AI 프로그래밍 보조에 Lineai의 풍부한 소프트웨어 의존성 데이터를 활용합니다.

문서

Code-derived Architecture 문서는 docs/]에 있습니다. LIN-737; LIN-699 변경에 대한 업데이트 - PR #61 / neo4cape #1860) :

  • docs/architecture.md - 전체 아키텍처 분석 : 모듈 맵, 도구 표면 및 Lineai /api/... 엔드포인트 각 도구 호출, 오흐름, 캐싱, 오류 처리 세율, 구성, 포장 / 해제, 발견.
  • docs/architecture-diagrams.md - Mermaid 다이어그램 세트 (ecosystem, 모듈 맵, 호출 순서, auth/caching, 오류 taxonomy).
  • docs/rendered-diagrams/ - 모든 다이어그램의 SVG 렌더링을 약속합니다.

부품

도구

서버는 ** eight** 도구를 구현합니다: 2개의 충격 도구와 6 ** graph** 도구는 Lineai graph HTTP API에 의해 백업됩니다.

코드 분석 도구

  • lineai-method-impact: 코드에 대한 Lineai 서버의 APIs의 영향 평가를 잡아.
  • 당신이 일하는 주어진 "method"를 가지고. fully-qualified 클래스 이름을 “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 (depth argument, 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”.
  • 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 (materializedViewId resolved like every other tool: explicit id → workspace argument → LINEAI_WORKSPACE_NAME → server default).
GitHub에서 전체 README 보기

설치

uvx lineai-mcp-server@latest
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "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" } } } }