An MCP Server to utilize Lineai's rich software dependency data in your AI programming assistant.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
An MCP Server to utilize Lineai's rich software dependency data in your AI programming assistant.
The server implements eight tools: two impact tools plus six graph tools backed by the Lineai graph HTTP API.
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).
GET β discover supported relationship types, limits, and flags for the workspace materialized view (materializedViewId defaults from LINEAI_WORKSPACE_NAME like other tools).query / q and/or identity_prefix; optional scan_space, limit, etc.seed_node_ids.from_node_id and to_node_id.proposed_change_summary.node_id or identity_prefix and surface property fields whose names contain "owner".Tool arguments accept snake_case aliases (for example materialized_view_id, seed_node_ids) where noted in the MCP schema; request bodies sent to Lineai use camelCase JSON keys.
The MCP server relies upon Astral UV to run, please install
There is a known issue with uvx on MacOS where the Lineai MCP server may fail to launch in certain IDEs (such as Cursor), resulting in errors like:
See issue #11
This appears to be a problem with Astral uvx running on MacOS. The following can be used as a workaround:
mcp.json to use uv instead of uvx. For example:lineai-mcp-server.To configure this MCP server in VS Code:
First, ensure you have GitHub Copilot agent mode enabled in VS Code.
Create a .vscode/mcp.json file in your workspace with the following configuration:
Note: On some systems, you may need to use the full path to the uvx executable instead of just "uvx". For example:
/home/user/.local/bin/uvxon Linux/Mac orC:\Users\username\AppData\Local\astral\uvx.exeon Windows.
Alternatively, you can run the MCP: Add Server command from the Command Palette and provide the server information.
To manage your MCP servers, use the MCP: List Servers command from the Command Palette.
Once configured, the server's tools will be available to Copilot agent mode. You can toggle specific tools on/off as needed by clicking the Tools button in the Chat view when in agent mode.
To use the Lineai tools in agent mode, you can specifically ask about code impacts or database relationships, and the agent will utilize the appropriate tools.
Configure Claude Desktop by editing the configuration file:
~/Library/Application\ Support/Claude/claude_desktop_config.json%APPDATA%/Claude/claude_desktop_config.json~/.config/Claude/claude_desktop_config.jsonAdd the following to your configuration file:
Note: On some systems, you may need to use the full path to the uvx executable instead of just "uvx". For example:
/home/user/.local/bin/uvxon Linux/Mac orC:\Users\username\AppData\Local\astral\uvx.exeon Windows.
After adding the configuration, restart Claude Desktop to apply the changes.
To run this MCP server with Windsurf IDE:
Configure Windsurf IDE:
To configure Windsurf IDE, you need to create or modify the ~/.codeium/windsurf/mcp_config.json configuration file.
Add the following configuration to your file:
Note: On some systems, you may need to use the full path to the uvx executable instead of just "uvx". For example:
/home/user/.local/bin/uvxon Linux/Mac orC:\Users\username\AppData\Local\astral\uvx.exeon Windows.
After adding the configuration, restart Windsurf IDE or refresh the tools to apply the changes.
To configure the Lineai MCP server in Cursor:
.cursor/mcp.json file:Note: On some systems, you may need to use the full path to the uvx executable instead of just "uvx". For example:
/home/user/.local/bin/uvxon Linux/Mac orC:\Users\username\AppData\Local\astral\uvx.exeon Windows.
The Lineai MCP server tools will now be available in your Cursor workspace.
To help the AI assistant use the Lineai tools effectively, you can add the following instructions/rules to your client's configuration. We recommend customizing these instructions to align with your team's specific coding standards, best practices, and workflow requirements:
When the graph API is available on your Lineai host, extend your rules with the same guidance the server already advertises in its MCP instructions: use lineai-graph-* tools (search, impact, path-explain, validate-change-scope, owners, capabilities) for bounded graph discovery; if graph calls fail with βnot availableβ, fall back to lineai-method-impact / lineai-database-impact.
Create a .vscode/copilot-instructions.md file with the following content:
Create a file ~/.claude/instructions.md with the following content:
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/lineai-mcp-server)<a href="https://allmcps.com/mcp/lineai-mcp-server"><img src="https://allmcps.com/api/badge/lineai-mcp-server?style=directory" alt="Lineai MCP Server on AllMCPs" /></a>