dotCMS / dotCMS/core

[DEFECT] MCP server inserting improperly formatted data into Block Editor

Open
#33,284 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

OKR : Customer Support Priority : 4 Low stale Team : Falcon
Dominant language
Java
Stars
970
Forks
486
Avg merge
3d 33m
Merged PRs (30d)
170

Description

Problem Statement

Unless you specifically ask the MCP server to insert data into a Block Editor field as a json string or as HTML, it will try to insert as a json object which displays as improperly formatted data.

Image
Steps to Reproduce

Tell the MCP server to create content in a contentlet that contains a block editor..

Acceptance Criteria

MCP server should insert the data into the block editor without having to specifically specify a format for the data.

dotCMS Version

dotcms-core 25.09.11-1 (September 11, 2025 7:14 PM)

Severity

Low - Minor issue or cosmetic

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the MCP server path that creates a contentlet containing a Block Editor field, then inspect how the field value is formatted when no explicit JSON-string or HTML format is requested. Reproduce the reported case and verify that the inserted Block Editor content displays correctly without requiring a format instruction.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.