Text Processing
Lint Markdown against ~15 markdownlint rules plus 2 Chinese-typography rules, with line-located reports and one-click auto-fix of safe issues
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/markdown-lint-style-checker' \
-H 'Content-Type: application/json' \
-d '{"markdown":"# Project\n\nIntro line. \n\n- item one\n* item two\n\n```\nconst x = 1\n```\n\n### Skipped h2\n\n## 使用Python3开发\n","ruleSet":"default","autoFix":true}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/markdown-lint-style-checker| Name | Type | Required | Description |
|---|---|---|---|
| markdown | textarea | Yes | — |
| ruleSet | select | No | — |
| autoFix | checkbox | No | — |
HTML result
{
"result": "<div>Processed HTML content</div>",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-markdown-lint-style-checker": {
"name": "markdown-lint-style-checker",
"description": "Lint Markdown against ~15 markdownlint rules plus 2 Chinese-typography rules, with line-located reports and one-click auto-fix of safe issues",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=markdown-lint-style-checker",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "markdown-lint-style-checker",
"arguments": {
"markdown": "# Project\n\nIntro line. \n\n- item one\n* item two\n\n```\nconst x = 1\n```\n\n### Skipped h2\n\n## 使用Python3开发\n",
"ruleSet": "default",
"autoFix": true
}
}
}Questions or issues? Contact [email protected]