yuna0x0/hackmd-mcp
A Model Context Protocol server for integrating HackMD's note-taking platform with AI assistants.
Platform-specific configuration:
{
"mcpServers": {
"hackmd-mcp": {
"command": "npx",
"args": [
"-y",
"hackmd-mcp"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
A Model Context Protocol (MCP) server that interfaces with the HackMD API, allowing LLM clients to access and interact with HackMD notes, teams, user profiles, and history data.
mcp.json / claude_desktop_config.json:{
"mcpServers": {
"hackmd": {
"command": "npx",
"args": ["-y", "hackmd-mcp"],
"env": {
"HACKMD_API_TOKEN": "your_api_token"
}
}
}
}You may also optionally set the HACKMD_API_URL environment variable if you need to use a different HackMD API endpoint.
Follow the Local Development instructions to set up the project locally, then run:
pnpm run start:httpThis will start the server on port 8081 by default. You can change the port by setting the PORT environment variable.
You can deploy this MCP server to any cloud platform that supports Node.js server applications.
You can also deploy via MCP platforms like Smithery.
When using the STDIO transport or hosting the HTTP transport server, you can pass configuration via environment variables:
HACKMD_API_TOKEN: HackMD API Token (Required for all operations)HACKMD_API_URL: (Optional) HackMDLoading reviews...