MCP Directory

How to add CodeLogic MCP Server to Cursor

Bring CodeLogic's software dependency and impact-analysis data into your AI coding assistant. Paste the config into ~/.cursor/mcp.json and restart Cursor.

Last updated June 14, 2026 · 36 · stdio · apikey

Cursor config for CodeLogic MCP Server

uvx codelogic-mcp-server@latest
{
  "mcpServers": {
    "codelogic-mcp-server": {
      "command": "uvx",
      "args": [
        "codelogic-mcp-server@latest"
      ],
      "env": {
        "CODELOGIC_SERVER_HOST": "<url to the server e.g. https://myco.app.codelogic.com>",
        "CODELOGIC_USERNAME": "<my username>",
        "CODELOGIC_PASSWORD": "<my password>",
        "CODELOGIC_WORKSPACE_NAME": "<my workspace>"
      }
    }
  }
}

Requires `uv` (the Python package runner). Install it from https://docs.astral.sh/uv/ if `uvx` is not found.

Setup steps

  1. 1Open Cursor → Settings → MCP → Add new MCP server (or edit ~/.cursor/mcp.json directly).
  2. 2Paste the CodeLogic MCP Server config below into the "mcpServers" object.
  3. 3Fill in placeholder secrets, then save.
  4. 4Cursor reloads MCP servers automatically — check Settings → MCP for a green status dot.
  5. 5Ask Cursor to use one of CodeLogic MCP Server's tools to confirm it's connected.

Before you start

  • Astral UV installed (uvx/uv)
  • Access to a CodeLogic server instance
  • CodeLogic credentials: server host, username, password, and workspace name
  • For graph tools: a CodeLogic deployment serving graph endpoints under /codelogic/server/ai-retrieval/graph/ (CodeLogic API 25.10.0+ recommended for server version 0.4.0+)

What CodeLogic MCP Server can do in Cursor

codelogic-method-impact

Pulls an impact assessment from CodeLogic's APIs for a given method and its associated class that you are working on.

codelogic-database-impact

Analyzes impacts between code and database entities, given a database entity type (column, table, or view) and its name.

codelogic-docker-agent

Generates Docker agent configurations for CodeLogic scanning in CI/CD pipelines; supports .NET, Java, SQL, and TypeScript agents and Jenkins, GitHub Actions, Azure DevOps, and GitLab CI.

codelogic-build-info

Generates build information and send commands for CodeLogic integration, supporting Git info, build logs, and metadata collection with Docker and standalone usage examples.

codelogic-pipeline-helper

Generates complete CI/CD pipeline configurations for CodeLogic integration, including error handling, notifications, and scan space management strategies.

codelogic-graph-capabilities

GET — discovers supported relationship types, limits, and flags for the workspace materialized view (materializedViewId defaults from CODELOGIC_WORKSPACE_NAME).

codelogic-graph-search

Searches graph nodes by text query / q and/or identity_prefix, with optional scan_space, limit, and other filters.

codelogic-graph-impact

Performs dependency / blast-radius style traversal from a set of seed_node_ids.

Security

Requires CodeLogic credentials (CODELOGIC_USERNAME and CODELOGIC_PASSWORD) supplied as plaintext environment variables in your MCP client config; protect that config file. Connects to your own CodeLogic server host (CODELOGIC_SERVER_HOST). Setting CODELOGIC_DEBUG_MODE=true writes debug files (timing_log.txt, impact_data_*.json) to the system temp directory. The CodeLogic Cursor rule recommends running the tools only on Java, JavaScript, TypeScript, and C#/.NET codebases. Requires Astral UV to be installed.

CodeLogic MCP Server + Cursor FAQ

Where is the Cursor config file?

Cursor reads MCP servers from ~/.cursor/mcp.json. Paste the CodeLogic MCP Server config there under the "mcpServers" key and restart the client.

Is CodeLogic MCP Server safe to use with Cursor?

Requires CodeLogic credentials (CODELOGIC_USERNAME and CODELOGIC_PASSWORD) supplied as plaintext environment variables in your MCP client config; protect that config file. Connects to your own CodeLogic server host (CODELOGIC_SERVER_HOST). Setting CODELOGIC_DEBUG_MODE=true writes debug files (timing_log.txt, impact_data_*.json) to the system temp directory. The CodeLogic Cursor rule recommends running the tools only on Java, JavaScript, TypeScript, and C#/.NET codebases. Requires Astral UV to be installed.

Which IDEs and clients are supported?

The README provides config for Claude Desktop, Cursor, Windsurf, and VS Code (GitHub Copilot agent mode), each using the uvx-launched stdio server.

What credentials does it need?

Set CODELOGIC_SERVER_HOST, CODELOGIC_USERNAME, CODELOGIC_PASSWORD, and CODELOGIC_WORKSPACE_NAME as environment variables. CODELOGIC_DEBUG_MODE=true is optional and enables debug file output.

Why might the graph tools return a 'not available' error?

Graph tools require your CodeLogic deployment to serve endpoints under /codelogic/server/ai-retrieval/graph/. Older or partial deployments return HTTP 404, which the tools surface as a clear error; fall back to codelogic-method-impact / codelogic-database-impact.

View repo Full CodeLogic MCP Server page