drio
Open app

HackMD

Source

A Model Context Protocol server for integrating HackMD's note-taking platform with AI assistants.

Catalog onlyCatalog onlySTDIO

Overview

HackMD MCP is a Model Context Protocol server designed to integrate HackMD's note-taking platform with AI assistants, enabling seamless interaction with notes and user information.

To use HackMD MCP, clone the repository, install dependencies, and configure your HackMD API token. Start the server locally or use it with MCP clients like Claude.

  • Retrieve user information and notes - Create, read, update, and delete notes - View reading history and manage team notes - Debugging tools available through MCP Inspector
  1. Managing personal notes through AI commands.
  2. Collaborating on team notes with AI assistance.
  3. Debugging and testing interactions with the HackMD API.

Add to your AI client

Use these steps to connect HackMD in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "hackmd-yuna0x0": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-hackmd-yuna0x0"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "hackmd-yuna0x0": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-hackmd-yuna0x0"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "hackmd-yuna0x0": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-hackmd-yuna0x0"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "hackmd-yuna0x0": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-hackmd-yuna0x0"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "hackmd-yuna0x0": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-hackmd-yuna0x0"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "hackmd-yuna0x0": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-hackmd-yuna0x0"
      ]
    }
  }
}

FAQ

What is required to run HackMD MCP?

You need Node.js 18+ and a HackMD API token.

Can I use HackMD MCP without cloning the repository?

Yes, you can use bunx to run it directly without cloning.

How do I keep my API token secure?

Store it in a .env file or as an environment variable, and never commit it to version control.