# Connect LGTM Security to Your AI Agent (Universal MCP)

> Use your AI to audit security, track issues, and build software in LGTM Security — and much more.

## Quick Connect (CLI / MCP)
- Claude Code: `claude mcp add --transport http lgtm-security https://api.universalmcp.app/mcp/lgtm-security`
- Remote MCP URL (ChatGPT, Claude, Cursor, VS Code): `https://api.universalmcp.app/mcp/lgtm-security` (unified: `https://api.universalmcp.app/mcp`)
- Actions & Discovery: `POST https://universalmcp.app/mcp/directory` (`get_software_actions({ slug: "lgtm-security", query })` & `search_software`); configs: https://universalmcp.app/install.md

## Key Facts
- Software: LGTM Security | Category: DevOps & IT/Security (LGTM) | Auth: OAuth 2.1 (1-click sign-in)
- Pricing: 100% Free (unlimited users, unlimited software, zero task metering)
- Permissions & Security: Per-person, per-area Off/Read/Write across Pull requests and scans, Org policy and RBAC, Comments and merges; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://app.universalmcp.app/connect?system=lgtm-security | Guide: https://universalmcp.app/mcp/lgtm-security
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (3 actions: 0 Read, 3 Write)
Perform 3 actions across pull requests and scans, org policy and RBAC, and comments and merges. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Pull requests and scans (1):** Pull requests and scans (write)
- **Org policy and RBAC (1):** Org policy and RBAC (write)
- **Comments and merges (1):** Comments and merges (write)

## Example Prompts for LGTM Security
- **Open PR findings:** "List open GitHub pull requests with CI/CD detector findings, grouped by severity and repository, in LGTM Security."
- **Role policy check:** "Show which org policy rules and 4-role RBAC settings apply to the Cedar Ridge Labs repositories in LGTM Security."
- **Detector trends:** "Compare detector hit counts across GitHub Actions, GitLab CI, and CircleCI for the past two weeks in LGTM Security."
- **PR comment (guarded):** "Draft a review comment for the auth middleware PR explaining the high severity fix, and wait for my approval before posting."
