Skip to content

Collaboration w/ Eclipse IDE MCP Tooling #1739

Open

Description

@jwflicker

There are some prototypes for bringing MCP and ACP support into the Eclipse IDE platform and perhaps some collaboration is possible with the Spring Tools team with the recent addition of an MCP server to https://spring.io/tools#eclipse

There is a potential proposal for adding extension points to declare MCP tools, resources and prompts using annotated java functions via: https://github.com/spring-ai-community/mcp-annotations, and perhaps for adding individual MCP server endpoints, and contributing a set of platform MCP tools such as working with files, markers, annotations, ...

https://github.com/eclipse-agents/eclipse-agents/

Feel free to join a matrix chat thread for discussing such potential with Eclipse IDE committers:

https://chat.eclipse.org/#/room/!DquClGHIDXMzJfsxUy:matrix.eclipse.org/$9bxRGFRNy89fm7WFolEFC4pqHfPL7hF3GlT4-0Zm-aU?via=matrix.eclipse.org&via=matrix.org&via=beeper.com

Activity

  1. jwflicker commented on Dec 16, 2025

    @jwflicker
    Author
  2. martinlippert commented on Dec 17, 2025

    @martinlippert
    Member

    Thanks a lot for reaching out, happy to integrate and connect the AI related features that we are building with your efforts here.

    Looks like we need to explain things in more detail here. The Spring Tools for Eclipse include a language server that contains most of the tooling features that we provide for Spring projects, so we try to reduce the amount of code that we need to write specifically for one of the IDEs that we integrate with. From the AI feature perspective, this means:

    1. the MCP server that we ship is embodied in the language server that we built. The MCP server runs in HTTP/SSE transport mode. It gets started as part of the language server (and shutdown the same way) and opens a port on localhost, so that clients can connect and use this MCP server.

    2. we have shortcuts showing up as code lenses in source code that trigger chat integrations with the surrounding AI coding assistant. This connection is implemented on the client side via a command that is executed when the user clicks on a code lens. This command then basically sends a dynamically crafted prompt to the AI chat interface.

    For 1), the MCP and ACP support that is coming to Eclipse would be the place where users would then go ahead and configure the Spring Tools MCP server, if they want to use it. We could think about ways to make this easier (by automatically configure the MCP server) via an API that the Spring Tools would invoke.

    If we go down that path (the platform provides an API to configure the MCP server), it would be important to design this API in a way that we could configure and change the MCP server entry, e.g. if the user enables our MCP server in the preferences or changes the port. It would also be good if the API provides a way to check whether a certain MCP server is already configured, so that we don't configure the MCP server on every startup, but could change the configuration if a preference have changed (in the meantime).

    For 2), it would be good if the chat client UI would provide an API for us to send and execute prompts to.

    That is - at least - what comes to my mind initially here. WDYT?

  3. martinlippert commented on Dec 17, 2025

    @martinlippert
    Member

    As a side note: we need to keep in mind here that we can't easily add bundle dependencies, so things need to be optional. Our overall approach is to integrate with whatever users decided to use, not to prefer one specific AI assistant.

  4. fedejeanne commented on Jan 21, 2026

    @fedejeanne

    Thank you for the details, @martinlippert!

    For 1), the MCP and ACP support that is coming to Eclipse would be the place where users would then go ahead and configure the Spring Tools MCP server, if they want to use it.

    Do you mean something like what Copilot offers?

    Copilot Plugin

    Image

    btw. I just noticed that STS offers some cool tools already! I only played around with the MCP Inspector a bit and found your getProjectsList tool.

    MCP Inspector

    Image

    Nice 🤓

  5. martinlippert commented on Jan 21, 2026

    @martinlippert
    Member

    For 1), the MCP and ACP support that is coming to Eclipse would be the place where users would then go ahead and configure the Spring Tools MCP server, if they want to use it.

    Do you mean something like what Copilot offers?

    I would like to be able to dynamically contribute an MCP server, so that I don't need to statically put in the JSON for the MCP server myself, but a plugin could do this for me. We discussed this with the Copilot team:

    microsoft/copilot-eclipse-feedback#16 (comment)

    The broader idea is:
    The Spring Tools contain an MCP server that runs inside of the Spring Tools language server and is accessible via the streamable HTTP protocol to a client (the IDE around it, in this case). So our MCP is not started by the client on demand, but runs all the time (as long as the language server is active). And it runs on localhost on a specific port (that users might wanna change), so that we can't configure the JSON statically. Instead, we need to configure the JSON for the MCP config dynamically via some kind of API.

  6. jwflicker commented on Jan 21, 2026

    @jwflicker
    Author

    Yes i think we will want an External MCP Server registry to let users add their own local and remote, and for plugins to contribute any HTTP MCP servers that they may have running under the Eclipse process. A way for a plugin to contribute an external MCP server programmatically makes sense. I;m guessing the HTTP port may be variable, so maybe an API would be more flexible than an extension point in that it can dynamically set/update the port. So maybe an API where you can add an MCP server with a specific ID, and on subequent startups you can programmatically revisit the registry and update the port number if needed usign that specific ID...

    WIth an ACP chat session, we forward the list of MCPs to include when a new session starts, or with some agents with limitations we may need to set the MCPs before the agent starts, or trigger a restart.

    We'll probably give the user the ability to use a sub-selection of the registered MCPs for a particular chat session.

    Additionally, an MCP server can add/remove tools dynamically at runtime... so you could have an empty MCP server and add tools dynamically if customer usage warrants it.

  7. fedejeanne commented on Jan 22, 2026

    @fedejeanne

    A way for a plugin to contribute an external MCP server programmatically makes sense. I;m guessing the HTTP port may be variable, so maybe an API would be more flexible than an extension point in that it can dynamically set/update the port

    I guess the major hurdle is that MCP does not define/impose a notification mechanism to keep everyone informed about changes/additions/removals of servers so implementing a central registry and let MCP clients and servers register to it and also publish events would make sense. That way, a server could register itself anew or emit a notification about a change in its configuration or about adding/removing a tool and all listening clients would be notified, giving them the chance to update their caches with the list of known servers, tools, resources, etc.

    In that case, the proposal in microsoft/copilot-eclipse-feedback#16 (comment) is only half the bill since Copilot would still be missing the notifications about changes, right @jdneo ? In the long run, it would make more sense to delegate the responsibility of keeping everyone (MCP clients and servers) up to date to a more central mechanism, not just the client.

    WDYT?

  8. martinlippert commented on Jan 22, 2026

    @martinlippert
    Member

    I guess the major hurdle is that MCP does not define/impose a notification mechanism to keep everyone informed about changes/additions/removals of servers so implementing a central registry and let MCP clients and servers register to it and also publish events would make sense. That way, a server could register itself anew or emit a notification about a change in its configuration or about adding/removing a tool and all listening clients would be notified, giving them the chance to update their caches with the list of known servers, tools, resources, etc.

    I think there are two things in the mix here:

    1. one thing is a way to register available MCP servers programmatically via an API. This is in addition to using the standard mcp.json way of telling the client which MCP servers are available. That way, the Spring Tools could configure the embedded and sometimes already running MCP server, so that LLM interactions can use it. This is exactly the same as specifying the JSON structure that we all know for configuring MCP servers (e.g. for Claude Desktop). This could also involve an API to update or delete the configuration. But from my point of view, this is "just" an API for the same thing you would do via the JSON config.

    2. when a MCP server is running and connected to the client (independent of whether the client has started the MCP server and connected to it or the MCP was already running and the client connected to it), the MCP protocol already contains all it needs to update the functionality of the MCP server (which tools the MCP server provides, which prompts, which resources, etc.) and clients that support the MCP protocol should be able to deal with that independent of how the MCP client was made aware of the available MCP servers (see above).

    What we discuss here is 1), I think, whereas 2) is covered my the MCP protocol itself.

  9. martinlippert commented on Jan 22, 2026

    @martinlippert
    Member

    Btw @jwflicker , I am not sure I really understand your initial comment about the annotations. We used Spring AI to implement the MCP server inside of the Spring Tools, actually inside of the language server that the Spring Tools Eclipse plugin then provides and contributes to lsp4e - but that is just a side note.

    The annotations that you are referring to is a great way of building MCP servers (internally), but from what I can see has no relationship with how (existing) MCP servers are made available to the AI chat feature, etc.

  10. fedejeanne commented on Jan 22, 2026

    @fedejeanne

    I think there are two things in the mix here:

    1. one thing is a way to register available MCP servers programmatically via an API. This is in addition to using the standard `mcp.json` way of telling the client which MCP servers are available. That way, the Spring Tools could configure the embedded and sometimes already running MCP server, so that LLM interactions can use it. This is exactly the same as specifying the JSON structure that we all know for configuring MCP servers (e.g. for Claude Desktop). This could also involve an API to update or delete the configuration. But from my point of view, this is "just" an API for the same thing you would do via the JSON config.
    
    2. when a MCP server is running and connected to the client (independent of whether the client has started the MCP server and connected to it or the MCP was already running and the client connected to it), the MCP protocol already contains all it needs to update the functionality of the MCP server (which tools the MCP server provides, which prompts, which resources, etc.) and clients that support the MCP protocol should be able to deal with that independent of how the MCP client was made aware of the available MCP servers (see above).
    

    What we discuss here is 1), I think, whereas 2) is covered my the MCP protocol itself.

    You're right, the protocol already has everything that the clients need to keep their own updated list of tools/resources/etc (see notifications).

    What is not provided is a way to maintain an updated list of MCP Servers, which is where IMO a central registry would make sense. With a registry you could let Servers make themselves known and let Clients find all currently registered servers. Imagine a scenario with M Servers and N Clients (Copilot, Claude, XYZ). without a central registry, every Server would have to register itself with every Client (M x N). With a registry, every Server would register once and every Client would query that registry once (M + N), distributing the effort to make Clients and Servers known to each other between both parties. Of course this registry would have to contain enough information in each entry so that every client can make use of the information:

    • Name of the Server
    • Type (STDIO / HTTP)
    • Address
    • Status (Running/Stopped)
    • Command (e.g. in case the client would like to spin up its own instance, like it's possible with STDIO servers)
    • ...

    So this proposal is IMO a good start but in the long run it would have to be replaced and Copilot/Claude/XYZ would have to query the registry in order to find the servers.

    Starting/stopping a server would then trigger events to the clients so that they can update their lists of known servers accordingly.

  11. martinlippert commented on Jan 22, 2026

    @martinlippert
    Member

    @fedejeanne With a "central registry", you mean one registry inside of a running Eclipse IDE where we (the Spring Tools) could register/configure our MCP server, the user could configure MCP servers, and potential clients (e.g. Copilot, an Eclipse ACP plugin, Eclipse Llama, etc.) could grab the config from, right?

    I am not sure about events. If a client starts an MCP server and connects to it via STDIO, another client could do the same at the same time, totally independent of each other. So I would probably not (yet) dive into keeping any runtime state of running/starting/stopping MCP servers in a central registry. I would focus the central registry in the part described above only and not go beyond that.

  12. jwflicker commented on Jan 23, 2026

    @jwflicker
    Author

    So collaboration with Copilot for Eclipse might be a possibility, but for now no contact has been made. It may be possible for us to consolidate on a single MCP Registry, or we may have redundant registries. I suppose a registry could have listeners to track add/removal/modifiers.

    For the ACP powered chat, there will likely be limitations like i describe above about adapting to add/removal of an MCP server to the registry. Maybe with some investigation we can reload the current session but with different initial MCP servers, maybe they would need a new session for the MCP server changes to take effect, maybe it would require the agent to be restarted, depending on how much of the ACP spec the agent supports and what its command line options are.

  13. jwflicker commented on Jan 23, 2026

    @jwflicker
    Author

    As for something like; Status (Running/Stopped), i guess we could temporarily connect / ping an MCP server, but primarily it will be the agents or something like Copilot for Eclipse that will be the real client of the MCP servers listed and will have their own connectivity health.

    Also each MCP client has its own flavor of JSON format for registering MCP servers, i suppose starting with Copilots might make sense and could support collaboration, but not sure if they are up for that.

    Some registries have features to extract MCP servers from the metadata of other popular client metadata like from claude desktops settings.json etc...

  14. jwflicker commented on Jan 23, 2026

    @jwflicker
    Author

    Btw @jwflicker , I am not sure I really understand your initial comment about the annotations. We used Spring AI to implement the MCP server inside of the Spring Tools, actually inside of the language server that the Spring Tools Eclipse plugin then provides and contributes to lsp4e - but that is just a side note.

    The annotations that you are referring to is a great way of building MCP servers (internally), but from what I can see has no relationship with how (existing) MCP servers are made available to the AI chat feature, etc.

    These are for plugins who want to contribute tools to the built-in centralized MCP server. Spring tools are creating their own MCP Server so yes these annotations are irrelevant.

  15. jwflicker commented on Jan 23, 2026

    @jwflicker
    Author

    I've started extracting some of these ideas into:

    External MCP Registry #19

  16. jwflicker commented on Jan 23, 2026

    @jwflicker
    Author

    I'm a bit curious as well about:

    the MCP server that we ship is embodied in the language server that we built. The MCP server runs in HTTP/SSE transport mode. It gets started as part of the language server (and shutdown the same way) and opens a port on localhost, so that clients can connect and use this MCP server.

    So on a side-note, some coding agents are experimenting with running LSP servers within their CLI. We may also want to consider exposing some LSP4J apis as MCP tools, though we dont want redundancies with an agents own.

    What prompts Eclipse to start/stop a language server in general, and in particular yours. Is this LSP4Js behavior?

    Why do we think that the use cases for using the Spring MCP will always align with when this LSP server is running? What sort of pre-reqs does that introduce?

    What are the qualms about always having the MCP server available for use? Is it that you don't want to flood the context window unnecessarily with tools that may be irrelevant to the task at hand? As some agents like Claude are also working on progressive inclusion of tools into scope based on the contents of the context window.

  17. jdneo commented on Jan 23, 2026

    @jdneo

    In that case, the proposal in microsoft/copilot-eclipse-feedback#16 (comment) is only half the bill since Copilot would still be missing the notifications about changes, right @jdneo ?

    Currently copilot plugin will notify if the contributed mcp server string is changed from a plugin. But if, for example, an http mcp, that the change happens at remote, then we cannot detect it yet.

  18. martinlippert commented on Jan 23, 2026

    @martinlippert
    Member

    I'm a bit curious as well about:

    the MCP server that we ship is embodied in the language server that we built. The MCP server runs in HTTP/SSE transport mode. It gets started as part of the language server (and shutdown the same way) and opens a port on localhost, so that clients can connect and use this MCP server.

    So on a side-note, some coding agents are experimenting with running LSP servers within their CLI. We may also want to consider exposing some LSP4J apis as MCP tools, though we dont want redundancies with an agents own.

    What prompts Eclipse to start/stop a language server in general, and in particular yours. Is this LSP4Js behavior?

    Why do we think that the use cases for using the Spring MCP will always align with when this LSP server is running? What sort of pre-reqs does that introduce?

    What are the qualms about always having the MCP server available for use? Is it that you don't want to flood the context window unnecessarily with tools that may be irrelevant to the task at hand? As some agents like Claude are also working on progressive inclusion of tools into scope based on the contents of the context window.

    The overall functionality of the Spring Tools is implemented as a language server. We do this to avoid re-implementing large parts multiple times for the different coding environments that we support. The Spring Tools language server relies on the existence of some Java tooling, so that resolving projects, getting classpath information, etc. is all done by the Java tooling and then passed along to the Spring Tools language server.

    Inside of VSCode, Eclipse, Cursor and those other environments that we support, the language server is running as soon as there is a Spring Boot project in the workspace. The language server runs in the background, analyses the projects, and serves language server requests from the client, pushes notifications to the client, etc. This is the usual way those language servers operate. Due to the fact that the MCP server that we have serves up information from the language servers internals (Spring specific knowledge), the MCP server would need to exchange information with the running language server. Instead of creating a separate additional API over HTTP or something for the MCP server to talk to the language server, we embed the MCP server into the language server, very much like remote MCP servers operate.

    We could, of course, implement a standalone MCP server that is running on-demand when the MCP client starts it up, but then this MCP server would have to get the information from somewhere - or analyze the project on its own by starting up a Spring Tools language server, which then would require a Java language tooling to be around, etc.

    Hope this explains the overall design decisions that we made. Happy to answer more questions around this anytime.

  19. martinlippert commented on Jan 23, 2026

    @martinlippert
    Member

    @jwflicker Is there already a way (extension point similar to the Copilot one or an API) to contribute / auto-configure an MCP with the Eclipse agents plugins, so that we could contribute the Spring Tools MCP server to Copilot as well as to the agents plugin?

  20. fedejeanne commented on Jan 26, 2026

    @fedejeanne

    @martinlippert:

    @fedejeanne With a "central registry", you mean one registry inside of a running Eclipse IDE where we (the Spring Tools) could register/configure our MCP server, the user could configure MCP servers, and potential clients (e.g. Copilot, an Eclipse ACP plugin, Eclipse Llama, etc.) could grab the config from, right?

    Yes, that's what I mean.

    I am not sure about events. If a client starts an MCP server and connects to it via STDIO, another client could do the same at the same time, totally independent of each other. So I would probably not (yet) dive into keeping any runtime state of running/starting/stopping MCP servers in a central registry. I would focus the central registry in the part described above only and not go beyond that.

    You're right about STDIO being different in the sense that clients can simply start Server as a separate process and be the only ones talking to it, which means they would know exactly if a server is running or not. In such case (STDIO) the mere presence of the server in the registry would mean that it is available to be spun up (you can run the command) and a notification about the server being removed would mean to the clients Time to remove the server from our lists, it no longer exists (and trying to spin up a process will fail). I guess the exact details would have to be discussed in https://github.com/eclipse-agents/eclipse-agents/issues/19 but thank you for the hint!

  21. martinlippert commented on Aug 21, 2026

    @martinlippert
    Member

    @jwflicker @fedejeanne The mentioned repositories around "eclipse-agents" seem to be gone. Should we close this issue here as well or is there any activity going on regarding these topics?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions