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
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.
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 impactLimitations
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.
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. |
Security check
- Calls an external Lineai server holding data about your code
- Keeps an account password in config
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.
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.
Related
A skills library that gives coding agents a development process: brainstorming, planning, TDD, subagents and code review
Skills for real engineers by Matt Pocock
Skills For Real Engineers
Small composable skills for engineering with agents: plan grilling, TDD, bug diagnosis, code review and architecture
GitHub toolkit for spec-driven development: the specify CLI adds agent commands and skills to a project, from principles to implementation
Reference MCP servers
Model Context Protocol servers
Official reference MCP servers: Filesystem, Fetch, Git, Memory, Sequential Thinking, Time and Everything