reearth-cms-mcp

reearth/reearth-cms-mcp

3.2

If you are the rightful owner of reearth-cms-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

MCP server for Re:Earth CMS, enabling seamless integration and management of content models and items.

Re:Earth CMS MCP Server

MCP server for Re:Earth CMS.

Usecases

Here are some useful prompts to get started:

UsecasePrompt
Add commentAdd a comment "Needs review" to item XXX
Bulk updateUpdate all items in "locations" model to set status to "published"
Copy structureCopy the "template" model and name it "new-project"
Create itemCreate a new item in the "events" model with title "Summer Festival" and date "2025-08-15"
Data summarySummarize the data in the "sensors" model
Explore modelsWhat models are available in project XXX?
Export dataExport all items from "buildings" model as GeoJSON
List all projectsShow me all projects in my workspace
Publish assetPublish asset 123 in project abc
Publish itemPublish item 456 in model "articles"
Search itemsFind all items in the "products" model that contain "Tokyo"
Unpublish assetUnpublish asset 789 in project abc
View schemaShow me the schema for the "articles" model

Features

  • Assets: Manage assets and publish/unpublish them
  • Comments: Add, update, and delete comments on items and assets
  • Export: Export items as CSV or GeoJSON
  • Groups: Create, update, and delete groups
  • Items: Create, read, update, delete, and publish items
  • Models: List models and retrieve schema definitions
  • Projects: List and manage projects in your workspace

Note that this MCP doesn't have capabilities to manage workspaces, users and model's schemas.

Installation

Docker (Recommended)

docker pull reearth/reearth-cms-mcp

Go

go install github.com/reearth/reearth-cms-mcp

Configuration

Prerequisites

This MCP server uses the Re:Earth CMS integration API, so you need the following information:

How to obtain:

  • Integration Token: Create an integration in your Re:Earth CMS workspace settings. (Documentation is not yet available)
  • Workspace ID: You can find your workspace ID in the URL when using Re:Earth CMS editor: https://cms.reearth.io/workspaces/{workspace-id}/...
Claude Code
Docker (Recommended)Go
claude mcp add reearth-cms -e REEARTH_CMS_TOKEN=your-api-token -e REEARTH_CMS_WORKSPACE_ID=your-workspace-id -- docker run -i --rm -e REEARTH_CMS_TOKEN -e REEARTH_CMS_WORKSPACE_ID reearth/reearth-cms-mcp
claude mcp add reearth-cms -e REEARTH_CMS_TOKEN=your-api-token -e REEARTH_CMS_WORKSPACE_ID=your-workspace-id -- reearth-cms-mcp
Claude Desktop

Add the following to your Claude Desktop config file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
Docker (Recommended)Go
{
  "mcpServers": {
    "reearth-cms": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "-e", "REEARTH_CMS_TOKEN", "-e", "REEARTH_CMS_WORKSPACE_ID", "reearth/reearth-cms-mcp"],
      "env": {
        "REEARTH_CMS_TOKEN": "your-api-token",
        "REEARTH_CMS_WORKSPACE_ID": "your-workspace-id"
      }
    }
  }
}
{
  "mcpServers": {
    "reearth-cms": {
      "command": "reearth-cms-mcp",
      "env": {
        "REEARTH_CMS_TOKEN": "your-api-token",
        "REEARTH_CMS_WORKSPACE_ID": "your-workspace-id"
      }
    }
  }
}
Codex

Add the following to your Codex MCP configuration:

Docker (Recommended)Go
[mcp_servers.reearth-cms]
args = ["run", "-i", "--rm", "reearth/reearth-cms-mcp"]
command = "docker"

[mcp_servers.reearth-cms.env]
REEARTH_CMS_TOKEN = "you-api-token"
REEARTH_CMS_WORKSPACE_ID = "your-workspace-id"
[mcp_servers.reearth-cms]
command = "reearth-cms-mcp"

[mcp_servers.reearth-cms.env]
REEARTH_CMS_TOKEN = "you-api-token"
REEARTH_CMS_WORKSPACE_ID = "your-workspace-id"
Cursor

Add the following to your Cursor MCP configuration (~/.cursor/mcp.json):

Docker (Recommended)Go
{
  "mcpServers": {
    "reearth-cms": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "-e", "REEARTH_CMS_TOKEN", "-e", "REEARTH_CMS_WORKSPACE_ID", "reearth/reearth-cms-mcp"],
      "env": {
        "REEARTH_CMS_TOKEN": "your-api-token",
        "REEARTH_CMS_WORKSPACE_ID": "your-workspace-id"
      }
    }
  }
}
{
  "mcpServers": {
    "reearth-cms": {
      "command": "reearth-cms-mcp",
      "env": {
        "REEARTH_CMS_TOKEN": "your-api-token",
        "REEARTH_CMS_WORKSPACE_ID": "your-workspace-id"
      }
    }
  }
}
Raycast
Docker (Recommended)Go
  1. Open Raycast Settings
  2. Go to Extensions > AI Commands > MCP Servers
  3. Click Add Server and configure:
FieldValue
Namereearth-cms
Commanddocker
Argumentsrun -i --rm -e REEARTH_CMS_TOKEN -e REEARTH_CMS_WORKSPACE_ID reearth/reearth-cms-mcp
  1. Add environment variables:
VariableValue
REEARTH_CMS_TOKENyour-api-token
REEARTH_CMS_WORKSPACE_IDyour-workspace-id

Or via config file (~/.config/raycast/mcp.json):

{
  "mcpServers": {
    "reearth-cms": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "-e", "REEARTH_CMS_TOKEN", "-e", "REEARTH_CMS_WORKSPACE_ID", "reearth/reearth-cms-mcp"],
      "env": {
        "REEARTH_CMS_TOKEN": "your-api-token",
        "REEARTH_CMS_WORKSPACE_ID": "your-workspace-id"
      }
    }
  }
}
  1. Open Raycast Settings
  2. Go to Extensions > AI Commands > MCP Servers
  3. Click Add Server and configure:
FieldValue
Namereearth-cms
Commandreearth-cms-mcp
  1. Add environment variables:
VariableValue
REEARTH_CMS_TOKENyour-api-token
REEARTH_CMS_WORKSPACE_IDyour-workspace-id

Alternatively, you can add the server via Raycast's config file (~/.config/raycast/mcp.json):

{
  "mcpServers": {
    "reearth-cms": {
      "command": "reearth-cms-mcp",
      "env": {
        "REEARTH_CMS_TOKEN": "your-api-token",
        "REEARTH_CMS_WORKSPACE_ID": "your-workspace-id"
      }
    }
  }
}
VS Code
Docker (Recommended)Go
VS Code (version 1.101 or greater)
{
  "mcp": {
    "servers": {
      "reearth-cms": {
        "command": "docker",
        "args": ["run", "-i", "--rm", "-e", "REEARTH_CMS_TOKEN", "-e", "REEARTH_CMS_WORKSPACE_ID", "reearth/reearth-cms-mcp"],
        "env": {
          "REEARTH_CMS_TOKEN": "your-api-token",
          "REEARTH_CMS_WORKSPACE_ID": "your-workspace-id"
        }
      }
    }
  }
}
{
  "mcp": {
    "servers": {
      "reearth-cms": {
        "command": "reearth-cms-mcp",
        "env": {
          "REEARTH_CMS_TOKEN": "your-api-token",
          "REEARTH_CMS_WORKSPACE_ID": "your-workspace-id"
        }
      }
    }
  }
}

License

This project is licensed under the Apache License 2.0. See the file for details.