Skip to content
VS Code

HackMD for VS Code

io.github.yuna0x0/hackmd-mcp

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

client:VS Code transport:stdio runtime:npm

Install HackMD in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "hackmd-api-token",
      "description": "HACKMD_API_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "hackmd-api-url",
      "description": "HACKMD_API_URL",
      "password": true
    }
  ],
  "servers": {
    "hackmd-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "hackmd-mcp"
      ],
      "env": {
        "HACKMD_API_TOKEN": "${input:hackmd-api-token}",
        "HACKMD_API_URL": "${input:hackmd-api-url}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

HackMD in other clients