mage-os-lab

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

11
0
100% credibility
Found Mar 30, 2026 at 11 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
TypeScript
AI Summary

A helper tool that improves navigation, suggestions, and error checking across configuration files and PHP code in Magento 2 projects for editors and AI assistants.

How It Works

1
🔍 Discover the smart helper

You find a handy tool that makes editing your online store's code much smoother and faster.

2
📥 Get it ready

Download the tool and prepare it on your computer so it's all set to use.

3
🖥️ Link to your editor

Connect it to your favorite code editor, and it starts understanding your store project right away.

4
📂 Open your store files

Load up your online store project, and watch it scan everything automatically.

5
Jump and complete effortlessly

Click on a config link to jump straight to the code, or type and get smart suggestions as you go.

6
Add AI smarts?
Yes, connect AI

Your AI now sees the full merged store setup and helps write better code.

➡️
Skip for now

Keep using the editor features alone — they're powerful on their own.

🚀 Code like a pro

Now you navigate configs and code instantly, catch mistakes early, and build your store faster.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 11 to 11 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is magento2-lsp?

This TypeScript language server protocol (LSP) and MCP server supercharges Magento 2 development in editors like VS Code, Zed, or Neovim. It delivers go-to-definition, references, rename, hovers, and completions across PHP, XML, and layout files—linking di.xml plugins to PHP methods or layout templates to .phtml sources. No more grepping scattered config; it indexes your project on open for instant navigation.

Why is it gaining traction?

Unlike generic PHP LSPs like Intelephense, it understands Magento's merged DI, events, ACL, and routes, tracing plugin chains or config paths across files. The MCP server exposes this intelligence to AI agents, solving github language model unavailable issues by feeding complete config views. Developers hook it via language server vscode settings or language server discord for seamless workflow.

Who should use this?

Magento 2 backend devs wrestling with module XML and PHP interlinks. Plugin/observer writers chasing references in large codebases. Teams using language server protocol vscode or Zed who want diagnostics for broken classes/templates without deploys.

Verdict

Grab it if you're deep in Magento—pairs with Phpactor for pro results, despite 11 stars and 1.0% credibility signaling early days. Solid README and editor setups make testing low-risk; watch github language statistics for 2025 ranking climbs.

(187 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.