Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix(mcp): replace ATX headings with bold text in tool output#852

Open
Zepp-Hanzj wants to merge 1 commit into
colbymchenry:main from
Zepp-Hanzj:fix/mcp-heading-format-v2
Open

fix(mcp): replace ATX headings with bold text in tool output #852
Zepp-Hanzj wants to merge 1 commit into
colbymchenry:main from
Zepp-Hanzj:fix/mcp-heading-format-v2

Conversation

@Zepp-Hanzj

@Zepp-Hanzj Zepp-Hanzj commented Jun 13, 2026

Copy link
Copy Markdown

Summary

Fixes #778

Replace all ATX headings (##, ###, ####) with bold text (text) in MCP tool output to improve readability across all MCP clients.

Problem

The MCP tools were using ATX headings in their output, which caused rendering issues in MCP clients where headings appear with excessively large fonts, making the output harder to read.

Solution

Replace all heading markers with bold text formatting:

This provides consistent, readable formatting across all MCP clients without the oversized text that headings cause.

Changes

  • 31 replacements in
  • All tool output sections now use bold text instead of headings

Testing

Verified locally by running the MCP server and checking output formatting.

Fixes colbymchenry#778
The MCP tools were using ATX headings (##, ###, ####) in their output,
which caused rendering issues in MCP clients where headings appear with
excessively large fonts. Replace all headings with bold text (**text**)
for better readability across all MCP clients.
Changes:
- Replace ## headings with **bold text**
- Replace ### headings with **bold text**
- Replace #### headings with **bold text**
Signed-off-by: hanzhijian <hanzhijian@zepp.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

MCP tool results use ATX Markdown headings (##/###) — render as oversized fonts in Markdown-rendering clients

1 participant

AltStyle によって変換されたページ (->オリジナル) /