Does the MCP Server cover my use Case? #2161
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Hi, certainly our MCP server can get the files you want it to for example, and issues and things, so you likely can do what you need with it, but it depends a bit on whether you want to the agent to be able to do. One exception is you cannot use our MCP to pull down URLs for research outside of GitHub content, so you would likely need a tool for web fetch too. Depending on your constraints, I expect GitHub MCP could enable a lot of what you want, but for stuff that is provided up-front/deterministic you might want to just fetch that stuff ahead of time for the agent via code. |
Beta Was this translation helpful? Give feedback.
-
|
@WestonG40 Absolutely What MCP can do for your use caseMCP is very good at the GitHub‑related parts of your workflow:
This covers your step:
What MCP cannot do by itselfFrom the GitHub maintainer’s reply:
This means:
So your step:
…requires your own custom tool, not just MCP. What a complete solution looks likeTo replicate the Copilot Web UI behavior, you would build: 1. Your own MCP serverThis server would expose:
2. A custom UIYour UI would:
3. A policy layerThis enforces:
This is not something the model enforces automatically — you enforce it by controlling the tools. How the workflow would look in practiceStep A — User selects files + URLsYour UI sends something like: json Step B — Your MCP tools fetch only those
Step C — Model receives a structured context packageNot raw internet access — only what you explicitly provide. Step D — Model answers and includes citationsBecause your tools return structured metadata, the model can cite them. When MCP is the right choiceMCP is ideal if you want:
This matches your scenario very well. When MCP is not enough by itselfIf you expect:
…then MCP alone won’t do it. But MCP + your own small tools absolutely can. A simple architecture recommendation
Layer | Purpose
-- | --
Custom UI | User selects files + URLs
Your MCP server | Exposes GitHub + Web‑fetch tools
Your Web‑fetch tool | Fetches only allowed URLs
Your Source‑tracking logic | Returns structured citations
Model | Generates answer using only provided data
This is the closest equivalent to the Copilot Web UI — but fully under your control. |
Beta Was this translation helpful? Give feedback.

Hi, certainly our MCP server can get the files you want it to for example, and issues and things, so you likely can do what you need with it, but it depends a bit on whether you want to the agent to be able to do.
One exception is you cannot use our MCP to pull down URLs for research outside of GitHub content, so you would likely need a tool for web fetch too.
Depending on your constraints, I expect GitHub MCP could enable a lot of what you want, but for stuff that is provided up-front/deterministic you might want to just fetch that stuff ahead of time for the agent via code.