mirror of
https://github.com/hanzoai/python-sdk.git
synced 2026-11-23 03:09:39 +00:00
Parent checkout /home/z/work/hanzo/python-sdk was deleted; this is the surviving working tree
(worktree .git admin dir lost). Base: 5c0cc67e39 (2026-10-04).
Omitted (secret/size screen): 0 file(s).
Claude-Session: https://claude.ai/code/session_015XYKLn69gF4x75RWePpDBV
hanzo-tools-lsp
Language Server Protocol tools for Hanzo MCP.
Installation
pip install hanzo-tools-lsp
Tools
lsp - Language Server Protocol
Code intelligence via LSP servers.
Go to definition:
lsp(action="definition", file="/path/to/file.py", line=10, character=15)
Find references:
lsp(action="references", file="/path/to/file.py", line=10, character=15)
Hover information:
lsp(action="hover", file="/path/to/file.py", line=10, character=15)
Code completion:
lsp(action="completion", file="/path/to/file.py", line=10, character=15)
Diagnostics:
lsp(action="diagnostics", file="/path/to/file.py")
Rename symbol:
lsp(action="rename", file="/path/to/file.py", line=10, character=15, new_name="newName")
Check status:
lsp(action="status") # Check LSP server status
Supported Languages
- Go (gopls)
- Python (pyright)
- TypeScript/JavaScript (typescript-language-server)
- Rust (rust-analyzer)
- Java (jdtls)
- C/C++ (clangd)
- Ruby (solargraph)
- Lua (lua-language-server)
Language servers are automatically installed as needed.
License
MIT