VE

vogellacompany/eclipse-mcp-server

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

26 stars 6 forks Качество 58 Тренд 31NOASSERTION

MCP-сервер для Eclipse

Обзор

Превращает запущенную Eclipse IDE в MCP-сервер, так что внешние LLM-клиенты (Claude Code, Cursor, любой MCP-совместимый агент) могут запросить у IDE то, что они не могут дешево реконструировать из файлов: разрешенную модель Java, маркеры проблем конструктора, отладчик и рабочую панель. Построена и поддерживается компанией vogella GmbH и используется в наших консалтинговых и основанных на ИИ сервисах по очистке Java для устаревшего кода и оптимизации кода. Сервер , слушает только 127.0.0.1 и отклоняет каждый запрос без маркера носителя. Большинство инструментов только для чтения; каждый инструмент, который меняет что-то, говорит об этом в своем собственном описании, и те, которые могут по умолчанию выполнять сухую работу. В Eclipse выберите Help > Install New Software Установите функцию. Сайт имеет только новейшую сборку; более старые версии доступны в виде zip-хранилища, прикрепленного к каждому выпуску GitHub, через Add > Archive. Репозиторий p2 заканчивается в хранилище обновлений/com.vogella.eclipse.mcp.repository/target/repository.

Обзор (машинный перевод)

Превращает запущенную Eclipse IDE в MCP-сервер, так что внешние LLM-клиенты (Claude Code, Cursor, любой MCP-совместимый агент) могут запросить у IDE то, что они не могут дешево реконструировать из файлов: разрешенную модель Java, маркеры проблем конструктора, отладчик и рабочую панель.

Построена и поддерживается компанией vogella GmbH и используется в наших консалтинговых и основанных на ИИ сервисах по очистке Java для устаревшего кода и оптимизации кода.

Сервер ** отключен по умолчанию **, слушает только 127.0.0.1 и отклоняет каждый запрос без маркера на предъявителя. Большинство инструментов только для чтения; каждый инструмент, который меняет что-то, говорит об этом в своем собственном описании, и те, которые могут по умолчанию выполнять сухую работу.

##Установка

В Eclipse выберите Help > Установите новое программное обеспечение

Установите функцию Eclipse MCP Server. Сайт имеет только новейшую сборку; более старые версии доступны в виде zip-хранилища, прикрепленного к каждому выпуску GitHub, через *Add > Archive *.

##Строительство

Требуется JDK 25 и Maven 3.9 или новее.

Репозиторий p2 заканчивается в update-site/com.vogella.eclipse.mcp.repository/target/repository.

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

README

Показан фрагмент оригинального README. Открыть оригинал.

Eclipse MCP Server

Turns a running Eclipse IDE into an MCP server, so that external LLM clients (Claude Code, Cursor, any MCP-capable agent) can ask the IDE for what they cannot cheaply reconstruct from files: the resolved Java model, the builder’s problem markers, the debugger and the live workbench.

Built and maintained by vogella GmbH, and used in our consulting and in our AI based Java cleanup services for legacy code and code optimization.

The server is disabled by default, listens on 127.0.0.1 only and rejects every request without the bearer token. Most tools are read-only; every tool that changes something says so in its own description, and those that can default to a dry run do.

Installing

In Eclipse, choose Help > Install New Software, add

https://vogellacompany.github.io/eclipse-mcp-server/

and install the Eclipse MCP Server feature. The site carries the newest build only; older versions are available as the repository zip attached to each GitHub release, through Add > Archive.

Building

Requires JDK 25 and Maven 3.9 or newer.

mvn clean verify

The p2 repository ends up in update-site/com.vogella.eclipse.mcp.repository/target/repository. To work on the code in Eclipse, import the projects with Search for nested projects enabled and set target-platform/com.vogella.eclipse.mcp.target/com.vogella.eclipse.mcp.target.target as the active target platform.

Every push to main publishes to the update site; pushing a v tag additionally creates a GitHub release with the repository zip.

Enabling the server

Preferences > General > MCP Server:

  • Enable MCP server, off by default
  • Port, 8642 by default
  • Tool call timeout, 30 seconds by default
  • UI thread wait, 25 seconds by default: how long a tool waits for a busy UI thread before it withdraws the request, capped by the tool call timeout

Changes apply immediately. The page also shows the URL, the bearer token and the discovery file, and can regenerate the token. By default, if the configured port is taken, the server stays down and the page says why. To let the operating system choose an available port at each start, add -Dcom.vogella.eclipse.mcp.server.ephemeralPort=true after -vmargs in eclipse.ini; the page then disables the port field, and the stored value applies again once the property is gone. The selected port is written to the workspace discovery file; clients must rediscover that endpoint after every restart.

In an RCP application

The server starts through a declarative service, so an RCP application needs org.apache.felix.scr and a workspace, but no org.eclipse.ui.startup.

Открыть полный README на GitHub

Установка

This server does not publish a one-line install command.

Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →