Skip to main content

HackMD MCP

HackMD MCP 是一個命令行工具和 MCP 服務,用於與 HackMD API 交互。

安裝

# 從 GitHub 安裝
git clone https://github.com/yourusername/hackmd-mcp.git
cd hackmd-mcp
pip install -e .

# 或從 PyPI 安裝(如果已發布)
pip install hackmd-mcp

設置

使用前需設定 HackMD API 令牌:

export HACKMD_API_TOKEN=您的API令牌

使用方法

基本命令

# 顯示幫助信息
hackmd-mcp --help

# 列出所有筆記
hackmd-mcp list

# 獲取筆記
hackmd-mcp get 筆記ID

# 創建筆記
hackmd-mcp create --title "標題" --content "內容" --tag 標籤1 --tag 標籤2

# 更新筆記
hackmd-mcp update 筆記ID --title "新標題" --content "新內容"

# 刪除筆記
hackmd-mcp delete 筆記ID

# 搜尋筆記
hackmd-mcp search 關鍵詞

作為 MCP 服務運行

# 啟動 HackMD MCP 服務
hackmd-mcp server

作者

Oliver

授權

MIT

Metadata

Release files for hackmd-mcp 0.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hackmd-mcp 0.2.3
File Size Uploaded Provenance
hackmd_mcp-0.2.3.tar.gz 10.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for hackmd-mcp 0.2.3
File Interpreter ABI Platform
hackmd_mcp-0.2.3-py3-none-any.whl Python 3 none any Details

Total release size: 20.9 kB

Release files / hackmd_mcp-0.2.3.tar.gz

Download URL hackmd_mcp-0.2.3.tar.gz
Size 10.5 kB
Tags Source
SHA-256 checksum
How to use checksums
d03c31fc68bca67c7610d312fe405bcd0bae6892f4c532e13400405da56cbfcd
BLAKE2b-256 checksum
How to use checksums
60db74933f41924ab1d36bb0ee8f9ec5f85e957715cddb397b3baf1ca24e9d0c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.5

Release files / hackmd_mcp-0.2.3-py3-none-any.whl

Download URL hackmd_mcp-0.2.3-py3-none-any.whl
Size 10.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7ad80c56a69449a2eab6560bc0d258ae4098d5618653b106c21dc1284ce9181a
BLAKE2b-256 checksum
How to use checksums
e5809d6db478305f35ba922ba2a26a17709a41c612a3b957c331950885604a42
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.5

Security for hackmd-mcp 0.2.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page