HK Prompt MCP Server
This is an MCP server that provides custom prompts for guiding bot interactions.
Features
- No Brackets Description: A prompt to instruct bots to avoid using brackets in descriptions.
Setup
- Clone this repository
- Install Python dependencies:
pip install -r requirements.txt
- Run the server:
python -m hkopenai.document_as_code_mcp_server
Running Options
- Default stdio mode:
python -m hkopenai.document_as_code_mcp_server
- SSE mode (port 8000):
python -m hkopenai.document_as_code_mcp_server --sse
- Serve prompt as tool:
python -m hkopenai.document_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.document_as_code_mcp_server",
"--tool"
]
}
}
Testing
Tests are available in tests
. Run with:
pytest