mirror of
https://github.com/shadoll/redmine-mcp.git
synced 2026-08-28 03:27:56 +00:00
feat: enhance FastMCP initialization with detailed instructions for Markdown usage
This commit is contained in:
+10
-1
@@ -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."
|
||||||
|
),
|
||||||
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user