
Blackwell-systems/agent-lsp 是从 https://github.com/blackwell-systems/agent-lsp. 导入的 MCP 服务器候选服务器
概览
Blackwell-systems/agent-lsp 是从 https://github.com/blackwell-systems/agent-lsp. 导入的 MCP 服务器候选服务器
概述(AI 翻译)
英语 ·简体中文 ·Русский ·हिन्दी ·العربية
为人工智能代理打造代码智能基础设施。 65个工具,32种CI验证语言,24个代理工作流程。单一二进制。
怎么了?
agent-lsp 是一个 MCP 服务器,将现有的 LSP 服务器(如 gopl、rust-analyzer、jdtl 等)编排为代理原生工作流。
不是LSP服务器——它是一个编排层,管理语言服务器,并通过MCP工具暴露批处理、推测编辑和多步工作流程。
建筑学:
- 语言服务器(gopl、rust-analyzer等)→提供代码智能
- agent-lsp(MCP 服务器)→协调工作流,维护热运行时
- AI 代理 →通过 MCP 协议消耗
为什么是特工-lsp?
持续热运行时 语言服务器在代理会话间保持索引。第一个会话:索引工作区(典型项目约10秒)。后续会话:即时。每次请求无冷启动惩罚。
批处理操作
blast_radius → 一个调用返回所有导出 + 所有调用者(测试与非测试分区)。无编排:20+ 顺序 LSP 调用。
推测性编辑
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
English · 简体中文 · Русский · हिन्दी · العربية
Code intelligence infrastructure for AI agents. 66 tools, 33 CI-verified languages, 24 agent workflows. Single Go binary.
curl -fsSL https://raw.githubusercontent.com/blackwell-systems/agent-lsp/main/install.sh | sh && agent-lsp init
What is it?
agent-lsp is an MCP server that orchestrates existing LSP servers (gopls, rust-analyzer, jdtls, etc.) into agent-native workflows.
Not an LSP server — it’s an orchestration layer that manages language servers and exposes batch operations, speculative editing, and multi-step workflows via MCP tools.
Architecture:
- Language servers (gopls, rust-analyzer, etc.) → provide code intelligence
- agent-lsp (MCP server) → orchestrates workflows, maintains warm runtime
- AI agents → consume via MCP protocol
Why agent-lsp?
Persistent warm runtime
Language servers stay indexed across agent sessions. First session: indexes workspace (~10s for typical projects). Subsequent sessions: instant. No cold-start penalty on each request.
Batch operations
blast_radius → one call returns all exports + all callers (test vs non-test partitioned). Without orchestration: 20+ sequential LSP calls.
Speculative editing
安装
docker run --rm -i -v /your/project:/workspace ghcr.io/blackwell-systems/agent-lsp:go go:gopls配置
{
"mcpServers": {
"agent-lsp": {
"type": "stdio",
"command": "agent-lsp",
"args": [
"go:gopls",
"typescript:typescript-language-server,--stdio",
"python:pyright-langserver,--stdio"
]
}
}
}