How to use GitHub Copilot for documentation SEO
Documentation sites are often what AI assistants quote when people ask how a product works, so docs SEO means clear answers that crawlers can fetch. GitHub Copilot in VS Code edits your docs repo; Brand Armor AI shows the questions assistants are asked about your product, which docs pages AI crawlers fail on and what your content plan covers next.
- Sign in with OAuth, API key optional
- Setup in about 2 minutes
- Setup checked against Microsoft and GitHub's docs, 29 November 2026
VS Code with GitHub Copilot marketing workflows, step by step
How to use GitHub Copilot to make docs answer what users ask AI assistants
Find the how-to questions assistants answer about your product, then make sure a docs page answers each one in its first lines. Brand Armor AI shows your saved prompts, the answers and which sources were cited, and Copilot adds or rewrites the matching docs sections in Markdown.
- Ask Brand Armor AI for saved prompts about using your product and the citations in each answer.
- Have Copilot flag prompts where answers cite third-party pages or nothing from your docs.
- For each one, ask Copilot to find the closest docs page and add a direct answer near the top.
- Keep the changes in one branch so your docs owner can review them together.
Use Brand Armor AI to list saved prompts about how to use our product and which sources the answers cite. Where our docs are not cited, find the closest page in /docs and add a short, direct answer at the top.Result: Docs pages that open with the answers people are looking for in AI assistants.
How to use GitHub Copilot to fix docs pages AI crawlers fail on
Docs sites break in quiet ways: renamed pages, old version paths and broken anchors leave crawlers with errors. Brand Armor AI shows which docs URLs AI crawlers requested and which failed, and Copilot fixes the redirects, sidebar entries and links in your docs config.
- Ask Brand Armor AI for AI crawler requests under your docs path that returned errors.
- Have Copilot match each URL to a renamed file, an old version folder or a missing redirect.
- Ask it to add redirects in your docs framework config and update internal links that still point to old paths.
- After the next deploy, check Brand Armor AI to confirm those requests now succeed.
Use Brand Armor AI to list AI crawler requests to /docs that failed this month. Match each URL to a file in this repo, add the missing redirects to our docs config and fix internal links to old paths.Result: A docs site where moved and versioned pages still resolve for AI crawlers.
How to use GitHub Copilot to write new docs pages in a Markdown repo
Write new guides from your content plan instead of from guesswork, and keep them in your repo like any other change. Brand Armor AI holds the content plan and saved articles, and Copilot drafts the next Markdown page with your frontmatter, headings and sidebar entry.
- Ask Brand Armor AI for the content plan items that belong in documentation rather than the blog.
- Have Copilot check the saved articles and existing docs so the new page does not repeat them.
- Ask it to draft the page with your frontmatter fields and add it to the sidebar or navigation file.
- Review the draft with the product owner before merging.
Read our Brand Armor AI content plan and saved articles. Pick the next topic that fits our documentation, check /docs for overlap, then draft the Markdown page with our frontmatter and add it to the sidebar.Result: New docs pages that follow your plan and your repo conventions, ready for review.
What VS Code with GitHub Copilot does on its own, and what it needs Brand Armor AI for
VS Code with GitHub Copilot on its own
- Edits Markdown and MDX with your frontmatter, link style and folder structure.
- Updates docs framework config such as redirects, sidebars and navigation files.
- Works inside VS Code, where many docs teams already write and review.
With Brand Armor AI connected
- It does not know what people ask AI assistants about your product or which sources get cited; Brand Armor AI tracks that for your saved prompts.
- It cannot see which docs URLs AI crawlers fail to fetch; Brand Armor AI's live crawler analytics show each failing request.
- It has no view of your content plan or saved articles; Brand Armor AI provides both.
Every connection starts read-only. Posts are saved as drafts unless you ask to schedule or publish, and you approve actions when you connect. See everything an agent can do in Brand Armor AI.
How to connect VS Code with GitHub Copilot to Brand Armor AI
You need a Brand Armor AI account with your website and social channels connected. You add Brand Armor AI to VS Code by running the MCP: Add Server command, choosing HTTP and entering https://api.brandarmor.ai/mcp, or by adding it to mcp.json with "type": "http". Copilot agent mode can then use Brand Armor AI tools. On Copilot Business and Enterprise, an admin must enable the "MCP servers in Copilot" policy.
Add the server
Open the Command Palette, run MCP: Add Server, choose HTTP and enter the URL with the id brandarmor. Or add it to .vscode/mcp.json:
json{ "servers": { "brandarmor": { "type": "http", "url": "https://api.brandarmor.ai/mcp" } } }Sign in
VS Code prompts you to sign in to Brand Armor AI when the server starts.
Use agent mode
Open Copilot Chat in agent mode and ask about your Brand Armor AI data.
Prefer an API key?
Use an API key
VS Code can prompt for the key once and store it securely. Create the key in Brand Armor AI under Settings, AI connections, API keys. Choose "Read and act" only if the agent should create, schedule or publish. Keep it in an environment variable or the agent's secret store, never in a shared file.
json{ "inputs": [ { "type": "promptString", "id": "brandarmor-key", "description": "Brand Armor AI API key", "password": true } ], "servers": { "brandarmor": { "type": "http", "url": "https://api.brandarmor.ai/mcp", "headers": { "Authorization": "Bearer ${input:brandarmor-key}" } } } }
- GitHub also documents a Copilot-native file (~/.copilot/mcp-config.json). The mcp.json format above remains supported in VS Code.
More things to ask VS Code with GitHub Copilot
- “Use Brand Armor AI to list pages AI crawlers could not fetch, then fix those routes.”
- “Read our Brand Armor AI content plan and draft the next article in /content.”
- “Which competitors are cited most in AI answers about our category?”
VS Code with GitHub Copilot for marketing: questions
- Can GitHub Copilot help with documentation SEO?
- Yes. Copilot can restructure pages, add direct answers, fix redirects and update links in a docs repo. Brand Armor AI tells it which questions and failing URLs to work on.
- Why do AI assistants not cite our documentation?
- Common reasons are answers buried deep in a page, pages that crawlers cannot fetch, and other sites answering the question more directly. Brand Armor AI's citations and crawler errors show which of these applies.
- Does this work with Docusaurus, MkDocs or other docs frameworks?
- Yes. Copilot edits whatever files your framework uses, and Brand Armor AI works from your public pages and crawler data, so it does not depend on the framework.
- Do I need Copilot Business to use MCP servers?
- No. Copilot Free, Pro and Pro+ can use MCP servers. On Copilot Business and Enterprise, an admin must enable the "MCP servers in Copilot" policy first.
- Why can I not see Brand Armor AI tools at work?
- On Copilot Business and Enterprise, your organisation admin must enable the "MCP servers in Copilot" policy first.
Setup checked against official Microsoft and GitHub documentation on 29 November 2026:
- code.visualstudio.com/docs/copilot/customization/mcp-servers
- docs.github.com/en/copilot/how-tos/provide-context/use-mcp/extend-copilot-chat-with-mcp
VS Code with GitHub Copilot is a trademark of Microsoft and GitHub. Brand Armor AI is not affiliated with or endorsed by Microsoft and GitHub.
Make your docs the answer AI assistants find
Start free, save the questions users ask about your product, then add Brand Armor AI to Copilot in VS Code. Your first docs fix list is ready in minutes.
