elvish-transcript-mcp

v1.0.0
io.github.mrfentmen/elvish-transcript-mcp Checked 4 days ago Published 28 days ago

Elvish Transcript MCP: read, check, lint, scaffold and run code.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

detect_project

Find Elvish Transcript files, project markers and the toolchain layout in a directory.

ParameterTypeDescription
maxDepthinteger
pathstring

read_source

Read a Elvish Transcript source file, optionally a line range.

ParameterTypeDescription
path *string
cwdstring
endLineinteger
startLineinteger

write_source

Write a Elvish Transcript source file. Refuses to overwrite unless overwrite is true.

ParameterTypeDescription
content *string
path *string
createDirsboolean
cwdstring
overwriteboolean

syntax_check

Check Elvish Transcript structure and, when configured, run the real parser without executing the program.

ParameterTypeDescription
contentstring
cwdstring
pathstring

format_source

Trim trailing whitespace, normalize line endings and ensure a final newline in Elvish Transcript code.

ParameterTypeDescription
contentstring
cwdstring
expandTabsboolean
indentWidthinteger
pathstring
writeboolean

lint_source

Check Elvish Transcript code for trailing whitespace, tabs, long lines, missing final newline and unbalanced structure.

ParameterTypeDescription
contentstring
cwdstring
maxLineLengthinteger
pathstring

extract_symbols

List functions, classes, types and other Elvish Transcript definitions with line numbers.

ParameterTypeDescription
contentstring
cwdstring
pathstring

list_imports

List imports, includes and dependencies in a Elvish Transcript source file.

ParameterTypeDescription
contentstring
cwdstring
pathstring

list_todos

Find TODO, FIXME, HACK and XXX comments in Elvish Transcript code.

ParameterTypeDescription
contentstring
cwdstring
pathstring

find_references

Find every mention of a symbol in one Elvish Transcript source file.

ParameterTypeDescription
path *string
symbol *string
cwdstring

rename_symbol

Rename one symbol in a Elvish Transcript file. Defaults to a dry run.

ParameterTypeDescription
newName *string
oldName *string
path *string
cwdstring
dryRunboolean

insert_snippet

Insert a real Elvish Transcript starter snippet into a file. Defaults to a dry run.

ParameterTypeDescription
path *string
snippet *string
cwdstring
dryRunboolean
lineinteger

comment_lines

Comment a line range in Elvish Transcript code using the language comment marker.

ParameterTypeDescription
contentstring
cwdstring
endLineinteger
pathstring
startLineinteger
writeboolean

uncomment_lines

Remove the Elvish Transcript comment marker from a line range.

ParameterTypeDescription
contentstring
cwdstring
endLineinteger
pathstring
startLineinteger
writeboolean

scaffold_project

Create a small runnable Elvish Transcript project with a starter file and test directory.

ParameterTypeDescription
overwriteboolean
pathstring
projectNamestring

run_source

Run a Elvish Transcript file with the installed interpreter or compiler.

ParameterTypeDescription
path *string
cwdstring
timeoutMsinteger

run_tests

Run the configured Elvish Transcript test command in a project directory.

ParameterTypeDescription
cwdstring
timeoutMsinteger

build_project

Build a Elvish Transcript project with the configured compiler command.

ParameterTypeDescription
cwdstring
pathstring
timeoutMsinteger

toolchain_status

Show which Elvish Transcript compilers, interpreters, build tools and test commands are installed.

language_reference

Return a compact Elvish Transcript syntax and toolchain reference for agents.