# NextBlock CMS

Connect Claude Code to a self-hosted NextBlock site and let the agent manage its pages, posts, blocks, media, and settings.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 17
- Author: nextblock-cms
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/nextblock-cms/nextblock
- Updated: 2026-10-21
- HTML: https://affpapa.org/en/nevibecode/mcp/nextblock-cms

## What it does

NextBlock CMS gives an agent access to content management on your self-hosted site. It can work with pages, posts, blocks, media, and site settings, so you can request content changes from your coding assistant instead of making each edit in the CMS yourself.

The MCP endpoint uses your site’s address and the `/api/mcp` path. Add that endpoint in Claude Code with the setup command below, substituting your site host. A deployed NextBlock site is required; without one, there is no endpoint to connect to.

## Requirements
- Remote server: `https://{site_host}/api/mcp`

## Install

### Claude Code (native platform)

1. **Template address**
- The server address is a template: replace {…} or […] with your own values

2. **Platform CLI: remote server**
```bash
claude mcp add --transport http nextblock-cms https://{site_host}/api/mcp
```

### Codex

1. **Template address**
- The server address is a template: replace {…} or […] with your own values

2. **Platform CLI: remote server**
```bash
codex mcp add nextblock-cms --url https://{site_host}/api/mcp
```

### Cursor

1. **Template address**
- The server address is a template: replace {…} or […] with your own values

2. **Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "nextblock-cms": {
            "url": "https://{site_host}/api/mcp"
        }
    }
}
```

### GitHub Copilot

1. **Template address**
- The server address is a template: replace {…} or […] with your own values

2. **Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "nextblock-cms": {
            "type": "http",
            "url": "https://{site_host}/api/mcp"
        }
    }
}
```

### Gemini CLI

1. **Template address**
- The server address is a template: replace {…} or […] with your own values

2. **Platform CLI: remote server**
```bash
gemini mcp add -t http nextblock-cms https://{site_host}/api/mcp
```

## When to use it
- edit a page on a NextBlock site
- create a site post
- change a page block
- manage site media
- update NextBlock settings

## Example prompts
- Update the About page on my NextBlock site.
- Create a post announcing the new section.
- Replace the text in the first block on the home page.

## Similar
- [REA](https://affpapa.org/en/nevibecode/mcp/rea.md) — MCP server · ★ 386989
- [GitHub](https://affpapa.org/en/nevibecode/mcp/github.md) — MCP server · ★ 33918
- [World Monitor](https://affpapa.org/en/nevibecode/mcp/world-monitor.md) — MCP server · ★ 89408
- [Netdata](https://affpapa.org/en/nevibecode/mcp/netdata.md) — MCP server · ★ 81115
- [Front-End Checklist](https://affpapa.org/en/nevibecode/mcp/front-end-checklist.md) — MCP server · ★ 74559
- [Scrapling MCP Server](https://affpapa.org/en/nevibecode/mcp/scrapling-mcp-server.md) — MCP server · ★ 89433

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
