create_note
Create a new note
Create, read, update and delete HackMD notes — your own and your team's — from the session where the writing is already happening.
LABSCO SUMMARY
Personal and team notes get identical treatment, so a draft can start in your own space and its team copy be updated in the same session without changing tools. The surface is deliberately narrow — notes, teams, user, history — which makes it a document store you can rely on rather than a wiki you have to learn.
Twelve tools over the HackMD API: the same four note operations for personal notes and for team notes, plus the account's teams, its user details and its reading history.
A HackMD account and an API token in HACKMD_API_TOKEN. Node on your PATH.
Add the configuration to your client
USE CASES
Find the team, create the note in it, and keep editing it in place. The team path is the only thing that differs from working in your own space.
Read the note by ID, write the new version back, and check what else you own without leaving the session it was written in.
Reading history gives back what the account opened, which is the fastest route to a note whose title you cannot remember.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
create_noteCreate a new note
create_team_noteCreate a new note in a team
delete_noteDelete a note
delete_team_noteDelete a note in a team
get_historyGet user's reading history
get_noteGet a note by its ID
get_user_infoGet information about the authenticated user
list_team_notesList all notes in a team
list_teamsList all teams accessible to the user
list_user_notesList all notes owned by the user
update_noteUpdate an existing note
update_team_noteUpdate an existing note in a team
BEFORE YOU INSTALL
12 tools when we connected. Create, update and delete exist for both personal and team notes. Over HTTP, a Hackmd-Api-Token header overrides the server's own HACKMD_API_TOKEN.
Both documented clients run the server on your machine.
CONTEXT COST
Rated by the size of the 12 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
{
"mcpServers": {
"hackmd": {
"command": "npx",
"args": [
"-y",
"hackmd-mcp"
],
"env": {
"HACKMD_API_TOKEN": "<YOUR_HACKMD_API_TOKEN>"
}
}
}
}