What is the `MD2CARD_API_KEY` used for?
The API key is required to authenticate requests to the MD2Card service when the server runs. It must be set as an environment variable before execution.
@maqi1520
Basic information
md2card-mcp-server
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"md2card": {
"command": "npx",
"args": [
"-y",
"md2card-mcp-server@latest"
],
"env": {
"MD2CARD_API_KEY": "your-key"
}
}
}
}将 Markdown 文档转换为精美的知识卡片
Md2card Mcp Server is an MCP (Model Context Protocol) server that converts Markdown documents into beautifully styled knowledge cards. It integrates with the MD2Card service and is intended for users who want to transform Markdown content into visually formatted cards with multiple theme options.
The server can be run via npx md2card-mcp-server or after global installation with npm install -g md2card-mcp-server. It requires the MD2CARD_API_KEY environment variable to be set. You can supply Markdown content directly, a file path, specify a card type/size, or use the wechat_scraper tool to fetch and convert WeChat articles.
type parameterThe API key is required to authenticate requests to the MD2Card service when the server runs. It must be set as an environment variable before execution.
Yes, the server is distributed via npm and requires Node.js to run either via `npx` or a global install.
Use the `type` parameter (e.g., `"小红书"`, `"正方形"`, `"手机海报"`, `"A4纸打印"`) or supply `width` and `height` values in the request.
Yes, use the `wechat_scraper` tool with the article’s URL. The server returns the full Markdown content including title, author, description, and cover image.
No other external services or runtime dependencies are needed. The API key is only checked when the server actually processes a request, not during installation.
不止于 CSS

Health by Dr Brad works out a health plan from your own results: which screening is due at your age, and evidence-based suggestions, each with the reason and the published guideline or study behind it. Your record is one
YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

Model Context Protocol Servers
A search tool helps dev to solve the naming things problem.
Comments