
Mpx Lsp
- 1 repo stars
- Updated June 25, 2026
- lidongsevenlee/sevenlee-claude-code-plugins
Add Mpx language-server integration for code intelligence when developing Mpx mini-program frontends.
About
Mpx-lsp integrates the Mpx language server (@mpxjs/language-server) into Claude Code. It brings code intelligence such as completion and diagnostics to Mpx frontend development.
- Mpx language-server integration
- Code intelligence
- @mpxjs/language-server
- Frontend tooling
Mpx Lsp by the numbers
- Data as of Jul 7, 2026 (Skillselion catalog sync)
/plugin marketplace add lidongsevenlee/sevenlee-claude-code-plugins/plugin install mpx-lsp@sevenlee-claude-code-pluginsAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| repo stars | ★ 1 |
|---|---|
| Last updated | June 25, 2026 |
| Repository | lidongsevenlee/sevenlee-claude-code-plugins ↗ |
What it does
Add Mpx language-server integration for code intelligence when developing Mpx mini-program frontends.
README.md
sevenlee-claude-code-plugins
A collection of Claude Code plugins providing language server integrations and development tools.
Plugins
| Plugin | Description | Version |
|---|---|---|
| mpx-lsp | Mpx language server integration for .mpx files |
0.1.0 |
Installation
Install the required language server before installing the Claude Code plugin:
npm install -g @mpxjs/language-server
which mpx-language-server
The mpx-lsp plugin starts the mpx-language-server executable from your
PATH, so the second command must print a path. If it does not, make sure your
npm global binary directory is included in PATH.
Then make Claude Code aware of this marketplace:
- Run
claude /plugin marketplace add https://github.com/lidongsevenlee/sevenlee-claude-code-plugins
Enable the plugins of your choice:
- Run
claude - Type
/plugins - Tab to
Marketplaces - Enter the
sevenlee-claude-code-pluginsmarketplace and chooseBrowse plugins - Select the plugins you'd like with the spacebar (e.g. mpx-lsp)
- Press "i" to install them
- Restart Claude Code
After restarting, open a project that contains .mpx files. Claude Code should
start mpx-language-server automatically for those files.
mpx-lsp
Provides intelligent language features for Mpx.js single-file components in Claude Code.
Features
- Diagnostics and type checking for
.mpxfiles - TypeScript/JavaScript intellisense
- Go-to-definition, find references, hover
- Auto-completions and code actions
Requirements
@mpxjs/language-serverinstalled globally, which provides thempx-language-servercommandmpx-language-serveravailable inPATH- TypeScript available in your project at
node_modules/typescript/lib
Plugin Configuration Reference
The following configuration is bundled inside the mpx-lsp plugin. Users do
not need to create or copy this file during installation; it is shown here only
for maintainers and troubleshooting.
{
"mpx": {
"command": "mpx-language-server",
"args": ["--stdio"],
"transport": "stdio",
"extensionToLanguage": { ".mpx": "mpx" },
"maxRestarts": 3
}
}
Troubleshooting
mpx-language-server: command not found: install@mpxjs/language-serverglobally and verifywhich mpx-language-serverprints a path.- The plugin is installed but
.mpxfiles do not get language features: restart Claude Code and reopen the project. - TypeScript-related errors: run
npm installin the Mpx project so local dependencies, including TypeScript, are available.
Contributing
To add a new plugin, create a directory with its .lsp.json config and register it in .claude-plugin/marketplace.json.
License
MIT
Author
lidongsevenlee (lidongsevenlee@gmail.com)