Skip to main content

Contributing

Adding a language is a small change: one manifest and one list entry.

1. Add the plugin​

Create plugins/<name>/.claude-plugin/plugin.json:

plugins/example-lsp/.claude-plugin/plugin.json
{
"name": "example-lsp",
"description": "Example language server for code intelligence",
"version": "1.0.0",
"author": {"name": "Your Name"},
"lspServers": {
"example-language-server": {
"command": "example-language-server",
"args": ["--stdio"],
"extensionToLanguage": {".ex": "example"}
}
}
}
  • Name the server key after the binary.
  • Use the language ID the server's own documentation lists. Do not guess it.
  • An unknown key inside a server config is a hard error, so stick to the documented fields.

2. List it in the marketplace​

Add an entry to .claude-plugin/marketplace.json:

{"name": "example-lsp", "source": "./plugins/example-lsp", "description": "Example language server for code intelligence"}

3. Validate​

claude plugin validate . --strict
claude plugin validate plugins/example-lsp --strict

4. Prove it works​

Install the plugin from a local marketplace, make a file with a deliberate error, and check that the server reports it:

claude plugin marketplace add ./
claude plugin install example-lsp@claude-lsp-plugins
claude --debug-file /tmp/claude-debug.log

Look for LSP server instance started: plugin:example-lsp:... and no program wasn't found line. If you add the local folder first, remove it before testing the git source. See Troubleshooting.

Releasing a change​

Bump version in the plugin's plugin.json. A fixed version can be served from cache.

Working on this site​

cd website
pnpm install
pnpm start # dev server on http://localhost:3000
pnpm build # production build, broken links fail the build

Deployment is manual. See website/DEPLOY.md in the repository.