0-setup-mcp

0-setup-mcp is a command for GitHub Copilot from microsoft/model-mondays. It costs 0 tokens per session (752 once invoked), scanned A, original, MIT.

A setup command for configuring Model Context Protocol servers in Visual Studio Code. MCP is a standard way for an AI coding assistant to connect to outside tools and information, such as Microsoft documentation or GitHub.

In plain words
What is it for?
Use it to create a .vscode/mcp.json file with Microsoft Docs, GitHub, and optional Hugging Face connections.
Why use it?
It helps create the required configuration without putting access tokens directly in source files. It also explains token handling, Codespaces secrets, and keeping the configuration out of version control.

Command for GitHub Copilot ✓ vendor

Written for GitHub Copilot: a Copilot chat mode or prompt.

Good fit Use it to create a .vscode/mcp.json file with Microsoft Docs, GitHub, and optional Hugging Face connections.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/microsoft/model-mondays/0-setup-mcp
About the project

Model Mondays is a weekly Microsoft livestream and Discord-based learning series about choosing and using generative AI models. Developers and other AI practitioners use its roundups, spotlight sessions, demonstrations, and office hours to understand model fundamentals, compare options, and plan solutions. The catalogue contains an instruction related to the series.

microsoft/model-mondays · 301 stars · on GitHub · microsoft.github.io

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/microsoft/model-mondays

Made for: GitHub Copilot.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for 0-setup-mcp

README.md
[![agentmods](https://agentmods.dev/badge/commands/microsoft/model-mondays/0-setup-mcp/github.svg)](https://agentmods.dev/commands/microsoft/model-mondays/0-setup-mcp)
Your own site
<a href="https://agentmods.dev/commands/microsoft/model-mondays/0-setup-mcp"><img src="https://agentmods.dev/badge/commands/microsoft/model-mondays/0-setup-mcp/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for 0-setup-mcp

Your own site · 80×15
<a href="https://agentmods.dev/commands/microsoft/model-mondays/0-setup-mcp"><img src="https://agentmods.dev/badge/commands/microsoft/model-mondays/0-setup-mcp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 752 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00752
Opus 5.5 $0.00000 $0.00301
Sonnet 5.5 $0.00000 $0.00150
Haiku 4.5 $0.00000 $0.00075

Measured 21d ago against content hash 775c3bc43d1c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

0-setup-mcp scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 21d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.github/prompts/0-setup-mcp.prompt.md · 97 lines

How it starts

The opening of the file, as written. The whole thing — 97 lines — stays where its author put it; the contents beside it link to each section on GitHub.

MCP Server Setup Meta Prompt

You are an expert assistant helping to set up Model Context Protocol (MCP) servers in Visual Studio Code. Your task is to help create and configure a .vscode/mcp.json file with the appropriate MCP servers for enhanced GitHub Copilot functionality.

Getting Started

I need to set up MCP servers in my VS Code workspace. Please help me create a .vscode/mcp.json configuration file that includes:

Required MCP Servers:

  • Microsoft Docs MCP Server (for documentation search and grounding)
  • GitHub MCP Server (for repository and GitHub API access)

Optional MCP Servers (ask if I want to include):

  • Hugging Face MCP Server (for model and dataset information)
  • Other relevant MCP servers based on my project needs

Configuration Requirements

Security Considerations

  • Never hardcode sensitive tokens directly in the configuration
  • Use environment variables or input prompts for authentication tokens
  • Explain how to set up GitHub Codespaces secrets for token management
  • Ensure the .vscode/mcp.json file is added to .gitignore

Required Tokens/Authentication

Help me understand what tokens I need to create:

  1. GitHub Personal Access Token (PAT): Fine-grained token for GitHub MCP server
  2. Hugging Face Token: Read-only token for HF MCP server (if included)
  3. Other tokens: Based on additional servers selected

Configuration Format

The MCP configuration should include:

  • inputs: For secure token handling via prompts
  • servers: Configuration for each MCP server including:
    • Connection details (URL or Docker command)
    • Authentication setup
    • Environment variable handling

Expected Deliverables

  1. Complete .vscode/mcp.json file with:

    • Microsoft Docs MCP server configuration
    • GitHub MCP server with secure token handling
    • Any additional servers I request
  2. Setup Instructions including:

    • How to create required tokens
    • How to set up GitHub Codespaces secrets
    • How to ensure .vscode/mcp.json is in .gitignore
    • How to test the MCP server connections

Read the full file on GitHub · 97 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 21d ago First seen · 97 lines · 0 tokens per session scan A 775c3bc43d1c

Subscribe to this mod's changes

0-setup-mcp is a command published in the GitHub repository microsoft/model-mondays (301 stars, last pushed 8d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 752 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-25.