
Yuna0x0 Hackmd Mcp
ai.smithery由 smithery.ai 发布官方发布者v1.5.3更新于 Oct 25, 2026
Interact with your HackMD notes and teams seamlessly. Manage your notes, view reading history, and…
发布方自己的服务:222wcnm Bilistalkermcp
概览
一个连接 HackMD API 的 MCP 服务器,让助手读取、创建、更新和删除 HackMD 笔记并管理团队。
- 可以做什么
- 读取已认证用户的个人资料和阅读历史,并列出其所属团队。列出、读取、创建、更新和删除个人笔记。列出、创建、更新和删除团队内的笔记。可作为本地进程运行,也可自托管为 HTTP 服务器。
- 适用场景
- 适合在 HackMD 中保存笔记、并希望助手直接起草、编辑、整理或清理个人笔记和团队笔记而无需切换应用的场景。
- 运行要求
- 需要 HackMD API 令牌,通过 HACKMD_API_TOKEN 环境变量或 Hackmd-Api-Token 请求头提供。本地使用需 Node.js 18 或更高版本,或自托管 HTTP 服务器。可选 HACKMD_API_URL 或 Hackmd-Api-Url 指定其他 API 端点。
安装
在 SourceWeft 中
- 打开 控制台中的 Yuna0x0 Hackmd Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
交给智能体安装
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/ai.smithery%2Fyuna0x0-hackmd-mcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。
{
"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)
- Add this server to your
mcp.json/claude_desktop_config.json:
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:
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
List Notes
Create a New Note
Team Collaboration
Local Development
This project uses pnpm as its package manager.
Clone the repository and install dependencies:
Configuration
- Create a
.envfile by copying the example:
- Edit the
.envfile 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 MCP clients like Claude Desktop.
Docker
Pull from GitHub Container Registry:
Docker build (Local Development):
Docker multi-platform build (Local Development):
MCP Bundles (MCPB)
To create an MCP Bundle for this server, run:
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.
来源:README.md,提交 38f6a4b
工具
0版本历史
1- v1.5.3最新Sep 16, 2026
评分
已满足适用检查项的 85%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通必需25 分
- 已声明认证方式必需10 分
- 已列出工具必需15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
其他 Smithery 集成

222wcnm Bilistalkermcp
ai.smithery官方发布者
Bilibili 创作者分析服务器,让助手查询指定用户的资料、视频、动态、专栏、字幕、关注列表和评论。

Zwldarren Akshare One Mcp
ai.smithery官方发布者
远程 MCP 服务器,让助手以只读方式获取中国股市数据:历史与实时行情、新闻和财务报表。

Zhaoganghao Hellomcp
ai.smithery官方发布者
一个小型远程 MCP 服务器,让助手按名字向人问候,并介绍“Hello, World”的由来。

Zeta Chain Cli
ai.smithery官方发布者
一个远程 MCP 服务器,让助手为任意姓名或受众生成友好、可定制的问候语。

Yuna0x0 Anilist Mcp
ai.smithery官方发布者
AniList MCP 服务器,让助手搜索和读取动漫、漫画、角色、制作人员、工作室与用户数据,并凭令牌管理列表、动态和收藏。