You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 28, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Apr 28, 2026. It is now read-only.
Support register MCP tools from other Eclipse plug-in #16
We are also looking into this - starting local MCP server from Eclipse & auto-configure Copilot to use this MCP.
Ideally there would be extension point to do that. Especially the MCP url should be taken from extension point because if we start local MCP server it will have some unique port calculated dynamically at startup.
Especially the MCP url should be taken from extension point because if we start local MCP server it will have some unique port calculated dynamically at startup.
I would like to discuss more about this:
Since the port is dynamically generated, so it cannot be an extension point that staticly declare the mcp servers, instead, should be a provider-like stuff, right? Which means, plugins register a mcp server provider, and copilot plugin pull the configurations from the providers.
Interesting idea but from a security point of view I do not want my IDE to spawn 10 local unprotected webservers from various plugins on dynamic ports to expose IDE features as MCP tools. Maybe they should do this more in the STDIO way by exposing input / output streams to do MCP or at least have authentication turned on which also needs to be passed from the plugin to the Copilot MCP configuration.
BROS (@bros-swissas) I am not sure I fully understand the suggestion about using STDIO for this yet. Can you elaborate on this a bit more? From my current understanding, STDIO is used for MCP servers when the MCP client (the Copilot plugin running inside of Eclipse in this case) starts up the MCP server as a separate process and then connects to it using STDIO.
Since the MCP server that I am thinking about should provide functions/tools that get information and execute actions inside of the IDE, this separate MCP server would then have to communicate with the IDE to do those things. That is why connecting the MCP client via SSE/Streamable HTTP to the MCP server piece looks like a nice option to me.
I would configure the HTTP server for this to only accept connections from localhost to address the security conversation (authentication is an additional option of course).
In the end, the Copilot plugin for Eclipse allows users to configure MCP servers manually and I don't think the Copilot plugin for Eclipse should restrict this. The only thing that we are looking for is configuring those MCP servers programmatically (instead of manually), which would enable other developers to build nice user experiences for this. The discussion about which communication channel MCP servers should use or not use is - in my opinion - an important, but different topic... :-)
Ok I miss understood that part. I thought your eclipse plugins would launch a internal webserver to offer MCP with a dynamic port and then modify the Copilot configuration to register it.
But it seems you only want to modify the configuration and the MCP server independent of how the server is launched.
Thanks Sheng Chen (@jdneo) for the update here. What is the expected content of the String that the getMcpServerConfigured returns?
And when is this method being called? And is it okay if the future takes a few seconds to complete?
when is this method being called? And is it okay if the future takes a few seconds to complete?
It is being called once the copilot plugin is activated. The extension point resolving happens in a background thread so it's ok that the future takes a few seconds to complete
So this would replace/extend the current static mechanism (Text field) that you use to attach MCP-Servers?
Pardon my ignorance but is the format in which you accept the server(s) some standardized format or is it specific to Copilot? I noticed it looks similar to what Claude Desktop uses. If it were to be standardized, it would be a win.
Also, shouldn't the answer exclude the "servers": part and return a Collection<String> with several servers instead? I mean you probably want to gather all servers by calling all extensions in the Workbench and then add 1 array of servers ?
So this would replace/extend the current static mechanism (Text field) that you use to attach MCP-Servers?
No, they will not be merged into the user configured text-based preference. They are stored separately.
Also, shouldn't the answer exclude the "servers": part and return a Collection with several servers instead? I mean you probably want to gather all servers by calling all extensions in the Workbench and then add 1 array of servers?
The plugin will parse the json string and do the merge, don't worry.
So this would replace/extend the current static mechanism (Text field) that you use to attach MCP-Servers?
No, they will not be merged into the user configured text-based preference. They are stored separately.
But I guess in the end the user will have some way of knowing which MCP servers does Copilot know, right? Like adding more entries into the tree below (the one that shows the Built-in Tools in my screenshot above)?
Also, shouldn't the answer exclude the "servers": part and return a Collection with several servers instead? I mean you probably want to gather all servers by calling all extensions in the Workbench and then add 1 array of servers?
The plugin will parse the json string and do the merge, don't worry.
As long as several plugins can provide several MCP servers and they all make it to the final list of available MCP servers, is all good 👍
But I guess in the end the user will have some way of knowing which MCP servers does Copilot know, right? Like adding more entries into the tree below (the one that shows the Built-in Tools in my screenshot above)?
Yes, all enabled the MCP servers will listed in the bottom box
Hey Sheng Chen (@jdneo), I tried this, but I am not yet able to get the extension point to work. I have com.microsoft.copilot.eclipse.ui in version 0.14.0.202512112209 installed, but looking at the timestamp makes me wonder if I need a more up-to-date snapshot build here. Do you have any advice for me?
Hey @jdneo, I tried this, but I am not yet able to get the extension point to work. I have com.microsoft.copilot.eclipse.ui in version 0.14.0.202512112209 installed, but looking at the timestamp makes me wonder if I need a more up-to-date snapshot build here. Do you have any advice for me?
Please ignore the previous comment, I found the nightly update site, installed the latest snapshot builds, and it works quite nicely. Great work!
Activity
jdneo commentedon Aug 5, 2025
Hi Alex Boyko (@BoykoAlex),
I have questions about this request:
iloveeclipse commentedon Aug 5, 2025
We are also looking into this - starting local MCP server from Eclipse & auto-configure Copilot to use this MCP.
Ideally there would be extension point to do that. Especially the MCP url should be taken from extension point because if we start local MCP server it will have some unique port calculated dynamically at startup.
BoykoAlex commentedon Aug 6, 2025
MCPs from Spring Tools (provided by Spring)
jdneo commentedon Aug 6, 2025
Alex Boyko (@BoykoAlex) May I ask how to setup the MCPs from Spring Tools?
We would like to first evaluate our current MCP support can meet your requirement.
BoykoAlex commentedon Aug 6, 2025
Our current MCP is just a small POC for now providing bean information to the LLM: https://github.com/spring-projects/spring-tools/tree/main/headless-services/spring-boot-language-server/src/main/java/org/springframework/ide/vscode/boot/mcp
However, there are more MCPs coming which Martin Lippert (@martinlippert) probably have shared to some extent via our gchat channel
jdneo commentedon Aug 8, 2025
I would like to discuss more about this:
Since the port is dynamically generated, so it cannot be an extension point that staticly declare the mcp servers, instead, should be a provider-like stuff, right? Which means, plugins register a mcp server provider, and copilot plugin pull the configurations from the providers.
iloveeclipse commentedon Aug 8, 2025
Correct, the extension point would involve some kind of callback API which the contribution has to implement.
bros-swissas commentedon Aug 22, 2025
Interesting idea but from a security point of view I do not want my IDE to spawn 10 local unprotected webservers from various plugins on dynamic ports to expose IDE features as MCP tools. Maybe they should do this more in the STDIO way by exposing input / output streams to do MCP or at least have authentication turned on which also needs to be passed from the plugin to the Copilot MCP configuration.
martinlippert commentedon Aug 22, 2025
BROS (@bros-swissas) I am not sure I fully understand the suggestion about using STDIO for this yet. Can you elaborate on this a bit more? From my current understanding, STDIO is used for MCP servers when the MCP client (the Copilot plugin running inside of Eclipse in this case) starts up the MCP server as a separate process and then connects to it using STDIO.
Since the MCP server that I am thinking about should provide functions/tools that get information and execute actions inside of the IDE, this separate MCP server would then have to communicate with the IDE to do those things. That is why connecting the MCP client via SSE/Streamable HTTP to the MCP server piece looks like a nice option to me.
I would configure the HTTP server for this to only accept connections from localhost to address the security conversation (authentication is an additional option of course).
In the end, the Copilot plugin for Eclipse allows users to configure MCP servers manually and I don't think the Copilot plugin for Eclipse should restrict this. The only thing that we are looking for is configuring those MCP servers programmatically (instead of manually), which would enable other developers to build nice user experiences for this. The discussion about which communication channel MCP servers should use or not use is - in my opinion - an important, but different topic... :-)
bros-swissas commentedon Aug 22, 2025
Ok I miss understood that part. I thought your eclipse plugins would launch a internal webserver to offer MCP with a dynamic port and then modify the Copilot configuration to register it.
But it seems you only want to modify the configuration and the MCP server independent of how the server is launched.
jdneo commentedon Jan 12, 2026
Below is how to register your own MCP server to copilot
com.microsoft.copilot.eclipse.ui;resolution:=optionalunderRequire-Bundlesection to your plugin'sMANIFEST.MFmartinlippert commentedon Jan 15, 2026
Thanks Sheng Chen (@jdneo) for the update here. What is the expected content of the String that the
getMcpServerConfiguredreturns?And when is this method being called? And is it okay if the future takes a few seconds to complete?
jdneo commentedon Jan 16, 2026
Sorry I did not explain it clearly. It's the string of the json configuration for the MCP servers. Example:
It is being called once the copilot plugin is activated. The extension point resolving happens in a background thread so it's ok that the future takes a few seconds to complete
fedejeanne commentedon Jan 21, 2026
So this would replace/extend the current static mechanism (Text field) that you use to attach MCP-Servers?
Pardon my ignorance but is the format in which you accept the server(s) some standardized format or is it specific to Copilot? I noticed it looks similar to what Claude Desktop uses. If it were to be standardized, it would be a win.
Also, shouldn't the answer exclude the
"servers":part and return aCollection<String>with several servers instead? I mean you probably want to gather all servers by calling all extensions in the Workbench and then add 1 array ofservers?jdneo commentedon Jan 22, 2026
No, they will not be merged into the user configured text-based preference. They are stored separately.
The plugin will parse the json string and do the merge, don't worry.
fedejeanne commentedon Jan 22, 2026
But I guess in the end the user will have some way of knowing which MCP servers does Copilot know, right? Like adding more entries into the tree below (the one that shows the Built-in Tools in my screenshot above)?
As long as several plugins can provide several MCP servers and they all make it to the final list of available MCP servers, is all good 👍
jdneo commentedon Jan 22, 2026
Yes, all enabled the MCP servers will listed in the bottom box
martinlippert commentedon Jan 22, 2026
Hey Sheng Chen (@jdneo), I tried this, but I am not yet able to get the extension point to work. I have
com.microsoft.copilot.eclipse.uiin version0.14.0.202512112209installed, but looking at the timestamp makes me wonder if I need a more up-to-date snapshot build here. Do you have any advice for me?martinlippert commentedon Jan 22, 2026
Please ignore the previous comment, I found the nightly update site, installed the latest snapshot builds, and it works quite nicely. Great work!