CMS for Cursor

Decoupled.io is a headless CMS you can drive from inside Cursor. Add its MCP server to Cursor and the agent can create a Drupal space, model your content, import data and generate a typed TypeScript client, while your content team edits pages in a visual editor.

  • Open source CMS: built on Drupal, which is GPL-licensed.
  • Documented tools: 25+ MCP tools, listed in the MCP reference.
  • One-line setup: npx decoupled-cli@latest mcp configure --ide cursor.
  • Free plan, then $20/month (Starter) or $60/month (Pro).

Create a free space | Cursor setup guide

Why an app built in Cursor needs a CMS

Cursor writes components fast. The content inside them is still hardcoded, which causes four problems:

  • Every copy change is a deploy. A new headline means editing source and pushing.
  • Non-developers can't edit. There is no interface for your marketing or content team.
  • No structure. Taxonomies, relationships and reusable blocks need custom code.
  • No workflow. There are no drafts, revision history or scheduled publishing.

A headless CMS moves the content out of the code and gives your app an API to read it from.

Set up Decoupled.io in Cursor

  1. Get a token. Sign in at dashboard.decoupled.io and create one under Settings, then API Tokens.
  2. Configure Cursor. Run:
npx decoupled-cli@latest mcp configure --ide cursor

Or add the server in Cursor under Settings, then MCP:

{
  "mcpServers": {
    "decoupled-io": {
      "url": "https://mcp.decoupled.io/sse",
      "headers": { "Authorization": "Bearer dc_tok_YOUR_TOKEN" }
    }
  }
}
  1. Ask the agent. For example:

"Create a Drupal space called 'Acme Site'. Import a content model with landing pages and a blog with categories and authors. Give me the login link."

The agent calls create_space, import_content and get_login_link. These are real tools in the MCP reference. Review what it created in the Drupal admin before you build on it.

A typed client Cursor can autocomplete

decoupled-client generates TypeScript types from your Drupal schema, so Cursor completes real field names instead of guessing queries.

npm install decoupled-client
npx decoupled-cli schema sync
import { createClient } from 'decoupled-client'
import { createTypedClient } from './schema/client'

const base = createClient({
  baseUrl: process.env.NEXT_PUBLIC_DRUPAL_BASE_URL!,
  clientId: process.env.DRUPAL_CLIENT_ID!,
  clientSecret: process.env.DRUPAL_CLIENT_SECRET!,
})

const client = createTypedClient(base)

const posts = await client.getEntries('NodeBlogPost', { first: 10 })
const page = await client.getEntryByPath('/pricing')

Wrong field names fail at build time. Re-run schema sync after any content model change. See the typed client docs.

A visual editor for your content team

Developers keep building in Cursor. Editors use Drupal Canvas to arrange your own components and see a live preview rendered by your real frontend, with draft and publish. The Next.js and Astro starters ship with 17 components and Canvas already wired up. See the Canvas editor and starters.

What Decoupled.io provides for Cursor apps

Need What Decoupled.io provides
Agent access 25+ MCP tools for spaces, content import, discovery and frontend integration
Type safety Types generated from your Drupal schema with schema sync
APIs GraphQL and JSON:API on every plan
Editing Drupal Canvas visual editor, plus Drupal admin and content moderation
Hosting Managed Drupal on Fly.io, one isolated app per space
Frameworks Starters for Next.js and Astro; GraphQL and JSON:API work with any frontend

Questions

Does it work with Cursor's agent mode? Cursor supports MCP servers, and this is a standard MCP server, so the tools appear to the agent after you add it.

Which frontends can I use? Anything that can call GraphQL or JSON:API. The typed client and starters target Next.js and Astro.

What does it cost? The free plan includes one space that auto-archives after 24 hours. Starter is $20/month and Pro is $60/month. See pricing.

What are the limits? The module set is curated, so you can't install arbitrary Drupal modules. Free and Starter spaces cold-start in about 5 to 8 seconds after idle.

Try it in Cursor

Create a free space, run the mcp configure command above, and ask Cursor to build your content model.

Create a free space | MCP setup docs | Pricing