MCP Catalogs
首页eclipse-chatgpt-plugin screenshot

eclipse-chatgpt-plugin

by gradusnikov·148·综合分 48

Eclipse IDE插件,将整个开发环境作为MCP服务器,供AI代理进行代码编写、构建和调试。

developer-toolsai-llmproductivity
70
Forks
33
活跃 Issue
本月
最近提交
2 天前
收录于

概述

AssistAI将Eclipse IDE转变为MCP服务器,允许AI代理通过Eclipse API而非直接文件系统访问来交互Java项目。这确保了与Eclipse功能的适当集成,包括增量编译、重构引擎、本地历史记录和测试框架。该插件通过带有身份验证令牌的安全HTTP服务器,暴露多个MCP端点,用于代码分析、编辑、构建、运行、调试和Git操作。

试试问 AI

装完之后,这里有 5 个你可以让 AI 做的事:

:AI助手通过Eclipse IDE与开发者协作处理Java代码
:使用Eclipse内部工具进行自动重构和代码优化
:通过MCP服务器构建和测试代码的持续集成工作流
:支持哪些身份验证方法?
:我能否将其与Eclipse以外的IDE一起使用?

什么时候选它

如果您已经在使用 Eclipse 进行 Java 开发,并希望将 AI 代理与 IDE 的完整功能集成,同时保持工作空间同步和本地历史记录,请选择此 MCP 服务器。

什么时候不要选它

如果您不使用 Eclipse 或 Java 开发,或者需要超出 Eclipse 生态系统之外的跨 IDE 支持,请不要选择它。

此 server 暴露的工具

从 README 抽取出 12 个工具
  • createFile

    Creates a new file, adds it to the project, and opens it in the editor

  • replaceFileContent

    Replaces the entire content of a file

  • getClassOutline

    Get compact class outline with method signatures and line numbers

  • findReferences

    Find all references to a type, method, or field across the workspace

  • runTestMethod

    Run a specific test method

  • debugJavaApplication

    Launch in debug mode, stops at breakpoints

  • toggleBreakpoint

    Set or remove a line breakpoint

  • fileSearch

    Substring search in workspace files

  • gitStatus

    Get working tree status - staged, unstaged, untracked files

  • getFileHistory

    Lists Local History versions of a file with timestamps

  • getCurrentlyOpenedFile

    Get the currently active file in the editor

  • getEditorSelection

    Get selected text or lines in the active editor

可对比工具

intellij-mcp-servervscode-mcpshell-mcpfilesystem-mcp

安装

安装

  1. 从Eclipse Marketplace或更新站点安装AssistAI
  2. 启用HTTP MCP服务器:

- 打开Window > Preferences > Assist AI > HTTP MCP Server - 勾选'Enable HTTP MCP Server' - 设置主机名和端口(默认:localhost:8124) - 生成并保存身份验证令牌

连接Claude Desktop

添加到Claude Desktop配置:

{
  "mcpServers": {
    "eclipse-ide": {
      "command": "npx",
      "args": [
        "-y", "mcp-remote", "http://localhost:8124/mcp/eclipse-ide",
        "--allow-http",
        "--header", "Authorization: Bearer YOUR_TOKEN"
      ]
    }
  }
}

FAQ

支持哪些身份验证方法?
服务器使用Bearer令牌身份验证。通过Eclipse首选项UI生成令牌,并将其包含在'Authorization: Bearer YOUR_TOKEN'头中。
我能否将其与Eclipse以外的IDE一起使用?
不可以,这是一个专门通过MCP暴露Eclipse API的Eclipse插件。其他IDE需要有自己的MCP实现。

eclipse-chatgpt-plugin 对比

GitHub →

最后更新于 · 由 README + GitHub 公开数据自动生成。