Yuna0x0 Hackmd Mcp

ai.smitheryPublished by smithery.aiOfficial publisherv1.5.3Updated Oct 25, 2026

Interact with your HackMD notes and teams seamlessly. Manage your notes, view reading history, and…

The publisher's own server: 222wcnm Bilistalkermcp

VerifiedStreamable HTTPWeb executableProductivity & WorkflowCommunication & Collaboration

Overview

AI-generated overview

An MCP server that connects an assistant to the HackMD API so it can read, create, update and delete HackMD notes and manage teams.

What you can do
Read the authenticated user's profile and reading history, and list the teams they belong to. List, read, create, update and delete personal notes. List, create, update and delete notes inside a team. Runs either as a local process or as a self-hosted HTTP server.
When to use it
Useful when you keep notes in HackMD and want an assistant to draft, edit, organize or clean up notes and team notes without switching apps.
Requirements
A HackMD API token, supplied as the HACKMD_API_TOKEN environment variable or the Hackmd-Api-Token header. Node.js 18 or later for local use, or a self-hosted HTTP server. Optionally HACKMD_API_URL or Hackmd-Api-Url to point at a different API endpoint.
Before you install
The HackMD API token grants access to your notes and teams, so keep it out of version control. Create, update and delete tools change or remove real notes, including team notes. If you host the HTTP server with a token pre-configured, anyone who can reach it can use your token unless you add authentication.

Installation

In SourceWeft

  1. Open Yuna0x0 Hackmd Mcp in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/ai.smithery%2Fyuna0x0-hackmd-mcp/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "yuna0x0-hackmd": {
      "type": "http",
      "url": "https://server.smithery.ai/@yuna0x0/hackmd-mcp/mcp"
    }
  }
}

README

HackMD MCP Server

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.

Features

  • Get user profile information
  • Create, read, update, and delete notes
  • Manage team notes and collaborate with team members
  • Access reading history
  • List and manage teams
  • Dual transport support: Both HTTP and STDIO transports
  • Cloud deployment ready: Support Smithery and other platforms

Requirements

  • Node.js 18+

Local Installation (STDIO Transport)

  1. Add this server to your mcp.json / claude_desktop_config.json:
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.

  1. Restart your MCP client (e.g., Claude Desktop)
  2. Use the tools to interact with HackMD

Server Deployment (HTTP Transport)

Self-Hosting

Follow the Local Development instructions to set up the project locally, then run:

bash
pnpm run start:http

This will start the server on port 8081 by default. You can change the port by setting the PORT environment variable.

Cloud Deployment

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.

Configuration

Environment Variables (STDIO Transport and HTTP Transport server where host provides the config)

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) HackMD API URL (Defaults to https://api.hackmd.io/v1)

Environment variables applied only for the HTTP transport server:

  • ALLOWED_HACKMD_API_URLS: (Optional) A comma-separated list of allowed HackMD API URLs. The server will reject requests if the provide HackMD API URL is not in this list. If not set, only the default URL (https://api.hackmd.io/v1) is allowed.

[!CAUTION] If you are hosting the HTTP transport server with token pre-configured, you should protect your endpoint and implement authentication before allowing users to access it. Otherwise, anyone can access your MCP server while using your HackMD token.

HTTP Headers (HTTP Transport where user provides the config)

When using the HTTP transport, user can pass configuration via HTTP headers:

  • Hackmd-Api-Token: HackMD API Token (Required for all operations)
  • Hackmd-Api-Url: (Optional) HackMD API URL (Defaults to https://api.hackmd.io/v1)

If the user provides the token in the header, while the server also has HACKMD_API_TOKEN set, the header value will take precedence.

Get a HackMD API Token

To get an API token, follow these steps:

  1. Go to HackMD settings.
  2. Click on "Create API Token".
  3. Copy the generated token and use it in your .env file or environment variables.

Available Tools

Profile Tools

  • get_user_info: Get information about the authenticated user

Teams Tools

  • list_teams: List all teams accessible to the user

History Tools

  • get_history: Get user's reading history

Team Notes Tools

  • list_team_notes: List all notes in a team
  • create_team_note: Create a new note in a team
  • update_team_note: Update an existing note in a team
  • delete_team_note: Delete a note in a team

User Notes Tools

  • list_user_notes: List all notes owned by the user
  • get_note: Get a note by its ID
  • create_note: Create a new note
  • update_note: Update an existing note
  • delete_note: Delete a note

Example Usage

Basic Note Management

Can you help me manage my HackMD notes?

List Notes

Please list all my notes.

Create a New Note

Create a new note with the title "Meeting Notes" and content:```# Meeting Notes
Discussion points:- Item 1- Item 2```

Team Collaboration

Show me all the teams I'm part of and list the notes in the first team.

Local Development

This project uses pnpm as its package manager.

Clone the repository and install dependencies:

bash
git clone https://github.com/yuna0x0/hackmd-mcp.gitcd hackmd-mcppnpm install

Configuration

  1. Create a .env file by copying the example:
bash
cp env.example .env
  1. Edit the .env file and add your HackMD API token:
HACKMD_API_TOKEN=your_api_token

Debugging with MCP Inspector

You can use the MCP Inspector to test and debug the HackMD MCP server:

bash
npx @modelcontextprotocol/inspector -e HACKMD_API_TOKEN=your_api_token npx hackmd-mcp
# Use this instead when Local Developmentpnpm run inspector

Then open your browser to the provided URL (usually http://localhost:6274) to access the MCP Inspector interface. From there, you can:

  1. Connect to your running HackMD MCP server
  2. Browse available tools
  3. Run tools with custom parameters
  4. View the responses

This is particularly useful for testing your setup before connecting it to MCP clients like Claude Desktop.

Docker

Pull from GitHub Container Registry:

bash
docker pull ghcr.io/yuna0x0/hackmd-mcp

Docker build (Local Development):

bash
docker build -t ghcr.io/yuna0x0/hackmd-mcp .

Docker multi-platform build (Local Development):

bash
docker buildx build --platform linux/amd64,linux/arm64 -t ghcr.io/yuna0x0/hackmd-mcp .

MCP Bundles (MCPB)

To create an MCP Bundle for this server, run:

bash
pnpm run pack:mcpb

Security Notice

This MCP server accepts your HackMD API token in the .env file, environment variable or HTTP header. Keep this information secure and never commit it to version control.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Source: README.md at commit 38f6a4b

Tools

0
SourceWeft has not read this server's tools yet.

Version history

1
  1. v1.5.3LatestSep 16, 2026

Score

85% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

Other Smithery integrations