# magento2-lsp

> magento2-lsp — mage-os-lab-magento2-lsp. Use this tool when you need to enhance your Magento 2 development workflow with features like go-to-definition, references, and rename functionality across PHP, XML, and layout files. It solves problems related to code navigation and refactoring, providing a seamless coding experience. Ideal for use in git-based projects, it streamlines development tasks and improves overall productivity.

Canonical page: https://skillsregistry.net/skills/mage-os-lab-magento2-lsp  
JSON: https://api.skillsregistry.net/v1/skills/mage-os-lab-magento2-lsp

## Description

Language Server (LSP) and MCP server for Magento 2 - provides go-to-definition, references,  and rename across PHP, XML, and layout files.

## Trust

- **Trust score (0–1):** 0.65
- **Verification tier:** scanned
- **Last scanned:** 2026-08-26

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** container
- **Runtime environment:** vm
- **Category:** file-system
- **Updated:** 2026-09-20

## Source

- **Source listing:** [GitHub](https://github.com/mage-os-lab/magento2-lsp)

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "mage-os-lab-magento2-lsp"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/mage-os-lab-magento2-lsp` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/mage-os-lab-magento2-lsp/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
