Eclipse Chatgpt Plugin
未认领Eclipse IDE as an MCP Server for AI Agents
更多AI & ML服务器
浏览完整目录安全概况
已认领和已认证的服务器每周接受一次静态扫描,显示代码能触及的范围(外部服务、环境变量、shell 命令、代理配置目录)以及带有已知公告的依赖。认领此列表即可获得。 安全概况的工作原理
40 个工具中显示 40 个
文档中列出的工具 (40)
内容来自项目文档。服务器握手不会验证每个工具的说明或行为。
applyPatch
Atomically applies a validated unified diff, preserves line endings, supports multi-hunk edits, creates an undo backup, and reveals the first changed line
createDirectories
Creates a directory structure recursively
createFile
Creates a new file, adds it to the project, and opens it in the editor
deleteFile
Deletes a file from a project
deleteLinesInFile
Deletes a range of lines (1-based indexing)
explainTypeResolution
Explain how a type resolves in a specific project's JDT classpath: source/binary origin, root, entry, attachment, class file, and source/decompilation strategy
findReferences
All references to a type, method, or field across the workspace
formatCode
Format code using Eclipse formatter settings
formatFile
Formats a file using its registered Eclipse editor formatter (Java, XML, JSON, HTML, SQL, and other supported editors)
getClassOutline
Compact class outline -- declarations and method signatures (no bodies) with line numbers
getCompilationErrors
Compilation errors from the workspace or a project
getConsoleOutput
Recent Eclipse console output
getCurrentlyOpenedFile
Currently active file in the editor
getEditorSelection
Selected text or lines in the active editor
getFilteredSource
Full source with non-selected methods collapsed to signatures
getImportSuggestions
Import candidates for unresolved types
getJavaDoc
JavaDoc for a compilation unit
getMethodCallHierarchy
Call hierarchy (callers) for a method
getMethodSource
Source of specific methods by name, with overload disambiguation
getProjectLayout
File/folder structure with scopePath and maxDepth support
getProjectProperties
Project properties and configuration
getQuickFixes
Available quick fixes for compilation errors
getSource
Source of a workspace or referenced-library class; prefers attached source JARs and decompiles binaries when source is unavailable
getTypeHierarchy
Type hierarchy (supertypes, interfaces, subtypes)
insertIntoFile
Inserts content at a specific position in an existing file
listMavenProjects
All Maven projects in the workspace
listProjects
All workspace projects with detected natures
moveResource
Moves a file or folder to a different location
organizeImports
Removes unused imports and sorts existing imports; does not add missing imports
organizeImportsInPackage
Removes unused imports and sorts existing imports across a package
readImageResource
Return a workspace image as native MCP ImageContent (PNG, JPEG, GIF, BMP, TIFF, or ICO; maximum 20 MiB)
readProjectResource
Read a text resource, with optional import block collapsing
refactorExtractTypeToNewFile
Extracts a nested Java type to a new top-level Java file using Eclipse's refactoring
refactorMoveJavaType
Moves a Java type to a different package, updating all references
refactorRenameJavaType
Renames a Java type using Eclipse's refactoring, updating all references
refactorRenamePackage
Renames a package, updating all declarations and references
renameFile
Renames a file in a project
replaceFileContent
Replaces the entire content of a file
replaceString
Replaces a specific string in a file, optionally within a line range
undoEdit
Restores a file from its backup (undo last edit)