lsp-setup

Install and configure Copilot CLI LSP servers with JSON configs.

Updated Mar 11, 2026
One-click install
npx skills add https://github.com/selfagency/agentsy --skill lsp-setup-selfagency
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lsp-setup
Source: https://github.com/selfagency/agentsy/tree/main/.agents/skills/lsp-setup
Command: npx skills add https://github.com/selfagency/agentsy --skill lsp-setup-selfagency

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill solves the problem of missing or inadequate code intelligence (go-to-definition, find references, hover, and type information) when no LSP server is configured for your project.

Core Features & Use Cases

  • Auto-detect OS and install the right LSP server for the programming language(s) you choose.
  • Generate correct Copilot CLI JSON configuration for either user-level or repo-level scope.
  • Merge safely into existing configs so you add/update only the intended language server entry.
  • Verification guidance to confirm the binary is on PATH and that Copilot CLI can load the new configuration.

### Quick Start

Ask the AI to set up LSP for TypeScript in your repo for Copilot CLI and ensure the configuration is created as repo-level config.

Frequently Asked Questions about lsp-setup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure an LSP server for Copilot CLI to enable go-to-definition?

To set up Copilot CLI LSP, you install the language server and generate a JSON config file at the user-level (~/.copilot/lsp-config.json) or repo-level (lsp.json or .github/lsp.json).

What is the best way to add code intelligence to a repo missing find-references and hover information?

Adding code intelligence like find-references and hover requires installing and configuring a Language Server Protocol server for your programming language using a setup tool that auto-detects your OS.

Can I safely merge a new language server entry into an existing Copilot CLI LSP configuration?

Yes, you can safely merge a new language server entry into an existing Copilot CLI LSP configuration. The setup adds or updates only the intended language server entry without overwriting your other existing config settings.

How do I verify that my LSP server is correctly installed and loaded by Copilot CLI?

To verify your LSP server setup, confirm the language server binary is located on your system PATH and check that Copilot CLI successfully loads the newly created or updated JSON configuration.

Does Copilot CLI LSP setup work on any operating system?

Yes, Copilot CLI LSP setup works across different operating systems by performing OS detection to install the correct LSP server binary and apply the appropriate environment configuration for your platform.