by gradusnikov
Eclipse IDE as an MCP Server for AI Agents
# Add to your Claude Code skills
git clone https://github.com/gradusnikov/eclipse-chatgpt-pluginGuides for using ai agents skills like eclipse-chatgpt-plugin.
Last scanned: 5/30/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-05-30T16:05:58.001Z",
"npmAuditRan": true,
"pipAuditRan": true
}eclipse-chatgpt-plugin is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by gradusnikov. Eclipse IDE as an MCP Server for AI Agents. It has 166 GitHub stars.
Yes. eclipse-chatgpt-plugin passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/gradusnikov/eclipse-chatgpt-plugin" and add it to your Claude Code skills directory (see the Installation section above).
eclipse-chatgpt-plugin is primarily written in Java. It is open-source under gradusnikov on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh eclipse-chatgpt-plugin against similar tools.
No comments yet. Be the first to share your thoughts!
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM is an informational directory and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
AssistAI is an Eclipse IDE plugin that exposes your entire development environment as an MCP (Model Context Protocol) server. External AI agents -- Claude Code, OpenAI Codex, Claude Desktop, or any MCP-compatible client -- can read, navigate, edit, build, test, run, and debug your Java projects directly through Eclipse, preserving workspace sync, local history, and incremental compilation.
AssistAI also includes a built-in LLM chat view for quick inline interactions with any supported model.
When AI agents edit files through the filesystem directly, Eclipse doesn't know anything changed. Editors show stale content, incremental compilation misses updates, and local history gaps appear.
AssistAI solves this by routing all operations through Eclipse APIs:
localhost:8124)The status panel shows all available endpoints:
http://localhost:8124/mcp/eclipse-ide -- code analysis, navigation, search, testing, buildshttp://localhost:8124/mcp/eclipse-coder -- file editing, refactoring, patching, formattinghttp://localhost:8124/mcp/eclipse-runner -- launch, debug, breakpoints, steppinghttp://localhost:8124/mcp/eclipse-context -- resource cache, file local history, version trackinghttp://localhost:8124/mcp/eclipse-git -- git status, log, staging, commit, diff, branches, stashAdd to your Claude Code MCP settings (~/.claude.json or project-level(.mcp.json in project root)):
{
"mcpServers": {
"eclipse-ide": {
"command": "npx",
"args": [
"-y", "mcp-remote", "http://localhost:8124/mcp/eclipse-ide",
"--allow-http",
"--header", "Authorization: Bearer YOUR_TOKEN"
]
},
"eclipse-coder": {
"command": "npx",
"args": [
"-y", "mcp-remote", "http://localhost:8124/mcp/eclipse-coder",
"--allow-http",
"--header", "Authorization: Bearer YOUR_TOKEN"
]
},
"eclipse-runner": {
"command": "npx",
"args": [
"-y", "mcp-remote", "http://localhost:8124/mcp/eclipse-runner",
"--allow-http",
"--header", "Authorization: Bearer YOUR_TOKEN"
]
},
"eclipse-git": {
"command": "npx",
"args": [
"-y", "mcp-remote", "http://localhost:8124/mcp/eclipse-git",
"--allow-http",
"--header", "Authorization: Bearer YOUR_TOKEN"
]
}
}
}
Add to your Github Copilot CLI MCP settings (~/.copilot/mcp-config.json):
{
"mcpServers": {
"eclipse-ide": {
"type": "http",
"url": "http://localhost:8124/mcp/eclipse-ide",
"headers": {
"Authorization": "YOUR_TOKEN"
},
"tools": ["*"]
},
"eclipse-coder": {
"type": "http",
"url": "http://localhost:8124/mcp/eclipse-coder",
"headers": {
"Authorization": "YOUR_TOKEN"
},
"tools": ["*"]
},
"eclipse-runner": {
"type": "http",
"url": "http://localhost:8124/mcp/eclipse-runner",
"headers": {
"Authorization": "YOUR_TOKEN"
},
"tools": ["*"]
},
"eclipse-context": {
"type": "http",
"url": "http://localhost:8124/mcp/eclipse-context",
"headers": {
"Authorization": "YOUR_TOKEN"
},
"tools": ["*"]
},
"eclipse-git": {
"type": "http",
"url": "http://localhost:8124/mcp/eclipse-git",
"headers": {
"Authorization": "YOUR_TOKEN"
},
"tools": ["*"]
}
}
}
On Windows with WSL, use
"command": "wsl"and prepend"npx"to the args array.
Add to your Claude Desktop configuration file:
%APPDATA%\Roaming\Claude\claude_desktop_config.json~/Library/Application Support/Claude/claude_desktop_config.json~/.config/Claude/claude_desktop_config.jsonUse the same mcpServers format as above.
Any client that supports MCP over Streamable HTTP can connect directly to the endpoint URLs. Use the Authorization: Bearer <token> header for authentication.
With the MCP tools, an external agent can:
External agents don't know what you're looking at in Eclipse -- unless they ask. AssistAI provides MCP tools that let agents pick up context from your IDE session, so you can guide their work by simply opening files, selecting code, or running programs:
| What you do in Eclipse | Tool the agent calls | What the agent sees |
|---|---|---|
| Open a file in the editor | getCurrentlyOpenedFile |
Full file content with path, project name, and line numbers |
| Select a code region | getEditorSelection |
Selected text with start/end line numbers and surrounding file context |
| Run or debug a program | getConsoleOutput |
Recent stdout/stderr from Eclipse console(s) |
| Have compilation errors | getCompilationErrors |
All errors/warnings with file, line, and message |
| Open a specific class | getClassOutline |
Compact structure -- fields, method signatures, line numbers |
Workflow tip: When asking an agent to fix something, open the relevant file in Eclipse first, select the problem area, and tell the agent to check your selection. This gives the agent precise context without you having to describe file paths or paste code.
Token-efficient navigation: Instead of reading entire files, agents can use getClassOutline to see the structure (~30 lines for a 500-line class), then getMethodSource to read only the methods they need, or getFilteredSource to see the full file with irrelevant methods collapsed to one-line signatures. The readProjectResource tool supports excludeImports to further reduce token usage.
Workspace images: Vision-capable agents can call readImageResource(projectName, resourcePath) to receive an image as native MCP ImageContent instead of base64 text. The tool supports PNG, JPEG, GIF, BMP, TIFF, and ICO resources up to 20 MiB, and enforces the same .aiignore/.noai access rules as text reads. For example: readImageResource(projectName="my-project", resourcePath="docs/architecture.png").
Resource cache: Files and classes read through Eclipse MCP tools are automatically cached with version tracking and file modification timestamps (tied to Eclipse's Local History). Agents can call listCachedResources to see what's already loaded, or getCachedResource to re-read cached content instantly -- no disk I/O, no re-parsing.
Local History: Eclipse automatically maintains a Local History for every file modified through the IDE. Agents can browse past versions (getFileHistory), read historical content (getFileHistoryContent), compare with the current version (compareWithHistory), or restore to any previous state (restoreFileVersion). This is more powerful than a simple undo -- it preserves every edit across the entire session, including changes made by the agent itself.
| Tool | Description |
|---|---|
| createFile | Creates a new file, adds it to the project, and opens it in the editor |
| insertIntoFile | Inserts content at a specific position in an existing file |
| replaceString | Replaces a specific string |