Peck describes Copilot’s progression from code completion to chat and then Agent Mode. Agent Mode can work through a larger task, such as building an app or refactoring a codebase, while the developer guides its work and approves terminal actions.
Real world MCPs in GitHub Copilot Agent Mode
Speaker
Jon Peck of Microsoft explains how MCP servers extend GitHub Copilot Agent Mode, speaking at AI Engineer.
Peck starts with a README that lays out the project, setup, environment variables, schema, endpoints, and possibly workflow diagrams. He gives that to Copilot in Agent Mode and asks it to implement the plan; his example produced a basic working app in about eight minutes.
Peck describes MCP as an open protocol for connecting AI models to external data and services. In VS Code, he installs a PostgreSQL MCP server, configures its connection string, and asks Copilot to create a mock JSON file from database data for tests. The server is read-only, and Copilot asks permission before connecting.
Peck shows how a GitHub MCP server, configured with a personal access token, can carry out repository tasks. He asks Copilot to create a branch and pull request after making changes. He recommends adding a changelog instruction in `.github/copilot-instructions.md` so the agent records its work.
In response to an audience question, Peck says the relationship between local Agent Mode and GitHub’s issue-assigned coding agent is still evolving. Assigning an issue to Copilot can start background work that produces a pull request, and MCP settings can also be configured in repository settings.
Takeaways
- Give an agent a detailed README with setup, schema, endpoints, and workflow requirements.
- Name the MCP server explicitly when you want Copilot to use it.
- Use read-only database access when an agent only needs data for test fixtures.
- Require approval for terminal and MCP connections so you can review external actions.
- Add a changelog instruction to make an agent’s work easier to inspect.
Mentioned in this talk
Search inside this talk
What was claimed 8
- feature
Microsoft Copilot: Provides code completion, chat, and agent capabilities
“We moved on from that into chat”
YouTube Unverified1 source· Talk
- feature
GitHub Copilot Agent mode: Can complete multi-step development tasks and interact with terminal responses
“Agent Mode is really all about doing a complete task”
YouTube Unverified1 source· Talk
- featureMCP: Lets LLMs talk to external data sources and references
“It allows LLMs to talk to external data sources”
YouTube Unverified1 source· Talk
- integrates with
“My IDE, in this case VS Code, has configured in it which MCPs I want to actually use.”
YouTube Unverified1 source· Talk
- integrates withPostgreSQL MCP server integrates with
Postgres
“I'm using a local, unauthenticated PostgreSQL database.”
YouTube Unverified1 source· Talk
- featurePostgreSQL MCP server: Operates in read-only mode
“This particular Postgres MCP works only in read-only mode”
YouTube Unverified1 source· Talk
- feature
Figma MCP server: Can create a branch and pull request
“use the GitHub MCP to commit these changes to a new branch and make a PR”
YouTube Unverified1 source· Talk
- featurecoding agents: Can be assigned a GitHub issue and work in the background toward a pull request
“Copilot takes off and does a lot of the agent work we just saw, but in the background.”
YouTube Unverified1 source· Talk










