HackMD▌
by yuna0x0
Integrate with HackMD API for secure document management in collaborative markdown environments. Create, update, and sha
Integrates with HackMD API to enable document creation, reading, updating, and deletion within collaborative markdown environments through authentication-secured personal and team workflows.
Both formats append explainx.ai attribution and the canonical URL for this MCP server listing.
best for
- / Documentation teams using HackMD
- / Collaborative writing workflows
- / Automated note management
capabilities
- / Create and edit HackMD notes
- / Delete and read existing documents
- / Manage team notes and collaboration
- / Access reading history
- / Get user profile information
- / List and manage teams
what it does
Connects to HackMD's API to create, edit, and manage collaborative markdown documents. Lets you work with HackMD notes, teams, and user data through your MCP client.
about
HackMD is a community-built MCP server published by yuna0x0 that provides AI assistants with tools and capabilities via the Model Context Protocol. Integrate with HackMD API for secure document management in collaborative markdown environments. Create, update, and sha It is categorized under productivity.
how to install
You can install HackMD in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.
license
MIT
HackMD is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.
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)
- Add this server to your
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.
- Restart your MCP client (e.g., Claude Desktop)
- 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:
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:
- Go to HackMD settings.
- Click on "Create API Token".
- Copy the generated token and use it in your
.envfile 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:
git clone https://github.com/yuna0x0/hackmd-mcp.git
cd hackmd-mcp
pnpm install
Configuration
- Create a
.envfile by copying the example:
cp env.example .env
- Edit the
.envfile 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:
npx @modelcontextprotocol/inspector -e HACKMD_API_TOKEN=your_api_token npx hackmd-mcp
# Use this instead when Local Development
pnpm run inspector
Then open your browser to the provided URL (usually http://localhost:6274) to access the MCP Inspector interface. From there, you can:
- Connect to your running HackMD MCP server
- Browse available tools
- Run tools with custom parameters
- 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:
docker pull ghcr.io/yuna0x0/hackmd-mcp
Docker build (Local Development):
docker build -t ghcr.io/yuna0x0/hackmd-mcp .
Docker multi-platform build (Local Development):
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:
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.
FAQ
- What is the HackMD MCP server?
- HackMD is a Model Context Protocol (MCP) server profile on explainx.ai. MCP lets AI hosts (e.g. Claude Desktop, Cursor) call tools and resources through a standard interface; this page summarizes categories, install hints, and community ratings.
- How do MCP servers relate to agent skills?
- Skills are reusable instruction packages (often SKILL.md); MCP servers expose live capabilities. Teams frequently combine both—skills for workflows, MCP for APIs and data. See explainx.ai/skills and explainx.ai/mcp-servers for parallel directories.
- How are reviews shown for HackMD?
- This profile displays 43 aggregated ratings (sample rows for discoverability plus signed-in user reviews). Average score is about 4.6 out of 5—verify behavior in your own environment before production use.
Use Cases▌
Extended AI Capabilities
Add new capabilities to Claude beyond text generation
Example
Access external data sources, execute code, interact with tools and services
Transform Claude from chatbot to action-taking agent
Context Enhancement
Provide Claude with access to relevant context and data
Example
Load project documentation, access knowledge bases, query databases
Get more accurate, context-aware responses
Workflow Automation
Automate multi-step workflows combining AI and external tools
Example
Research → Summarize → Create document → Send notification
Complete complex tasks end-to-end without manual steps
Implementation Guide▌
Prerequisites
- ›Claude Desktop 0.7.0+ or Cursor IDE with MCP support
- ›Basic understanding of MCP architecture and capabilities
- ›Access credentials for integrated services (if required)
- ›Willingness to experiment and iterate on configuration
Time Estimate
15-60 minutes depending on server complexity
Installation Steps
- 1.Install MCP server: npm install -g [package-name] or via GitHub
- 2.Add server configuration to ~/.claude/mcp.json
- 3.Provide required credentials and configuration
- 4.Restart Claude Desktop to load new server
- 5.Test basic functionality with simple prompts
- 6.Explore capabilities and experiment with use cases
- 7.Document successful patterns for reuse
Troubleshooting
- ⚠MCP server not loading: Check config syntax, verify installation
- ⚠Connection errors: Check network, firewall, credentials
- ⚠Feature not working: Read server docs, check required parameters
- ⚠Performance issues: Monitor resource usage, check for network latency
- ⚠Conflicts with other servers: Check port assignments, namespace collisions
Best Practices▌
✓ Do
- +Read server documentation thoroughly before setup
- +Start with simple use cases to validate functionality
- +Test in non-production environment first
- +Monitor resource usage and performance
- +Keep servers updated for bug fixes and new features
- +Document configuration for team members
- +Use environment variables for sensitive configuration
✗ Don't
- −Don't grant overly permissive access to MCP servers
- −Don't skip reading security considerations in docs
- −Don't expose sensitive data without proper controls
- −Don't run untrusted MCP servers without code review
- −Don't ignore error messages—investigate root cause
💡 Pro Tips
- ★Combine multiple MCP servers for powerful workflows
- ★Create custom MCP servers for your specific needs
- ★Share successful configurations with team
- ★Use MCP inspector for debugging
- ★Join MCP community for tips and troubleshooting
Technical Details▌
Architecture
Model Context Protocol standardizes how AI hosts (Claude, Cursor) communicate with external tools and data sources through server implementations.
Protocols
- Model Context Protocol (MCP)
- JSON-RPC 2.0
- stdio or HTTP transport
Compatibility
- Claude Desktop
- Cursor IDE
- Custom MCP clients
When to Use This▌
✓ Use When
Use when you need Claude to access external data, execute actions, or integrate with tools. Best for extending AI capabilities beyond conversation.
✗ Avoid When
Avoid when native integrations exist (use official APIs directly), for real-time critical systems, or when security/compliance requires zero external dependencies.
Integration▌
- →Tool composition: Chain multiple MCP tools in workflows
- →Context augmentation: Provide AI with relevant external data
- →Action delegation: Let AI execute tasks on external systems
- →Bidirectional sync: Keep AI context and external systems in sync
Discussion
Product Hunt–style comments (not star reviews)- No comments yet — start the thread.
List & Promote Your MCP Server
Share your MCP server with the developer community
Ratings
4.6★★★★★43 reviews- ★★★★★Ganesh Mohane· Dec 12, 2024
HackMD has been reliable for tool-calling workflows; the MCP profile page is a good permalink for internal docs.
- ★★★★★Hiroshi Garcia· Dec 8, 2024
According to our notes, HackMD benefits from clear Model Context Protocol framing — fewer ambiguous “AI plugin” claims.
- ★★★★★Hana Farah· Dec 8, 2024
HackMD is a well-scoped MCP server in the explainx.ai directory — install snippets and categories matched our Claude Code setup.
- ★★★★★Diego Nasser· Dec 4, 2024
I recommend HackMD for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.
- ★★★★★Hana Srinivasan· Nov 27, 2024
We wired HackMD into a staging workspace; the listing’s GitHub and npm pointers saved time versus hunting across READMEs.
- ★★★★★Michael Robinson· Nov 23, 2024
Strong directory entry: HackMD surfaces stars and publisher context so we could sanity-check maintenance before adopting.
- ★★★★★Hiroshi Martinez· Nov 23, 2024
HackMD is among the better-indexed MCP projects we tried; the explainx.ai summary tracks the official description.
- ★★★★★Sakshi Patil· Nov 3, 2024
HackMD reduced integration guesswork — categories and install configs on the listing matched the upstream repo.
- ★★★★★Chaitanya Patil· Oct 22, 2024
We wired HackMD into a staging workspace; the listing’s GitHub and npm pointers saved time versus hunting across READMEs.
- ★★★★★Hana White· Oct 18, 2024
HackMD reduced integration guesswork — categories and install configs on the listing matched the upstream repo.
showing 1-10 of 43