YeNo Rules home
Get YeNo

Add YeNo to VS Code

Add YeNo to VS Code as an MCP server, and GitHub Copilot's agent checks your rules before risky moves like deploying, deleting or spending.

By ·

At a glance

Checked 11 November 2026. Menus move: if a name differs, look for "connectors", "apps" or "MCP".

Where.vscode/mcp.json (one project) or your user mcp.json (every project)
Sign-inVS Code opens your browser: approve the code in YeNo on your phone
Addresshttps://app.yenorules.com/mcp

The entry to add

{
  "servers": {
    "yeno": { "type": "http", "url": "https://app.yenorules.com/mcp" }
  }
}

Or use the guided way: run Chat: Open Customizations, pick MCP Servers, then Add Server, choose HTTP and paste the address with the ID yeno.

Step by step

  1. Add the entry

    Create .vscode/mcp.json in your project (the command MCP: Open Workspace Folder MCP Configuration opens it), paste the entry above and save. For every project, use MCP: Open User Configuration instead.

  2. Sign in

    The first time YeNo starts, VS Code asks you to sign in and opens a browser window.

  3. Allow it on your phone

    A YeNo page opens with a short code. Enter that code in YeNo on your phone and tap Allow. Nothing secret is copied or pasted.

  4. Use it

    In Copilot Chat, use Agent mode and ask: "What are my YeNo rules?"

What VS Code checks

VS Code reads, edits and tests code as usual. YeNo is for the moves you'd want a say in: deploying, publishing a package, force-pushing, deleting data or cloud resources, and spending money. Your rules answer yes, no (with the reason, so the agent can do something else) or ask me, which waits for a tap on your phone.

Rules files such as AGENTS.md tell an agent how to write code; YeNo checks what it's allowed to do. Rules for AI agents explains the difference.

Not working?

  • Check the JSON: VS Code uses servers (not mcpServers) and needs "type": "http".
  • Open the MCP Servers list to see whether YeNo is running, and restart it from there.
  • Don't paste keys into shared configuration: the sign-in keeps them out of the file.

Questions, answered

01Does it work with other VS Code agents?

The steps above are for GitHub Copilot's agent in VS Code. Other extensions that support MCP use their own settings: look for "MCP server" and paste the same address.

Cite this page

, YeNo Rules. “YeNo for VS Code.” Last updated . www.yenorules.com/guides/yeno-for-vs-code

Share this page

Get YeNo