Skip to main content
Contact us Contact us
Contact us Contact us
Expert opinion

How Agent Mode and MCP Servers Enhance the GitHub Copilot Experience

As part of our continuing investigation into the evolution of developer tools, we had a conversation with Ostap Elyashevskyy, our Test Automation Competence Manager, to learn more about how new developments are changing the software development environment.

Two of GitHub Copilot's capabilities, Agent Mode and Model Context Protocol (MCP), stand out in particular as the platform develops beyond its original potential. Ostap gives a summary of these features and explains how they improve workflows for testing and development.

Can Agent mode and Model Context Protocol elevate the GitHub Copilot Experience?

Yes, Agent mode and MCP servers can significantly enhance the GitHub Copilot experience. Before the support of Agent mode, Copilot was a more autocomplete tool which required step-by-step commands of what to do. Now Agent mode + MCP makes it a more autonomous and goal-seeking tool rather than a declarative tool. Instead of typing “write a test for this function,” you could say, “Ensure this module is fully tested and bug-free,” and it figures out what to do. Moreover, MCP servers give your agent context and tools, enabling interactions with applications under test at a completely new level. It’s like the missing puzzle piece that’s now available in GitHub Copilot or Cursor.

To summarise, let’s review how Agent mode and MCP improve GitHub Copilot:

Feature Agent Mode MCP Servers Description
Understands goals Copilot can follow high-level tasks like “migrate to Playwright.”
Plans multi-step tasks It breaks big tasks into smaller steps and completes them.
Access to full project context It can see all code files, configs, docs, and test results.
Uses external tools (linters, tests) Copilot can run tests, check formatting, or call dev tools.
Remembers project actions Keeps track of what it's done to make smarter future changes.
Flexible, plugin-based system You can add tools or agents (e.g., a security checker) easily.

Together, they form the backbone for the next-gen Copilot, capable of resolving problems in agentic mode without much user intervention.

How can MCP impact the testing process?

Model Context Protocol is a game changer as it adds context to your prompts: for example, let's say that we have a Web application and we must write tests based on test cases. We use Playwright MCP Server, which knows how to deal with web applications, knows how to parse the DOM model and can generate valid tests or scripts which interact with web elements. It’s like a bridge to the application under test.

There are dozens of MCP servers for different purposes. For example, for testing, the most helpful are Web, API, DB, Accessibility, Security, Mobile testing, MCP servers and others. It is worth mentioning that usage is broad: from generation and execution of code in agentic mode to asking specific questions about DB schema, or fields in API requests, locators for some complex elements, and so on. It means that Manual and Automation test engineers can utilise the MCP servers' concept in their work. Together, the agentic mode and the MCP make Copilot more powerful than it was before. It is often referenced as the “USB-C” of AI agents, meaning that it allows connecting different AI agents through a common interface.

What are the benefits of MCP in testing?

  1. Dynamic test generation. It allows you to generate/execute code based on the context of your application.
  2. Maintenance. If a model context changes, for example, data type of some field in the REST request or UI locator of the page, it is easier to update tests as the MCP server has access to the context.
  3. Quick review and feedback. For example, we want to find broken links, do an evaluation of accessibility issues on the page, do API tests for the given endpoint, security check of the login form, check coverage according to requirements, and many other cases where it is helpful.
  4. Risk-based testing, better test coverage. Having access to context provides more information to LLM about risky areas and edge cases. This helps to generate more relevant tests or suggestions about what to test.
  5. Other benefits which are not so obvious from the first perspective, for example, faster onboarding–you can ask questions about the application, its architecture and interfaces directly in the GitHub Copilot with MCP servers. If you are learning DB structure to create SQL requests, you can ask about tables, their relation, fields/format to better understand how they are connected, and finally generate/explain a SQL query to fetch needed data.

Are there any security concerns with MCP?

Security is the most important concern in the MCP architecture. Because it allows agents to freely share memory and invoke tools without strict checks, a compromised tool can corrupt the system, leak sensitive data, or trigger widespread failures. Without stronger security controls like access restrictions, validation, and versioning, MCP can become a serious vulnerability.

To secure MCP, you should take the following actions:
  • Control access. Only trusted agents and tools should be allowed to access or change memory and actions. For example, GitHub Copilot or Cursor with an AI Assistant downloaded from the official websites are trusted agents.
  • Validate. Always check and verify any information agents share before accepting it or acting on it.
  • Isolate sensitive data. Keep critical systems separate so a compromised agent can't reach everything at once.
  • Monitor for abnormal behaviour. Review agents for unexpected actions, like accessing tools they normally shouldn’t use.
Quality assurance
Application development
Artificial intelligence
Skip the section

FAQs

What is MCP?

The Model Context Protocol (MCP) represents a newly developed specification that provides a structured framework for delivering tools and contextual information to LLMs. An MCP server can be conceptualised as a compact, independent application with the capability to provide self-description and handle requests from language models.

Does GitHub Copilot have agent mode?
What is the difference between Copilot edit and agent mode?
Talk to experts
Skip the section
Contact Us
  • We need your name to know how to address you
  • We need your phone number to reach you with response to your request
  • We need your country of business to know from what office to contact you
  • We need your company name to know your background and how we can use our experience to help you
  • Accepted file types: jpg, gif, png, pdf, doc, docx, xls, xlsx, ppt, pptx, Max. file size: 10 MB.
(jpg, gif, png, pdf, doc, docx, xls, xlsx, ppt, pptx, PNG)

We will add your info to our CRM for contacting you regarding your request. For more info please consult our privacy policy
  • This field is for validation purposes and should be left unchanged.

What our customers say

The breadth of knowledge and understanding that ELEKS has within its walls allows us to leverage that expertise to make superior deliverables for our customers. When you work with ELEKS, you are working with the top 1% of the aptitude and engineering excellence of the whole country.

sam fleming
Sam Fleming
President, Fleming-AOD

Right from the start, we really liked ELEKS’ commitment and engagement. They came to us with their best people to try to understand our context, our business idea, and developed the first prototype with us. They were very professional and very customer oriented. I think, without ELEKS it probably would not have been possible to have such a successful product in such a short period of time.

Caroline Aumeran
Caroline Aumeran
Head of Product Development, appygas

ELEKS has been involved in the development of a number of our consumer-facing websites and mobile applications that allow our customers to easily track their shipments, get the information they need as well as stay in touch with us. We’ve appreciated the level of ELEKS’ expertise, responsiveness and attention to details.

samer-min
Samer Awajan
CTO, Aramex