# Stet

> Stet is an open-source MCP server. Guardrails for AI coding agents: scope guard and locked behaviours for Claude Code, Cursor, Codex. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Website:** https://getstet.dev
- **Repository:** https://github.com/shamazkhan/stet
- **MCP Registry name:** io.github.shamazkhan/stet
- **Listing updated:** 2026-11-15

## About

Guardrails for AI coding agents: scope guard and locked behaviours for Claude Code, Cursor, Codex

## Install

### Claude Code (Terminal)

```sh
claude mcp add stet -- npx -y stet-cli
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "stet": {
      "command": "npx",
      "args": [
        "-y",
        "stet-cli"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "stet": {
      "command": "npx",
      "args": [
        "-y",
        "stet-cli"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "stet": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "stet-cli"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "stet": {
      "command": "npx",
      "args": [
        "-y",
        "stet-cli"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "stet": {
      "command": "npx",
      "args": [
        "-y",
        "stet-cli"
      ]
    }
  }
}
```

## FAQ

### Is Stet free?

Yes. Stet is open source, so you can use and self-host it for free.

### How do I add Stet to Claude Code?

Run this command in your terminal: claude mcp add stet -- npx -y stet-cli

---
Source: https://ai-powered.com/mcp/stet
