
Squiggles
io.github.carldawsPublished by GitHub account carldawsv1.0.2Updated Oct 24, 2026
Let your coding agent see the squiggles — LSP diagnostics, navigation, refactoring, and extras
Overview
Bridges coding agents to Language Server Protocol servers, exposing diagnostics, navigation, refactoring and language-specific extras as MCP tools.
- What you can do
- Open files and read diagnostics for the workspace, with servers started lazily on first use per language configured in squiggles.yaml (TypeScript, Rust, Ruby, Go, Python, C/C++, Lua presets). Navigate code with go-to-definition, type definition, implementation, declaration, find references, hover, signature help, and document or workspace symbols. Inspect call and type hierarchies. Refactor with code actions, rename preparation and rename, and formatting, some of which write edits to disk. Use language-specific extras such as Rust macro expansion and runnables, Ruby test discovery and syntax trees, TypeScript import organization and file rename, Go import and module commands including govuln
- When to use it
- Useful when a coding agent should see the same compiler and language-server feedback an IDE shows, and needs precise navigation, refactoring or language-specific operations across a multi-language project. Best for projects already set up with the relevant language servers.
- Requirements
- Runs locally over stdio, typically via npx. Needs Node.js and a squiggles.yaml (or .yml variant) in the project root naming each LSP server command and file patterns; npx squiggles init can generate it. Each configured language server (for example typescript-language-server, rust-analyzer, ruby-lsp, gopls, clangd) must be installed and on PATH. TypeScript projects need a workspace typescript@5 install.
Installation
In SourceWeft
- Open Squiggles in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
squiggles
Let your agent see the squiggles you'd see in an IDE.
squiggles is an MCP server that bridges coding agents to Language Server Protocol (LSP) servers. Configure one or more LSP servers and squiggles exposes their features — diagnostics, go-to-definition, find references, rename, formatting, and more — as MCP tools. Servers start lazily on first tool use, so there's no startup cost for languages you don't touch.
Beyond the standard protocol, squiggles unlocks the custom superpowers each language server ships that editors rarely surface and agents otherwise never see: expanding a Rust macro, discovering Ruby tests, switching between a C++ source file and its header, fixing every import after moving a TypeScript file, running govulncheck through gopls.
Quick Start
Then, in your project root:
This writes a squiggles.yaml for the languages it finds (a tsconfig.json means TypeScript, a Cargo.toml means Rust, and so on). Name the servers to choose them yourself: npx squiggles init typescript ruby. Presets exist for typescript, rust, ruby, go, python, cpp and lua; each needs its language server on PATH, and init prints the install command for every one it writes.
The result for a TypeScript project:
Configuration
squiggles looks for squiggles.yaml, squiggles.yml, .squiggles.yaml, or .squiggles.yml in the project root (the old mclsp.yaml names still work). Each server entry supports:
Multiple servers can be configured for different languages:
Tools
All standard LSP tools are registered and available when a matching server is configured.
Navigation: goto_definition, goto_type_definition, goto_implementation, goto_declaration, find_references
Inspection: hover, signature_help, document_symbols, workspace_symbols
Refactoring: code_actions, rename_prepare, rename, format
Hierarchy: call_hierarchy_incoming, call_hierarchy_outgoing, type_hierarchy
Always available: open_file, diagnostics
Position-based tools take file (relative path), line (1-indexed), and col (1-indexed). rename accepts apply: true to write the edit to disk instead of returning it; format always writes to disk. code_actions automatically passes the diagnostics overlapping the requested range, so quick fixes show up.
Server Extensions
The best language servers go far beyond the standard protocol, and this is where squiggles earns its keep: it subscribes to the custom methods and commands that IDE plugins use but agent harnesses ignore. Extension tools register automatically when a matching server is configured.
Ruby (ruby-lsp)
TypeScript (typescript-language-server)
typescript-language-server needs a typescript install it can find (usually the workspace's own). TypeScript 7 ships no tsserver.js, so keep typescript@5 in the workspace for now.
Rust (rust-analyzer)
Go (gopls)
C/C++ (clangd)
When a server applies changes itself (organize imports, add import, rename file), squiggles receives the workspace edit and writes it to disk, keeping the server's view of the files in sync.
Contributing Extensions
To add extensions for a new language server, create a file in src/extensions/ (e.g. src/extensions/zig.ts):
request receives the opened file's URI, absolute path, and 0-indexed position, and returns the LSP request to send — use the executeCommand helper for servers that expose functionality as workspace/executeCommand commands. Register the module in src/extensions/index.ts under the server's binary name.
Migrating from mclsp
squiggles is the project formerly published as mclsp. Point your MCP config at npx -y squiggles and rename mclsp.yaml to squiggles.yaml — the old config names keep working, the tool names are unchanged.
License
MIT
Source: README.md at commit 1698fe2
Tools
0Version history
2- v1.0.2LatestSep 20, 2026
- v1.0.1Sep 20, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
