Requires Node 18+ on your system so npx can fetch the package on first run. Claude Desktop only speaks stdio locally; HTTP servers are wrapped via npx mcp-remote automatically. Paste the config below, then follow the reload step to register hackmd-mcp.
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.json{
"mcpServers": {
"hackmd": {
"command": "npx",
"args": [
"-y",
"hackmd-mcp"
],
"env": {
"HACKMD_API_TOKEN": "your_api_token"
}
}
}
}