# Blockend MCP server

> Generates production-ready TypeScript backend blocks like rate limiting, validation, and logging directly into your codebase.

- Repository: https://github.com/codewithnuh/blockend
- Page: https://hostedmcp.org/servers/codewithnuh/blockend
- Transport: stdio
- Stars: 9
- License: MIT

## Install

### Claude Code

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

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

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

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

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

### Claude Desktop (`claude_desktop_config.json`)

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

### Codex (`~/.codex/config.toml`)

```toml
[mcp_servers.blockend]
command = "npx"
args = ["-y", "blockend-cli"]
```

### Gemini CLI (`~/.gemini/settings.json`)

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

## FAQ

### Do I have to use a Blockend runtime?

No, there is no Blockend runtime dependency. The installed blocks use standard packages like zod, pino, or jose.

### Can I modify the generated code?

Yes, you own the code once it is written to your repository, allowing you to read, change, commit, or remove it.

### Which frameworks are supported?

The CLI supports Express, Fastify, Next.js App Router, and Hono.

### What does the MCP server allow me to do?

The MCP server provides tools for block listing, project detection, diff preview, installation, updates, and health checks.
