NextBlock CMS — Claude Code MCP server: features and setup
Connect Claude Code to a self-hosted NextBlock site and let the agent manage its pages, posts, blocks, media, and settings.
Open on GitHubWhat NextBlock CMS 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.
What it helps with
- edit a page on a NextBlock site
- create a site post
- change a page block
- manage site media
- update NextBlock settings
Example prompts for the agent
- 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.
How to install NextBlock CMS
1Template address
The server address is a template: replace {…} or […] with your own values
2Platform CLI: remote server
claude mcp add --transport http nextblock-cms https://{site_host}/api/mcp1Template address
The server address is a template: replace {…} or […] with your own values
2Platform CLI: remote server
codex mcp add nextblock-cms --url https://{site_host}/api/mcp1Template address
The server address is a template: replace {…} or […] with your own values
2Config file
{
"mcpServers": {
"nextblock-cms": {
"url": "https://{site_host}/api/mcp"
}
}
}1Template address
The server address is a template: replace {…} or […] with your own values
2Config file
{
"servers": {
"nextblock-cms": {
"type": "http",
"url": "https://{site_host}/api/mcp"
}
}
}1Template address
The server address is a template: replace {…} or […] with your own values
2Platform CLI: remote server
gemini mcp add -t http nextblock-cms https://{site_host}/api/mcpStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about NextBlock CMS
How do I install NextBlock CMS in Claude Code?
Run claude mcp add --transport http nextblock-cms https://{site_host}/api/mcp, replacing {site_host} with your site host.
What does NextBlock CMS do?
It connects an agent to a NextBlock site so the agent can manage pages, posts, blocks, media, and settings.
What do I need to use NextBlock CMS?
You need a deployed self-hosted NextBlock site. The MCP connection uses its host and the /api/mcp endpoint.