Pure Rust MCP server bridging Language Server Protocol (LSP) to AI coding assistants.
TypeMill gives your AI assistant (Claude, Cursor, etc.) direct access to language server intelligence. It enables safe refactoring, precise code navigation, and workspace-aware operations across TypeScript, Rust, and Python projects.
- 🛡️ Safe Refactoring - Unified dry-run API with automatic rollback protection. Preview changes before execution.
- 🧠 Native Intelligence - Leverages industry-standard LSP servers (
rust-analyzer,tsserver) for 100% accurate symbol resolution. - ⚡ Rust Performance - Built for speed with zero-cost abstractions and async I/O.
- 🔄 Auto-Updates - Automatically handles imports, cross-file references, and self-references during moves and renames.
- 🔌 Tooling Depth - Comprehensive suite for navigation (
inspect_code), search (search_code), and refactoring (rename_all,relocate).
curl -fsSL https://raw.githubusercontent.com/goobits/mill/main/install.sh | bashAlternatively: cargo install mill --locked
Run in your project root to auto-detect languages and install necessary LSP servers:
mill setupAdd to your MCP configuration (e.g., Claude Desktop):
{
"mcpServers": {
"mill": {
"command": "mill",
"args": ["start"]
}
}
}Detailed guides and references are available in the docs/ directory.
- Getting Started - comprehensive setup & configuration.
- Tool Reference - complete catalog of available tools.
- Configuration - customize servers and behavior.
- Troubleshooting - common issues and solutions.
- Contributing - development workflow.
| Language | Support Level | LSP Server |
|---|---|---|
| TypeScript/JS | Full ✅ | typescript-language-server |
| Rust | Full ✅ | rust-analyzer |
| Python | Full ✅ | python-lsp-server |
| Markdown | Basic | - |