Skip to main content

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

Metadata

Release files for hanzo-tools-lsp 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hanzo-tools-lsp 0.2.1
File Size Uploaded
hanzo_tools_lsp-0.2.1.tar.gz 15.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hanzo-tools-lsp 0.2.1
File Interpreter ABI Platform
hanzo_tools_lsp-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 29.0 kB

Release files / hanzo_tools_lsp-0.2.1.tar.gz

Download URL hanzo_tools_lsp-0.2.1.tar.gz
Size 15.6 kB
Tags Source
SHA-256 checksum
How to use checksums
605962590aca918a231405529708a8d07e3cf1ea989d4c11fd509624bb2c722b
BLAKE2b-256 checksum
How to use checksums
30f1ecc77fa1a160d229677b2ff769c326ff8389d2a1606b48dbc2ddddf03be2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Release files / hanzo_tools_lsp-0.2.1-py3-none-any.whl

Download URL hanzo_tools_lsp-0.2.1-py3-none-any.whl
Size 13.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
39fdb6ae44e9ee3d77860c29b90a2e534bc169e7ebba6ea07bb463175c588591
BLAKE2b-256 checksum
How to use checksums
e1611bc0fd82cbed42fc598668463150fa367cfc1626d792b379d49801e253f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page