Vsc Lsp MCP
未认领Expose VS Code language intelligence to AI agents via MCP, with automatic routing across multiple windows
更多AI & ML服务器
浏览完整目录安全概况
已认领和已认证的服务器每周接受一次静态扫描,显示代码能触及的范围(外部服务、环境变量、shell 命令、代理配置目录)以及带有已知公告的依赖。认领此列表即可获得。 安全概况的工作原理
40 个工具中显示 40 个
文档中列出的工具 (40)
内容来自项目文档。服务器握手不会验证每个工具的说明或行为。
actionKind
/ actionId — filter and continue the Code Action transaction flow
callId
returned by call hierarchy operations for recursive traversal
character
character offset (1-based, matching editor display). Required for position-dependent operations
class_file_contents
Get decompiled Java class source via jdt:// URI (from jdtls), to read library/dependency implementations
code_action_apply
Apply one previously previewed Code Action transaction
code_action_preview
Preview one listed Code Action without side effects
code_actions
List editable Code Actions at a position
declaration
Get the declaration location of a symbol
definition
Get the definition location of a symbol
diagnostics
Get diagnostics for one file with optional severity, source, and code filters
document_highlight
Find semantic occurrences of a symbol in the current document
document_links
Get navigable document links exposed by the active language extension
document_symbols
Get the symbol outline (tree) of a document
execute_lsp
Execute an LSP operation in an explicitly selected or automatically matched instance
fix_document_preview
Preview editable fix-all or quick-fix edits for an entire document
health
Report the shared broker status
hover
Get hover information (documentation, type, etc.) at a position
implementation
Get the implementation location(s) of a symbol
incoming_calls
Find all callers of a symbol
inlay_hints
Get inferred type and parameter-name hints for a document range
instanceId
optional instance returned by listinstances; takes precedence over automatic path routing
line
line number (1-based, matching editor display). Required for position-dependent operations
list_instances
List active VS Code windows, workspace roots, and instance IDs
newName
/ renameId — used by the three-stage rename flow
operation
which LSP operation to execute
outgoing_calls
Find all callees (calls made by) a symbol
prepare_call_hierarchy
Prepare call hierarchy nodes and return recursive callId values
prepare_rename
Locate and validate a rename candidate
query
required only for workspacesymbols
references
Find all references to a symbol
rename_apply
Apply one previously previewed rename transaction
rename_preview
Preview a symbol rename without modifying files
rename_resource
Rename a workspace file or directory in the matching instance
signature_help
Get signatures and active-parameter information at a call site
startLine
, endLine — optional inclusive range for inlayhints
symbolKinds
, includeDeclaration, includeExternal, pathPattern, severities, sources, codes — optional result filters applied before maxResults
type_definition
Get the type definition location of a symbol
uri
file path or URI string (supports both plain paths and file:///jdt:// URIs)
workspace_diagnostics
Get filtered diagnostics under a workspace path
workspace_symbols
Search for symbols across the entire workspace by query