HK Prompt MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
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.
Related MCP server: CC-Meta
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
Clone this repository
Install Python dependencies:
pip install -r requirements.txtRun the server:
python -m hkopenai.diagram_as_code_mcp_serverRunning Options
Default stdio mode:
python -m hkopenai.diagram_as_code_mcp_serverSSE mode (port 8000):
python -m hkopenai.diagram_as_code_mcp_server --sseServe 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:
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:
pytestThis server cannot be deployed
Maintenance
Related MCP Connectors
An MCP server that integrates with Discord to provide AI-powered features.
MCP server for Midjourney AI image generation and editing
MCP server for AI agent profiles and smart notes. 60+ coding prompt packs with expert personas.
MCP server for Flux AI image generation
Related MCP Servers
- FlicenseCqualityDmaintenanceThis is an MCP server that facilitates building tools for interacting with various APIs and workflows, supporting Python-based development with potential for customizable prompts and user configurations.1-
- AlicenseNot gradedqualityDmaintenanceAn MCP server that evaluates prompts using AI to provide detailed feedback on clarity, completeness, and effectiveness.5ISC
- AlicenseAqualityCmaintenanceMCP server providing on-demand access to official prompting guides for building robust meta-prompts.23MIT
- AlicenseAqualityDmaintenanceMCP server for community-driven prompt voting and discovery — submit, upvote, and find the best AI prompts.718 PyPIMIT