# CodeLogicIncEngineering/codelogic-mcp-server [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/CodeLogicIncEngineering/codelogic-mcp-server  
**GitHub Stars:** 37  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/codelogicincengineering-codelogic-mcp-server

## Description
Official MCP server for CodeLogic, providing access to code dependency analytics, architectural risk analysis, and impact assessment tools.

## Tools
Capabilities this server exposes over MCP:

- **lineai-method-impact** — Pulls an impact assessment from the Lineai server's APIs for your code.
- **lineai-database-impact** — Analyzes impacts between code and database entities.
- **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).
- **lineai-graph-search** — Search nodes by text `query` / `q` and/or `identity_prefix`; optional `scan_space` (scan space id or display name), `prefer_latest_scan`, `limit`. Results are **ranked by the server** (exact short name → exact fully-qualified name → class-like labels → text score → newest scan) and `data.hits[i]` d…
- **lineai-graph-impact** — Bounded dependency / blast-radius traversal from `seed_node_ids` with `direction` (`upstream` = what depends on the seeds, `downstream`, `both`) and `depth` (server default 3, max 10). The response carries `status` (`ok` | `partial`), `truncated`, `nodeCount`, `staticAnalysisGap` and `assumptionsAp…
- **lineai-graph-path-explain** — Shortest-path style explanation between `from_node_id` and `to_node_id`.
- **lineai-graph-validate-change-scope** — Heuristic checklist / risk summary for a proposed change given seed nodes and `proposed_change_summary`.
- **lineai-graph-owners** — Resolve a node by `node_id` or `identity_prefix` and surface property fields whose names contain `"owner"`.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "codelogic-mcp-server": {
    "command": "uvx",
    "args": ["executable"],
    "env": {
      "LINEAI_SERVER_HOST": "",
      "LINEAI_USERNAME": "",
      "LINEAI_PASSWORD": "",
      "LINEAI_WORKSPACE_NAME": "",
      "LINEAI_DEBUG_MODE": ""
    }
  }
}
```

**Requires environment variables:** `LINEAI_SERVER_HOST`, `LINEAI_USERNAME`, `LINEAI_PASSWORD`, `LINEAI_WORKSPACE_NAME`, `LINEAI_DEBUG_MODE` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What CodeLogicIncEngineering/codelogic-mcp-server does

CodeLogicIncEngineering/codelogic-mcp-server connects an MCP-compatible coding assistant to Lineai’s software dependency data. It provides eight tools: two focused on impact analysis and six backed by the Lineai graph API. The tools help an agent inspect relationships around methods, database entities, and graph nodes before proposing or making changes.

The two code analysis tools cover different inputs. `lineai-method-impact` analyzes a method together with its class, while `lineai-database-impact` examines a database column, table, or view by entity type and name. These tools are suited to impact questions where the relevant code or database object is already known.

The graph tools support broader discovery. An agent can search nodes, traverse dependencies from seed nodes, explain a shortest path between nodes, inspect owner-like properties, check graph capabilities, or receive a heuristic risk summary for a proposed change.

## How it works

CodeLogicIncEngineering/codelogic-mcp-server runs as a stdio MCP process and calls Lineai HTTP APIs using the configured server host and session credentials. Graph requests use endpoints under `/api/ai-retrieval/graph/`; the materialized view is derived from the workspace setting unless a tool receives an explicit materialized view identifier. MCP arguments may use snake_case names such as `seed_node_ids`, while requests sent to Lineai use camelCase JSON fields.

Graph availability depends on the Lineai host. If the graph routes are not deployed, graph calls return a graph-unavailable style response, commonly following an HTTP 404. The advertised client guidance is to use the graph tools when available and fall back to the method or database impact tools when graph access is unavailable.

## Setup and configuration

CodeLogicIncEngineering/codelogic-mcp-server relies on Astral UV. Install UV first, then configure the server with `uvx lineai-mcp-server@latest`, or run a local checkout with `uv`. The required connection settings identify the Lineai host, user, password, and workspace:

- `LINEAI_SERVER_HOST`
- `LINEAI_USERNAME`
- `LINEAI_PASSWORD`
- `LINEAI_WORKSPACE_NAME`

`LINEAI_DEBUG_MODE` is shown as an optional configuration value in several examples. Configuration is documented for Claude Desktop, Cursor, Windsurf, and VS Code with GitHub Copilot agent mode. After editing the relevant MCP configuration, restart the client or refresh its MCP tools.

The documented workaround is to clone the project, invoke the full `uv` executable with the repository directory, and then refresh the client’s MCP configuration.

## Tools and capabilities

- `lineai-method-impact`: assess the impact of a method and its class.
- `lineai-database-impact`: assess relationships involving a column, table, or view.
- `lineai-graph-capabilities`: retrieve supported relationship types, limits, and flags.
- `lineai-graph-search`: find nodes by text or identity prefix, with optional scan and limit parameters.
- `lineai-graph-impact`: traverse dependencies or blast radius from seed node IDs.
- `lineai-graph-path-explain`: explain a shortest-style path between two nodes.
- `lineai-graph-validate-change-scope`: produce a heuristic checklist and risk summary for a proposed change.
- `lineai-graph-owners`: resolve a node and return property fields whose names contain `owner`.

As a 💻 Developer Tools listing, it fits workflows where an AI assistant needs repository architecture or database dependency context rather than only local file contents.

_Full upstream README: https://allmcps.com/mcp/codelogicincengineering-codelogic-mcp-server/readme_

