Lineai MCP Server

lineai-mcp-server

MCP server for the Lineai platform (formerly CodeLogic): impact analysis of code and database changes from a dependency graph

  • 37 ★ on the repository
  • Last commit
  • MPL-2.0
MCP serverOfficial

Extended access

Why this level

  • Calls an external Lineai server holding data about your code
  • Keeps an account password in config
All reasons and checks

lineai-intelligence/lineai-mcp-server

Install

Manual install

{
  "mcpServers": {
    "lineai-mcp-server": {
      "command": "uvx",
      "args": ["lineai-mcp-server@latest"],
      "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>"
      }
    }
  }
}

Requires Astral uv. In VS Code the top-level key is servers, in .vscode/mcp.json. A full path to uvx may be needed.

Access and checks

How we review

Extended accessThe tool runs code or makes network calls and only reads external data.

  • Calls an external Lineai server holding data about your code
  • Keeps an account password in config

This is third-party code. Review the repository files before installing.

What it does

The server connects the agent to dependency data that the Lineai platform collects from your code and databases. Before editing a method the agent gets an impact assessment: what calls it and what may break. Another tool shows links between code and database tables, columns or views. If the graph API is enabled, the agent searches nodes, computes blast radius, explains the path between two nodes, validates the scope of a proposed change and finds component owners.

Who it is for. For teams already using Lineai or CodeLogic for dependency analysis in large codebases.

Good fit when

  • You need the consequences of changing a method in a large legacy system
  • You need to see which code a column or table change affects
  • You need to find a component's owners before editing it

Not a fit when

  • You have no Lineai server; the tools are useless without it
  • A small project where dependencies are visible via code search

Example request

Before changing calculateTotal in OrderService, show what the change will impact

MCP

Transport
stdio
Authentication
API key

Environment variables

LINEAI_SERVER_HOST required
Lineai server URL.
LINEAI_USERNAME required
Lineai username.
LINEAI_PASSWORD required, secret
Lineai password.
LINEAI_WORKSPACE_NAME required
Workspace name.
LINEAI_DEBUG_MODE
Enables debug mode.

Limitations

Works only with a deployed commercial Lineai platform; requires a server URL, username, password and workspace. Graph tools work only if the server has the graph API enabled. On macOS launching via uvx fails in some editors; the README gives a workaround via clone and uv. The repository was renamed to lineai-intelligence/lineai-mcp-server.

How to disable. Remove the lineai-mcp-server block from your MCP config and the Lineai rules from the agent instructions.

FAQ

What if the server fails to start in Cursor on macOS?

Clone the repository and set the mcp.json command to uv with --directory, the repo path, run and lineai-mcp-server.

Do I need agent rules?

The README recommends rules so the agent runs impact analysis before changing methods and databases, with examples for VS Code and Cursor.

Discussion

No questions or reviews yet.

An MCP server that builds a code graph of functions, classes, calls and routes and answers the agent's structural queries locally

MCP serverExtended access48.6KRepository stars

DevLens analyzes a repo once and serves agents ranked files, call flow and change impact over MCP, no file-by-file reading

MCP serverExtended access70Repository stars

An MCP server that builds a code graph once and serves the answer to the agent instead of re-reading files

MCP serverExtended access204Repository stars
Official

The CodeAlive MCP server: the agent searches large codebases by meaning and exactly and follows call relations without a full read

MCP serverExtended access91Repository stars

An MCP to LSP bridge: the agent gets types, references, diagnostics and refactoring from rust-analyzer, pyright and gopls.

MCP serverExtended access81Repository stars
Official

A local code graph with version history: an MCP server that tells the agent who calls a function and what an edit breaks

MCP serverExtended access516Repository stars

README in short

The README documents eight tools: two impact tools and six graph tools. Installation needs Astral uv, with uvx configs for VS Code, Claude Desktop, Windsurf and Cursor and a macOS workaround. A separate section provides ready agent rules. MPL 2.0 licensed.

README badge

Report a problem