An ACP (Agent Communication Protocol) proxy that wraps an MCP (Model Context Protocol) server to provide rust-analyzer LSP integration.
Part of the Symposium project.
This project creates an ACP proxy using symposium-sacp that connects to rust-analyzer LSP and exposes its functionality through MCP tools. It bridges the gap between ACP-based agents and rust-analyzer's Language Server Protocol.
ACP Agent <-> ACP Proxy <-> MCP Server <-> LSP Bridge <-> rust-analyzer LSP
- ACP Proxy: The main proxy component that implements the ACP protocol
- MCP Server: Exposes rust-analyzer functionality as MCP tools
- LSP Bridge: Manages communication with the rust-analyzer LSP server
- rust-analyzer: The actual Rust language server
The proxy exposes the following rust-analyzer tools:
rust_analyzer_hover- Get hover information for symbolsrust_analyzer_definition- Go to definitionrust_analyzer_references- Find all referencesrust_analyzer_completion- Get code completionsrust_analyzer_symbols- Get document symbolsrust_analyzer_format- Format documentsrust_analyzer_code_actions- Get available code actionsrust_analyzer_set_workspace- Set workspace rootrust_analyzer_diagnostics- Get file diagnosticsrust_analyzer_workspace_diagnostics- Get workspace diagnosticsrust_analyzer_failed_obligations- Get failed trait obligations (rust-analyzer specific)rust_analyzer_failed_obligations_goal- Explore nested goals (rust-analyzer specific)
- rust-analyzer must be installed and available in PATH