lineai-mcp-server
v1.4.0An MCP Server to utilize Lineai's rich software dependency data in your AI programming assistant.
Values you need
| Variable | What it is | |
|---|---|---|
LINEAI_SERVER_HOST | required | url to the Lineai server e.g. https://myco.app.lineai.net |
LINEAI_USERNAME | required | Lineai server username |
LINEAI_PASSWORD | required secret | Lineai server password |
LINEAI_WORKSPACE_NAME | required | the workspace name that your code is scanned into |
LINEAI_DEBUG_MODE | optional | When enabled, additional debug files such as timing_log.txt and impact_data*.json will be generated. Defaults to false |
PyPI (uvx) discovery passed
Requires uv (https://docs.astral.sh/uv/)
Run in a terminal
claude mcp add lineai-mcp-server -e 'LINEAI_PASSWORD=<LINEAI_PASSWORD>' -e 'LINEAI_SERVER_HOST=<LINEAI_SERVER_HOST>' -e 'LINEAI_USERNAME=<LINEAI_USERNAME>' -e 'LINEAI_WORKSPACE_NAME=<LINEAI_WORKSPACE_NAME>' -- uvx lineai-mcp-server==1.4.0Add to
claude_desktop_config.json{
"mcpServers": {
"lineai-mcp-server": {
"args": [
"lineai-mcp-server==1.4.0"
],
"command": "uvx",
"env": {
"LINEAI_PASSWORD": "<LINEAI_PASSWORD>",
"LINEAI_SERVER_HOST": "<LINEAI_SERVER_HOST>",
"LINEAI_USERNAME": "<LINEAI_USERNAME>",
"LINEAI_WORKSPACE_NAME": "<LINEAI_WORKSPACE_NAME>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"lineai-mcp-server": {
"args": [
"lineai-mcp-server==1.4.0"
],
"command": "uvx",
"env": {
"LINEAI_PASSWORD": "<LINEAI_PASSWORD>",
"LINEAI_SERVER_HOST": "<LINEAI_SERVER_HOST>",
"LINEAI_USERNAME": "<LINEAI_USERNAME>",
"LINEAI_WORKSPACE_NAME": "<LINEAI_WORKSPACE_NAME>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "LINEAI_PASSWORD",
"id": "lineai-password",
"password": true,
"type": "promptString"
},
{
"description": "LINEAI_SERVER_HOST",
"id": "lineai-server-host",
"password": true,
"type": "promptString"
},
{
"description": "LINEAI_USERNAME",
"id": "lineai-username",
"password": true,
"type": "promptString"
},
{
"description": "LINEAI_WORKSPACE_NAME",
"id": "lineai-workspace-name",
"password": true,
"type": "promptString"
}
],
"servers": {
"lineai-mcp-server": {
"args": [
"lineai-mcp-server==1.4.0"
],
"command": "uvx",
"env": {
"LINEAI_PASSWORD": "${input:lineai-password}",
"LINEAI_SERVER_HOST": "${input:lineai-server-host}",
"LINEAI_USERNAME": "${input:lineai-username}",
"LINEAI_WORKSPACE_NAME": "${input:lineai-workspace-name}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.lineai-mcp-server]
command = "uvx"
args = ["lineai-mcp-server==1.4.0"]
env = { "LINEAI_PASSWORD" = "<LINEAI_PASSWORD>", "LINEAI_SERVER_HOST" = "<LINEAI_SERVER_HOST>", "LINEAI_USERNAME" = "<LINEAI_USERNAME>", "LINEAI_WORKSPACE_NAME" = "<LINEAI_WORKSPACE_NAME>" }For AI agents
- Ask the user for: LINEAI_SERVER_HOST, LINEAI_USERNAME, LINEAI_PASSWORD, LINEAI_WORKSPACE_NAME. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: lineai-method-impact, lineai-database-impact, lineai-graph-capabilities, lineai-graph-search, lineai-graph-impact, lineai-graph-path-explain, lineai-graph-validate-change-scope, lineai-graph-owners.
- If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.
Machine-readable: install.md · manifest.json