HackMD MCP Server
This is a Model Context Protocol (MCP) server for interacting with the HackMD API. It allows AI assistants to perform operations such as:
- Get user information
- List user's notes
- Create, read, update, and delete notes
- View read history
- Work with team notes
Requirements
- Node.js 18+
Environment Variables
HACKMD_API_TOKEN
: [Required] Your HackMD API tokenHACKMD_API_URL
: (Optional) HackMD API Endpoint URL. Default:https://api.hackmd.io/v1
You can get an API token from HackMD settings.
Install to Claude Desktop (or other MCP clients)
Installing via Smithery
To install HackMD MCP Server for Claude Desktop automatically via Smithery:
Installing via mcp-get
Manual Installation
- Add this server to your
claude_desktop_config.json
:
- Restart Claude Desktop
- Use the tools to interact with your HackMD account
Available Tools
Profile API
- get_user_info: Get information about the authenticated user
Teams API
- list_teams: List all teams accessible to the user
History API
- get_history: Get user's reading history
Team Notes API
- 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 API
- 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
Then use commands like:
Local Development
This project uses pnpm as its package manager.
Clone the repository and install dependencies:
Configuration
- Create a
.env
file by copying the example:
- Edit the
.env
file and add your HackMD API token:
Debugging with MCP Inspector
You can use the MCP Inspector to test and debug the HackMD MCP server:
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 Claude or another AI assistant.
Docker
Pull from Docker Hub:
Docker build (Local Development):
Docker multi-platform build (Local Development):
Security Notice
This MCP server requires your HackMD API token in the .env file or as an environment variable. 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.
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Tools
Ein Model Context Protocol-Server, der es KI-Assistenten ermöglicht, mit der HackMD-API zu interagieren, um Notizen zu verwalten, einschließlich Erstellen, Lesen, Aktualisieren und Löschen von Notizen.
- Anforderungen
- Umgebungsvariablen
- Auf Claude Desktop (oder anderen MCP-Clients) installieren
- Verfügbare Tools
- Beispielverwendung
- Lokale Entwicklung
- Debuggen mit MCP Inspector
- Docker
- Sicherheitshinweis
- Lizenz
Related Resources
Related MCP Servers
- -securityFlicense-qualityA versatile Model Context Protocol server that enables AI assistants to manage calendars, track tasks, handle emails, search the web, and control smart home devices.Last updated -14
Appwrite MCP Serverofficial
AsecurityAlicenseAqualityA Model Context Protocol server that allows AI assistants to interact with Appwrite's API, providing tools to manage databases, users, functions, teams, and other resources within Appwrite projects.Last updated -8450MIT License- AsecurityAlicenseAqualityA Model Context Protocol server providing AI assistants with access to healthcare data tools, including FDA drug information, PubMed research, health topics, clinical trials, and medical terminology lookup.Last updated -79227MIT License
- -securityFlicense-qualityA comprehensive Model Context Protocol server implementation that enables AI assistants to interact with file systems, databases, GitHub repositories, web resources, and system tools while maintaining security and control.Last updated -11