Atlas / MCP servers / codelogicincengineering / Codelogic

CodelogicSAFE

mcp/codelogicincengineering/codelogic

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

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
8 8r · 0w · 0d
Transport
stdio
License
MPL-2.0
Stars
37
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

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

Documentation

Code-derived architecture documentation lives in docs/ (added in LIN-737; updated for the LIN-699 changes — PR #61 / neo4cape #1860):

  • docs/architecture.md — full architecture analysis: module map, tool surface and the Lineai /api/... endpoints each tool calls, auth flow, caching, error-handling taxonomy, configuration, packaging/release, and findings.
  • docs/architecture-diagrams.md — Mermaid diagram set (ecosystem, module map, call sequence, auth/caching, error taxonomy).
  • docs/rendered-diagrams/ — committed SVG renders of every diagram.

Components

Tools

The server implements eight tools: two impact tools plus six graph tools backed by the Lineai graph HTTP API.

Code Analysis Tools

  • lineai-method-impact: Pulls an impact assessment from the Lineai server's APIs for your code.
  • Takes the given "method" that you're working on; "class" is optional (a case-insensitive filter used when several matches exist).
  • lineai-database-impact: Analyzes impacts between code and database entities.
  • Takes the database entity type (column, table, or view) and its name.

All eight tools also accept optional workspace and materialized_view_id arguments to scope a single call; when neither is given (and LINEAI_WORKSPACE_NAME is unset) the server's default workspace's latest materialized view is used automatically.

Graph API tools

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).

  • lineai-graph-capabilities: GET —
Read from source at commit 50c1f0bc6156OBSERVED · 2026-10-08
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code (pypi)
claude mcp add lineai-mcp-server --env LINEAI_PASSWORD=${LINEAI_PASSWORD} -- None lineai-mcp-server==1.3.2
03

Exposed tools (8)

8 read · 0 write · 0 destructive.

ToolRiskDescription
lineai-database-impactreadAnalyze impacts between code and database entities.\n
lineai-graph-capabilitiesreadFetch graph API capabilities/manifest from the Lineai server (GET).
lineai-graph-impactreadBounded graph impact from seed node ids (curated HTTP API).
lineai-graph-ownersreadLook up owners/reviewers for a graph node (curated HTTP API).
lineai-graph-path-explainreadExplain bounded paths between two graph nodes (curated HTTP API).
lineai-graph-searchreadSearch the Lineai knowledge graph (curated HTTP API).
lineai-graph-validate-change-scopereadValidate whether a proposed change scope is safe given seed graph nodes (curated HTTP API).
lineai-method-impactreadAnalyze impacts of modifying a specific method within a given class or type.\n
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
none-observed
Network
declared (5 observation(s))
Shell
none-observed
Dependencies
pinned
Secrets in source
none-found

Findings (6)

LOWInventory / provenance · inv.hidden_file · CWE-1104
.flake8
.flake8
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
test/.env.test.example
.env.test.example
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWPrompt injection · prompt.authority_framing · CWE-94, CWE-1427
context/Python-MCP-SDK.md:1661
For more control, you can use the low-level server implementation directly. This gives you full access to the protocol and allows you to customize every aspect of your server, including lifecycle mana
LOWPrompt injection · prompt.credential_read · CWE-94, CWE-1427
context/graph-mcp-tooling-ideas.md:212
- Load real credentials via **`test/.env.test`** or project **`.env`** (see `load_test_config()` in `test/integration_test_all.py`).
Why it matters. asks the agent to read credentials
LOWPrompt injection · prompt.transfer_instruction · CWE-94, CWE-1427
README.md:30
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 ser
Why it matters. an instruction to move sensitive data to an outside destination
Fix. remove; a skill never needs the user's secrets off the machine
INFOInventory / provenance · inv.oversize · CWE-1104
context/llms-full.txt
context/llms-full.txt
Why it matters. 1602773 bytes not read

Gates applied: no_behavioural_pass.

Audited 2026-10-08 · audit v0.4.1 · source sha 50c1f0bc6156full audit observations/trust-audit/mcp-server/codelogicincengineering__codelogic.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-0850c1f0bc6156SAFEB89first audit
06

Questions

What is the Codelogic MCP server?

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

What tools does Codelogic expose?

8 in total: 8 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is Codelogic safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.

What credentials does Codelogic need?

It reads LINEAI_PASSWORD and LINEAI_TOKEN_CACHE_TTL from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How does Codelogic run?

It speaks stdio, so it runs as a local process your client starts. It is published on PyPI as lineai-mcp-server.

How current is this page?

The grade is for one exact copy of the source (50c1f0bc6156), read on 2026-10-08. The repository is watched and re-audited when it changes.

Advertisement