JUHE API Marketplace
hkopenai avatar
MCP Server

HK Prompt MCP Server

An MCP server that provides custom prompts for guiding bot interactions, specifically to avoid using brackets in descriptions.

1
GitHub Stars
11/23/2025
Last Updated
MCP Server Configuration
1{
2 "name": "hk-prompt-server",
3 "disabled": false,
4 "timeout": 3,
5 "type": "stdio",
6 "command": "python",
7 "args": [
8 "-m",
9 "hkopenai.diagram_as_code_mcp_server",
10 "--tool"
11 ]
12}
JSON12 lines
  1. Home
  2. MCP Servers
  3. document_as_code

README Documentation

Diagram as Code MCP Server

This is a MCP server to provide mermaid js validation tools and prompt for MCP client

Why Use This MCP Server?

This MCP server is essential for MCP clients working with Mermaid.js diagrams. Large Language Models (LLMs) might be trained with older data and outdated Mermaid.js syntax, and they may not have enough content trained to effectively fix syntax errors. This server addresses these critical limitations by providing specialized tools to assist in authoring, validating, and automatically fixing Mermaid.js syntax, ensuring diagrams are correctly formatted and functional.

Features

  • No Brackets Description: A prompt to instruct bots to avoid using brackets in descriptions.
  • Mermaid.js Support: A tool to assist in authoring, validating, and fixing syntax for Mermaid.js diagrams.

Setup

  1. Clone this repository
  2. Install Python dependencies:
pip install -r requirements.txt
  1. Run the server:
python -m hkopenai.diagram_as_code_mcp_server

Running Options

  • Default stdio mode: python -m hkopenai.diagram_as_code_mcp_server
  • SSE mode (port 8000): python -m hkopenai.diagram_as_code_mcp_server --sse
  • Serve prompt as tool: python -m hkopenai.diagram_as_code_mcp_server --tool

Cline Integration

Cline does not support prompt from mcp server at this moment. The prompt is provided as tool:

To connect this MCP server to Cline using stdio:

  1. Add this configuration to your Cline MCP settings (cline_mcp_settings.json):
{
  "hk-prompt-server": {
    "disabled": false,
    "timeout": 3,
    "type": "stdio",
    "command": "python",
    "args": [
      "-m",
      "hkopenai.diagram_as_code_mcp_server",
      "--tool"
    ]
  }
}

Testing

Tests are available in tests. Run with:

pytest

Quick Install

Quick Actions

View on GitHubView All Servers

Key Features

Model Context Protocol
Secure Communication
Real-time Updates
Open Source

Boost your projects with Wisdom Gate LLM API

Supporting GPT-5, Claude-4, DeepSeek v3, Gemini and more.

Enjoy a free trial and save 20%+ compared to official pricing.

Learn More
JUHE API Marketplace

Accelerate development, innovate faster, and transform your business with our comprehensive API ecosystem.

JUHE API VS

  • vs. RapidAPI
  • vs. API Layer
  • API Platforms 2025
  • API Marketplaces 2025
  • Best Alternatives to RapidAPI

For Developers

  • Console
  • Collections
  • Documentation
  • MCP Servers
  • Free APIs
  • Temp Mail Demo

Product

  • Browse APIs
  • Suggest an API
  • Wisdom Gate LLM
  • Global SMS Messaging
  • Temp Mail API

Company

  • What's New
  • Welcome
  • About Us
  • Contact Support
  • Terms of Service
  • Privacy Policy
Featured on Startup FameFeatured on Twelve ToolsFazier badgeJuheAPI Marketplace - Connect smarter, beyond APIs | Product Huntai tools code.marketDang.ai
Copyright © 2025 - All rights reserved