Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Feature Request: Expose Eclipse IDE as a Native MCP (Model Context Protocol) Server

Đang mở
#2,921 2 bình luận 2 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
java
Lĩnh vực
desktop-dev, devtools

Hướng nghiên cứu

Issue không xác định tệp repository, test hoặc điểm đầu vào triển khai nào. Hãy bắt đầu bằng việc lập bản đồ các thành phần Eclipse для kiểm tra Workspace và AST, Git staging, Compare, build và thực thi JUnit/TestNG, sau đó xem xét cách các dịch vụ stdio hoặc WebSocket và các bảng tùy chọn được tích hợp. Công việc chỉ được xem là hoàn tất khi có một thiết kế MCP server đã được thống nhất và xác định rõ phạm vi, thay vì danh sách khả năng rộng hiện đang được đề xuất.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement

Feature Overview
Instead of building a proprietary AI chat interface into the Eclipse IDE, the Eclipse Foundation should provide official, built-in support for exposing Eclipse IDE capabilities as a Model Context Protocol (MCP) server.

This allows standalone terminal-based AI assistants and AI CLI tools (e.g., GitHub Copilot CLI, Claude Code, Codex, Antigravity CLI) running inside or alongside Eclipse to directly query, control, and inspect the IDE workspace.

Rationale & Key Use Case: AI-Driven Workflows & Method-Level Review
Developer workflows are shifting toward AI-assisted "vibe coding," but text-based AI diffs lack the structural context required for large codebase safety. Eclipse possesses best-in-class structural review tools that are far superior for verifying AI modifications.

Image

Eclipse Compare view structural diffing. מקור: Stack Overflow

By exposing Eclipse via MCP, AI CLI tools can invoke native IDE actions as structured MCP Skills, creating a seamless loop between AI code generation and visual developer verification:

Advanced AI Skill Workflows
Exposing Eclipse via MCP enables powerful automated skills, such as:

Auto-Generate Commit & Stage Changes:

An AI CLI tool executes code edits across multiple files.

The AI auto-generates a structured commit message based on the AST diff.

An MCP tool call triggers Eclipse's Git Staging View, bringing focus directly to the staged changes for immediate visual inspection.

Two-Phase Smart Staging Strategy for Complex Projects:

Phase 1 (Low-Risk New Files): The AI separates newly created files from modified files, writes an appropriate commit message, and places new files into Git Staging. Since new files don't alter existing logic, committing them in complex codebases carries minimal risk.

Phase 2 (High-Risk Modified Files & Method Compare): The AI auto-generates a separate commit message for existing modified files and routes them directly to the Eclipse Git Staging / Compare View.

Visual Method Review: Instead of reviewing crude line-by-line diffs, the developer uses Eclipse’s Synchronize View / Compare Editor, which maps and highlights changes method-by-method. The developer can focus on specific AST nodes and methods affected by the AI before confirming the commit.

Proposed MCP Tool Capabilities
The native Eclipse MCP Server module should expose workspace capabilities through standard transport protocols (stdio / WebSockets):

  1. Workspace & AST Inspection
    Expose project structures, active editor context, and Java/C++ AST nodes.

Stream real-time compiler errors, warnings, and marker logs directly to the AI CLI tool.

  1. Git & Staging Automation (MCP Skills)
    eclipse/git/stage: Move specific files or AST modifications into the Git Staging area.

eclipse/git/openStagingView: Focus the native Git Staging Perspective in Eclipse.

eclipse/compare/openMethodCompare: Launch the Compare Editor targeting specific modified methods or structural diffs.

  1. Execution & Testing
    Trigger Eclipse incremental builds and execute JUnit/TestNG test suites.

  2. Configuration Options
    Provide a preference panel (Preferences -> AI / MCP Server) to manage connected CLI clients, toggle server status, and configure permission levels (e.g., read-only inspection vs. execution/staging privileges).

Expected Outcome
Out-of-the-box availability in future Eclipse IDE packages.

Positions Eclipse as the leading IDE for terminal-first AI development by uniting modern AI generation with unmatched AST-aware, method-level code review and staging tools.

Ngôn ngữ chính
Java
Star
165
Fork
174
Merge trung bình
2 ngày 16 giờ
Pull request đã merge (30 ngày)
42

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của eclipse-platform/eclipse.platform

Tất cả issue của eclipse-platform/eclipse.platform

Issue tương tự

Thêm issue về Java

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.