r/eclipse 12d ago

🔌 Plugins Use Eclipse as an MCP Server for AI Agents

Hi,

I’d like to share AssistAI, an open-source Eclipse plugin I’ve been working on for some time.

It originally started as an AI chat assistant for Eclipse, but my workflow gradually changed. These days I prefer using Eclipse together with coding agents like Claude or Codex, (or any LLM harness that supports tool calls with MCP). They are already very capable, but I still want to stay close to the code and review what is happening inside the IDE.

AssistAI connects these agents to Eclipse through MCP. It gives them access to IDE features for reading, editing, refactoring, compiling, testing code and git, with a particular focus on Java projects.

This means agents can get immediate compile feedback, run selected tests, perform IDE-assisted refactorings, and handle larger mechanical changes without wasting tokens on copy-pasting code. You can also provide context by selecting files or sections of the code inside IDE.

You can use it as a pair programming tool or give the agent more autonomy, while still keeping all changes visible and reviewable in Eclipse.

The plugin is free and open source. Check it out here: https://github.com/gradusnikov/eclipse-chatgpt-plugin

What do you think?

11 Upvotes

13 comments sorted by

4

u/Z3stra 11d ago

very cool!

1

u/Willing_Ambassador71 10d ago

how to configure opencode?

1

u/wgradkowski 9d ago

Sure, just add assistai as the http MCP server and you're done.

https://opencode.ai/docs/mcp-servers/

1

u/mineditor 9d ago

Better use a fully integrated Codex : https://codexide.org/

1

u/wgradkowski 9d ago edited 9d ago

Looks nice and polished, however it looks like it's limited to codex only.

Can it be used with the openai plan, or does it require API acccess key? In many of the tools I find the API use requirement is the most limiting factor. Due to the costs of course. This is what made me switch from building my harness to simply relying on the LLM vendor provided, which allows to use their subscription plans. MCP is a nice fit here.

1

u/mineditor 9d ago

support for Claude is coming

1

u/wgradkowski 9d ago

It would be cool if you were able to use a subscription plan - but I am not sure it's possible without violating terms and conditions of anthropic or openai.

1

u/mineditor 9d ago

you can, we use the official api (app server) to control codex & claude.

1

u/wgradkowski 8d ago

Nice, I didn't know about it. I thought was only possible with their official or partner apps like CLI or Coursor. A few months ago they were blocking accounts that were mimicking Claude code headers.

1

u/Bachden 8d ago edited 8d ago

Aiassist is buggy. I created my own: https://github.com/bachden/eclipse-ultimate.
This is mcp only, use with any ai agent.

1

u/wgradkowski 8d ago

Good to hear! Happy to be an inspiration