---
title: "Add YeNo to Cursor: MCP Setup in mcp.json"
url: https://www.yenorules.com/guides/yeno-for-cursor
description: "Add YeNo to Cursor as a remote MCP server, so Cursor's agent checks your rules before it deploys, deletes or spends. The mcp.json entry and steps."
author: YeNo Team
updated: 2026-11-11
---
# Add YeNo to Cursor

Add YeNo to Cursor as a remote MCP (Model Context Protocol) server, and Cursor's agent checks your rules before risky moves like deploying, deleting or spending.

By [YeNo Team](https://www.yenorules.com/about#team) · Updated 11 Nov 2026

## At a *glance*

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

| Where | **~/.cursor/mcp.json** (every project) or **.cursor/mcp.json** (one project) |
|---|---|
| Sign-in | OAuth (Open Authorization): a code you approve in YeNo on your phone |
| Address | `https://app.yenorules.com/mcp` |

## The entry to add

`{ "mcpServers": { "yeno": { "url": "https://app.yenorules.com/mcp" } } }`

If the file already has servers, add the **yeno** line inside the existing **mcpServers**.

## Step by step

1.

### Add the entry

Open **~/.cursor/mcp.json** (create it if it doesn't exist), add the entry above and save. You can also manage MCP servers from **Customize** in Cursor's sidebar.

2.

### Sign in

Next to YeNo in Cursor's MCP list, click **Needs login** (or **Connect**).

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.

### Check it

YeNo should show as connected. In the agent, ask: "What are my YeNo rules?"

## What Cursor checks

Cursor 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](https://www.yenorules.com/guides/rules-for-ai-agents) explains the difference.

## Not working?

- Make sure the file is valid JSON: one missing comma stops every server in it.
- Reload Cursor after editing **mcp.json** if YeNo doesn't appear.
- Still nothing? Remove the entry, add it again and sign in again.

## Questions, answered

01Project or global?

Use **~/.cursor/mcp.json** to have YeNo in every project, or **.cursor/mcp.json** in a project to share the setting with your team. Each person still signs in with their own YeNo.

**Sources:** [Cursor Docs: Model Context Protocol (MCP)](https://cursor.com/docs/mcp). Steps for YeNo come from the YeNo app's own setup screens.

## Cite this page

*[YeNo Team](https://www.yenorules.com/about#team), YeNo Rules. “YeNo for Cursor.” Last updated November 11, 2026.* [www.yenorules.com/guides/yeno-for-cursor](https://www.yenorules.com/guides/yeno-for-cursor)
