一键导入
lspee
Guides agents through using lspee to access LSP servers for code intelligence — completions, definitions, references, diagnostics, and more.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Guides agents through using lspee to access LSP servers for code intelligence — completions, definitions, references, diagnostics, and more.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | lspee |
| description | Guides agents through using lspee to access LSP servers for code intelligence — completions, definitions, references, diagnostics, and more. |
lspee gives you full Language Server Protocol access scoped to the project you're working in. Instead of grep and regex, use real code intelligence.
Check what LSPs are available for the project:
lspee lsps --file src/main.rs --output json
Check or create project config:
lspee config show --output json
# or initialize if missing:
lspee config init
Query what an LSP can do:
lspee capabilities --lsp rust-analyzer --output json
Use lspee do for ergonomic LSP calls (recommended over raw lspee call):
# Hover information
lspee do hover --file src/main.rs --line 10 --col 5
# Go to definition
lspee do definition --file src/main.rs --line 10 --col 5
# Find all references
lspee do references --file src/main.rs --line 10 --col 5
# Workspace symbol search
lspee do workspace-symbols --lsp rust-analyzer --query "MyStruct"
For advanced use, send raw JSON-RPC requests:
lspee call --lsp rust-analyzer --client-kind agent --output json --request '{"jsonrpc":"2.0","id":1,"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///abs/path/src/main.rs"},"position":{"line":10,"character":5}}}'
--output json for structured output.--client-kind agent on call commands.file:///absolute/path/to/file.rs.(project_root, lsp_id, config_hash) — sessions are reused automatically.lspee capabilities before calling a method to confirm it's supported.lspee do over lspee call — it builds the JSON-RPC request for you and wraps responses with metadata.lspee lsps --file <path> --output jsonlspee capabilities --lsp <id> --output jsonlspee do hover --file <path> --line <n> --col <n>lspee status --output jsonlspee config add-lsp --id <id> --command <cmd>lspee can run as an MCP (Model Context Protocol) server over stdio, exposing LSP tools for LLM integration:
lspee mcp [--project-root /path/to/project]
To configure in an MCP client (e.g. Claude Desktop), add to your MCP settings:
{
"mcpServers": {
"lspee": {
"command": "lspee",
"args": ["mcp", "--project-root", "/path/to/project"]
}
}
}
| Command | Purpose |
|---|---|
lspee lsp | Show resolved config identity (project root, config hash, LSPs) |
lspee lsps | Discover available LSPs for a file |
lspee call | Send a raw JSON-RPC request to an LSP |
lspee do <method> | Ergonomic LSP dispatch (hover, definition, references, etc.) |
lspee capabilities | Query LSP server capabilities |
lspee config show|init|add-lsp|remove-lsp|set | Manage project configuration |
lspee status | Daemon health check |
lspee stop | Stop the daemon |
lspee restart | Restart the daemon |
lspee serve | Run the daemon in the foreground |
lspee mcp | Start MCP server over stdio |
lspee doctor | Environment and integration health checks |
For detailed command reference, JSON-RPC request formats, and configuration options, see REFERENCE.md.