A Model Context Protocol server for integrating HackMD's note-taking platform with AI assistants.
This is a Model Context Protocol (MCP) server for interacting with the HackMD API. It allows AI assistants to perform operations such as:
HACKMD_API_TOKEN
: [Required] Your HackMD API tokenHACKMD_API_URL
: (Optional) HackMD API Endpoint URL. Default: https://api.hackmd.io/v1
You can get an API token from HackMD settings.
To install HackMD MCP Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @yuna0x0/hackmd-mcp --client claude
# For other MCP clients, use the following command:
# List available clients
npx -y @smithery/cli list clients
# Install to other clients
npx -y @smithery/cli install @yuna0x0/hackmd-mcp --client <client_name>
npx @michaellatman/mcp-get@latest install hackmd-mcp
claude_desktop_config.json
:{
"mcpServers": {
"hackmd": {
"command": "npx",
"args": ["-y", "hackmd-mcp"],
"env": {
"HACKMD_API_TOKEN": "your_api_token"
}
}
}
}
Can you help me manage my HackMD notes?
Then use commands like:
Please list all my notes.
This project uses pnpm as its package manager.
Clone the repository and install dependencies:
git clone https://github.com/yuna0x0/hackmd-mcp.git
cd hackmd-mcp
pnpm install
.env
file by copying the example:cp .env.example .env
.env
file and add your HackMD API token:HACKMD_API_TOKEN=your_api_token
You can use the MCP Inspector to test and debug the HackMD MCP server:
npx @modelcontextprotocol/inspector -e HACKMD_API_TOKEN=your_api_token npx hackmd-mcp
# Use this instead when Local Development
pnpm run inspector
Then open your browser to the provided URL (usually http://127.0.0.1:6274) to access the MCP Inspector interface. From there, you can:
This is particularly useful for testing your setup before connecting it to Claude or another AI assistant.
Pull from Docker Hub:
docker pull yuna0x0/hackmd-mcp
Docker build (Local Development):
docker build -t yuna0x0/hackmd-mcp .
Docker multi-platform build (Local Development):
docker buildx build --platform linux/amd64,linux/arm64 -t yuna0x0/hackmd-mcp .
This MCP server requires your HackMD API token in the .env file or as an environment variable. Keep this information secure and never commit it to version control.
This project is licensed under the MIT License - see the LICENSE file for details.
Create professional PDF invoices using natural language.
Converts Markdown text into HTML compatible with WeChat official accounts using an external API key.
An intelligent task management system based on MCP, providing an efficient programming workflow framework for AI Agents with an optional web-based GUI.
Interact with the Umbraco CMS Management API for administrative tasks.
A server for managing gatherings and sharing expenses.
Connect AI agents with the Feishu/Lark platform for automation, including document processing, conversation management, and calendar scheduling.
Guides problem-solving by breaking down complex problems and recommending the best MCP tools for each step.
A multi-agent mesh network designed for completing AI tasks in parallel.
Interact with Planka, a Trello-like kanban board, to manage projects, boards, and cards. Requires Planka server URL and credentials.
A simple calculator server for performing basic arithmetic operations.