feat: enhance FastMCP initialization with detailed instructions for Markdown usage

This commit is contained in:
sha
2026-03-20 19:13:50 +02:00
parent a74e59950d
commit 7517129ba0
+10 -1
View File
@@ -1,3 +1,12 @@
from mcp.server.fastmcp import FastMCP from mcp.server.fastmcp import FastMCP
mcp = FastMCP("redmine") mcp = FastMCP(
"redmine",
instructions=(
"You are connected to a Redmine project management server. "
"Redmine renders text fields (descriptions, comments, wiki pages) as Markdown. "
"Always use Markdown syntax for formatting — headings (#), bold (**text**), "
"italic (*text*), code (`code`), code blocks (```), lists (- item), "
"and links ([text](url)). Never use HTML tags."
),
)