Today, we’re excited to announce that GitHub Copilot Agent Mode and MCP support are now in public preview for both JetBrains and Eclipse! Whether you’re working in IntelliJ IDEA, PyCharm, WebStorm or Eclipse, you can now access Copilot’s intelligent agent features and seamlessly manage your project workflows, all from within your IDE.Â
In this post, we’ll demonstrate how Agent Mode and MCP support can supercharge real-world development workflows through a collaborative feature development story. Meet Adrian, a backend-focused Java developer who primarily uses JetBrains, and Lucy, a full-stack enthusiast working in Eclipse. Together, they’re enhancing the popular Spring PetClinic project by adding a brand-new feature: Pet Adoption.Â
PetClinic is a classic Spring Boot demo application, widely used for learning and prototyping. It simulates a veterinary clinic system, with features like managing pets, owners, and visits. Adrian and Lucy’s mission: add a Pet Adoption feature from scratch, showing how GitHub Copilot Agent Mode and MCP make collaboration effortless.Â
🚀 Gets Started with Agent Mode and MCP on JetBrains IDEsÂ
Adrian begins by cloning the PetClinic repo into his IntelliJ: git clone https://github.com/spring-projects/spring-petclinic.git
By switching to the Agent(Preview) in the chat window, he gains the access to the agent mode and simply types:"Build and run the project"Â
Copilot handles the setup, including project build, dependency resolution, and launching the app.Â
Next, Adrian uses Agent Mode to generate the new adoption page:Â
Create a new tab for me called "Adopt Me": this adoption page should haveÂ
1. A new page called "Adoption"
2. A tab entry in the navigation bar called "Adopt Me", this tab is next to the "Find Owners" tab
3. A description paragraph calling for pets adoption, make it the 1st person point of view
4. A table of content with these columns:
          - Species (cat, dog, snake)Â
          - GenderÂ
          - AgeÂ
          - DescriptionÂ
          - Adopt Me (a button for a quick adopt page, if adopted, the button will be greyed out)Â
Within seconds, Copilot scaffolds the new feature with a new navigation tab, a dedicated page, and a responsive table interface. Adrian is impressed.Â
Adrian then decided to publish the project to GitHub. But before that, he needs to setup the GitHub MCP server.Â
- Click on the GitHub Copilot IconÂ
in the lower Right Corner Â
- Select Edit Settings in the menu Â
- Find the MCP section and click on Edit in mcp.json Â
{
"servers": {
"GitHub": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-github"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "your-own-token"
}
}
}
}
Notice that if it is your first time to enable the github personal access token(pat), please follow the instructions from the official doc.Â
You also need to have node.js installed in your local environment.Â
With the MVP ready, Adrian switches to GitHub Copilot MCP and instructs:Â
Create a repo called PetClinicAcoption and push this project into the repo. Return me the repo URL.
Copilot MCP creates the repository, pushes the code, and sets everything up.Â
The project is now available on GitHub. Adrian then adds Lucy as a collaborator, and they decide Lucy will refine the UI by updating the icon for the new tab.Â
🚀 Gets Started with Agent Mode and MCP on Eclipse IDEÂ
Lucy opens Eclipse and forks the repo using GitHub MCP server.Â
To enable MCP on Eclipse:Â
- Click on the GitHub Copilot Icon
in the lower Right Corner .
- Select Edit Preferences in the menu Â
- In the left pane, expand GitHub Copilot and Click on MCP 
Notice that if it is your first time to enable the github personal access token(pat), please follow the instructions from the official doc.Â
You also need to have node.js installed in your local environment.Â
After switching to the agent mode by selecting Agent(Preview) in the chat box, Lucy types:Â
Clone https://github.com/AdrianContoso/PetClinicAcoption and create a new branch called adoption_new_icon
Adrian’s project has now been cloned, where she creates a new branch to begin her work. She then instructs:Â
Change the adoption tab icon from a heart to a claw icon
Copilot locates the relevant UI component and swaps the icon, keeping the styling and layout intact.Â
Lucy wants to check the build, so she types:Â
Build and run the project
Looks like there are some build errors, GitHub Copilot then started to troubleshoot the issue.Â
After getting the confirmation from Lucy, GitHub Copilot fixes the issue and re-run the project, now Lucy can see the new icon took effects:Â
After testing the updated UI via Agent Mode, Lucy uses MCP once again to send the PR:Â
Done. The collaboration is complete. Effortlessly orchestrated across tools and platforms with GitHub Copilot.
🙌 Try It YourselfÂ
The power of GitHub Copilot Agent Mode and Managed Code Projects (MCP) is now in your hands. Whether you’re a JetBrains pro like Adrian or an Eclipse power user like Lucy, you can streamline your development, collaborate more easily, and focus on what really matters—building great software.Â
👉 Ready to get started? Enable Agent Mode and MCP in your JetBrains or Eclipse today and start vibe coding with GitHub Copilot!Â
 Feedback Channel for JetBrains IDEs: https://github.com/microsoft/copilot-intellij-feedback/issues
Video demos: Copilot Agent Mode is now available in JetBrains IDEs
Official Doc: Agent Mode and MCP
Feedback Channel for Eclipse IDE: https://github.com/microsoft/copilot-eclipse-feedback/issues
Official Doc: Agent Mode and MCP
0 comments
Be the first to start the discussion.