About Tcl Lsp
Tcl Lsp is an MCP server in the Other category: an LSP for Tcl 8.4-9.1, F5 iRules, F5 iApps and other Tcl dialects.
Install
git clone https://github.com/bitwisecook/tcl-lspThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Tools (49)
analyzeFull analysis: diagnostics, symbols, events, and metadata
Parameters not published.
brace_exprBrace an unbraced `expr` argument
Parameters not published.
call_graphBuild proc call graph with roots and leaves
Parameters not published.
code_actionsQuick fixes for a source range
Parameters not published.
command_infoCommand metadata and valid events
Parameters not published.
compile_wasmCompile source to a WebAssembly module
Parameters not published.
completeCompletions at a position
Parameters not published.
dataflow_graphBuild taint and side-effect graph
Parameters not published.
def_use_chainsSSA def-use chains and memory-SSA aliases
Parameters not published.
detect_dialectDetect the Tcl dialect from source (and optional filename)
Parameters not published.
Show all 49 tools
diagramExtract control-flow diagram data from IR
Parameters not published.
event_infoiRules event metadata and valid commands
Parameters not published.
event_orderEvents in canonical firing order
Parameters not published.
explain_flowNarrate a captured session (pcap) against a BIG-IP config
Parameters not published.
extract_datagroupExtract an if/switch over literals into an iRules data-group lookup
Parameters not published.
extract_variableExtract a selected expression into a `set` binding
Parameters not published.
fakecmp_suggest_sourcesFind client addr/port combos that hit each TMM
Parameters not published.
fakecmp_which_tmmLook up which TMM a connection tuple maps to
Parameters not published.
find-legacyDetect legacy patterns eligible for modernisation
Parameters not published.
find_referencesFind all references to a symbol
Parameters not published.
format_sourceFormat Tcl/iRules source code
Parameters not published.
generate_docstringGenerate a docstring stub for a named proc
Parameters not published.
generate_irule_testGenerate iRule test script with CFG paths and multi-TMM detection
Parameters not published.
goto_definitionFind definition of a symbol
Parameters not published.
helpSearch the KCS feature knowledge base
Parameters not published.
hoverHover information at a position
Parameters not published.
if_to_switchConvert an if/elseif chain on one variable to `switch`
Parameters not published.
inline_variableInline a single-use variable
Parameters not published.
irule_cfg_pathsExtract CFG control-flow paths for test planning
Parameters not published.
irule_with_contextBundle each iRule in a BIG-IP config with the objects it references
Parameters not published.
memory_aliasesMemory-SSA alias sets (`upvar`/`global`/`variable`) with reasons
Parameters not published.
optimizeOptimisation suggestions with rewritten source
Parameters not published.
read_proc_docsStructured docs for every proc: params, docstring, inferred traits
Parameters not published.
refactorList the refactorings available at a selection
Parameters not published.
renameRename a symbol throughout the document
Parameters not published.
reviewSecurity-focused diagnostic report
Parameters not published.
set_dialectSet active Tcl dialect for the session
Parameters not published.
spec_importDerive command version ranges from local release snapshots
Parameters not published.
spectcl_checkValidate a SpecTcl pack in the deterministic sandbox
Parameters not published.
spectcl_expandExpand a SpecTcl pack to its canonical straight-line form
Parameters not published.
suggest_datagroup_extractionsScan for if/switch patterns extractable to data-groups
Parameters not published.
switch_to_dictConvert a `switch` whose arms set one variable to a dict lookup
Parameters not published.
symbol_graphBuild scope/definition/reference graph
Parameters not published.
symbolsDocument symbol hierarchy
Parameters not published.
tk_layoutExtract Tk widget tree as JSON
Parameters not published.
unminify_errorTranslate a minified error back to original names and lines
Parameters not published.
update_docstringsInsert docstring stubs above every undocumented proc
Parameters not published.
validateCategorised validation report
Parameters not published.
xc_translateTranslate iRule to XC configuration — Terraform, ves.io JSON, or pasteable Console documents
Parameters not published.
Ask AI
Ask AI about Tcl Lsp
Powered by Claude · Grounded in docs
Security checks
6 checks have not been run yet.