lineai-mcp-server

v1.4.0
io.github.lineai-intelligence/lineai-mcp-server Checked 8 hours ago Published 1 month ago

An MCP Server to utilize Lineai's rich software dependency data in your AI programming assistant.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

lineai-method-impact

Analyze impacts of modifying a specific method within a given class or type. Scope resolution precedence: explicit `materialized_view_id` -> `workspace` (name) -> `LINEAI_WORKSPACE_NAME` environment variable -> the server's default workspace's latest materialized view (nothing specified is never an error while a default view exists). When the impact graph contains unresolved references (calls to symbols that could not be resolved inside the analyzed view), they are reported in a dedicated 'Unresolved References' section as dependency indicators. Recommended workflow: 1. Use this tool before im…

ParameterTypeDescription
method *stringName of the method being analyzed
classstringOptional name of the class containing the method (case-insensitive substring filter)
materialized_view_idstringOptional materialized view id; takes precedence over `workspace`
workspacestringOptional workspace (materialized view definition) name; overrides LINEAI_WORKSPACE_NAME

lineai-database-impact

Analyze impacts between code and database entities. Scope resolution precedence: explicit `materialized_view_id` -> `workspace` (name) -> `LINEAI_WORKSPACE_NAME` environment variable -> the server's default workspace's latest materialized view (nothing specified is never an error while a default view exists). Unresolved references found in the impact graphs are reported in a dedicated 'Unresolved References' section as dependency indicators. Recommended workflow: 1. Use this tool before implementing code or database changes 2. Search for the relevant database entity 3. Review the impact analys…

ParameterTypeDescription
entity_type *stringType of database entity to search for (column, table, or view)
name *stringName of the database entity to search for
materialized_view_idstringOptional materialized view id; takes precedence over `workspace`
table_or_viewstringName of the table or view containing the column (required for columns only)
workspacestringOptional workspace (materialized view definition) name; overrides LINEAI_WORKSPACE_NAME

lineai-graph-capabilities

Fetch graph API capabilities/manifest from the Lineai server (GET). Returns label and relationship metadata when the graph tier is deployed; otherwise explains missing routes. Scope resolution precedence: explicit `materialized_view_id` -> `workspace` (name) -> `LINEAI_WORKSPACE_NAME` environment variable -> the server's default workspace's latest materialized view (nothing specified is never an error while a default view exists).

ParameterTypeDescription
materializedViewIdstringAlias for materialized_view_id
materialized_view_idstringOptional materialized view id; takes precedence over `workspace`
workspacestringOptional workspace (materialized view definition) name; overrides LINEAI_WORKSPACE_NAME

lineai-graph-impact

Bounded graph impact from seed node ids (curated HTTP API). Optional `direction` (upstream|downstream|both), `depth`, `scan_space`, `workspace`, `materialized_view_id`. Scope resolution precedence: explicit `materialized_view_id` -> `workspace` (name) -> `LINEAI_WORKSPACE_NAME` environment variable -> the server's default workspace's latest materialized view (nothing specified is never an error while a default view exists).

ParameterTypeDescription
seed_node_ids *arrayGraph node ids to expand from
depthinteger
directionstring
materialized_view_idstringOptional materialized view id; takes precedence over `workspace`
scan_spacestring
workspacestringOptional workspace (materialized view definition) name; overrides LINEAI_WORKSPACE_NAME

lineai-graph-path-explain

Explain bounded paths between two graph nodes (curated HTTP API). Requires `from_node_id`, `to_node_id`; optional `max_depth`, `scan_space`, `workspace`, `materialized_view_id`. Scope resolution precedence: explicit `materialized_view_id` -> `workspace` (name) -> `LINEAI_WORKSPACE_NAME` environment variable -> the server's default workspace's latest materialized view (nothing specified is never an error while a default view exists).

ParameterTypeDescription
from_node_id *string
to_node_id *string
materialized_view_idstringOptional materialized view id; takes precedence over `workspace`
max_depthinteger
scan_spacestring
workspacestringOptional workspace (materialized view definition) name; overrides LINEAI_WORKSPACE_NAME

lineai-graph-validate-change-scope

Validate whether a proposed change scope is safe given seed graph nodes (curated HTTP API). Scope resolution precedence: explicit `materialized_view_id` -> `workspace` (name) -> `LINEAI_WORKSPACE_NAME` environment variable -> the server's default workspace's latest materialized view (nothing specified is never an error while a default view exists).

ParameterTypeDescription
proposed_change_summary *string
seed_node_ids *array
materialized_view_idstringOptional materialized view id; takes precedence over `workspace`
scan_spacestring
workspacestringOptional workspace (materialized view definition) name; overrides LINEAI_WORKSPACE_NAME

lineai-graph-owners

Look up owners/reviewers for a graph node (curated HTTP API). Provide `node_id` or `identity_prefix`. Scope resolution precedence: explicit `materialized_view_id` -> `workspace` (name) -> `LINEAI_WORKSPACE_NAME` environment variable -> the server's default workspace's latest materialized view (nothing specified is never an error while a default view exists).

ParameterTypeDescription
identity_prefixstring
materialized_view_idstringOptional materialized view id; takes precedence over `workspace`
node_idstring
scan_spacestring
workspacestringOptional workspace (materialized view definition) name; overrides LINEAI_WORKSPACE_NAME