GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
作者提供的说明(英文原文)
Create GitHub profile and repository cards for READMEs, link previews and social posts.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
GHCARD_API_KEY, Authorization标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
这个地址需要在请求的 header 中放入密钥,而添加连接器的菜单无法设置。请改用 Claude Code、Cursor 或 VS Code。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"githubcard": {
"command": "npx",
"args": [
"-y",
"@ghcardhq/ghcard",
"mcp"
],
"env": {
"GHCARD_API_KEY": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add --transport http githubcard https://githubcard.com/mcp --header 'Authorization: your-value'claude mcp add githubcard --env GHCARD_API_KEY=your-value -- npx -y @ghcardhq/ghcard mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"githubcard": {
"url": "https://githubcard.com/mcp",
"headers": {
"Authorization": "your-value"
}
}
}
}粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"githubcard": {
"command": "npx",
"args": [
"-y",
"@ghcardhq/ghcard",
"mcp"
],
"env": {
"GHCARD_API_KEY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"githubcard": {
"type": "http",
"url": "https://githubcard.com/mcp",
"headers": {
"Authorization": "your-value"
}
}
}
}粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"githubcard": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@ghcardhq/ghcard",
"mcp"
],
"env": {
"GHCARD_API_KEY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个地址需要在请求的 header 中放入密钥,而添加连接器的菜单无法设置。请改用 Claude Code、Cursor 或 VS Code。
你的选择通过 Cookie 保存在这台设备上,无需账户。
Authorization 机密 HTTP header这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
工具名称和描述与服务器在 2026年11月6日 报告的完全一致。这些内容由作者撰写,不是我们写的;我们以纯文本形式显示。
create_cardCreate (or reuse) a published card image for a GitHub profile or repository. Returns svg/png URLs and markdown/html embed snippets. Idempotent; counts once against the daily quota.
validate_cardDry run of create_card with the same inputs: checks template/palette ids, Pro features and the design document, without creating anything or using quota. warnings lists layers that reach outside the artboard (they would be clipped); fix those before create_card.
list_templatesList card layouts with their ids, scope (profile/repo/all), size, widget types, and whether they need Pro.
list_palettesList background palette ids accepted by create_card.
list_componentsList the widget (layer) types a design can contain, with the scope (profile/repo) each fits.
get_template_designReturn a template's layout as an editable design document (artboard + layers). Costs no quota. Edit it and pass it to create_card as design.
get_card_designReturn the design document of one of the account's cards, to edit and re-submit through create_card as design (which creates a new card; the original is unchanged).
list_cardsList cards this account created through the API, most recently requested first. Paginated with nextCursor.
delete_cardPermanently delete one of the account's cards. Its links stop working everywhere they are embedded. Confirm with the user first.
get_usageShow the account's plan (free/pro) and how many cards it can still create today (cards.remaining, resets 00:00 UTC). The ai quota is reserved for future AI tools.
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日
注册名称已通过域名 githubcard.com 验证(注册中心会核实域名所有权)
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
在 323 毫秒内响应(HTTP 200)
无需登录
已读取 10 个工具描述,未发现针对 AI 的隐藏指令
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:GHCARD_API_KEY, Authorization
两种方式都可以:安装在你的电脑上,或者连接云端版本。
GitHub 仓库最后更新于–,最新版本(0.2.1)于7天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。
同一分类中有:GitHub, Desktop Commander, Cloudflare MCP
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
MCP server for terminal commands, file operations, and process management
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Let your AI assistant create GitHubCard images: profile and repository cards for READMEs, link previews and social posts, with live GitHub data.
https://githubcard.com/mcp (Streamable HTTP). Nothing to install.npx -y @ghcardhq/ghcard mcp (stdio), from the ghcard CLI. It can also edit a README on your disk.Ask things like:
Make a GitHubCard for my profile and add it to the top of my README.
Create a dark card for
vercel/next.jsI can use as a link preview.
Use the compact repo template, but with a
#1e3a5fbackground and without the
language widget.
Creating cards needs a free API key. Sign in at githubcard.com/dashboard and create one under API keys. It looks like ghc_live_….
Without a key, the server still lists templates, palettes and widget types, so you can try it before signing up.
Replace ghc_live_… with your key in the examples below.
claude mcp add --transport http githubcard https://githubcard.com/mcp \
--header "Authorization: Bearer ghc_live_…"
There is also a Claude Code plugin that adds the server together with a GitHubCard skill: see ghcardhq/skills.
Settings → Connectors → Add custom connector, URL https://githubcard.com/mcp. Custom headers are not available there yet, so to pass your key, use the local server in claude_desktop_config.json instead:
{
"mcpServers": { "githubcard": { "command": "npx", "args": ["-y", "@ghcardhq/ghcard", "mcp"], "env": { "GHCARD_API_KEY": "ghc_live_…" } } } }
~/.cursor/mcp.json:
{
"mcpServers": { "githubcard": { "url": "https://githubcard.com/mcp", "headers": { "Authorization": "Bearer ghc_live_…" } } } }
.vscode/mcp.json (VS Code asks for the key once and stores it securely):
{
"inputs": [ { "id": "githubcard-key", "type": "promptString", "description": "GitHubCard API key", "password": true } ], "servers": { "githubcard": { "type": "http", "url": "https://githubcard.com/mcp", "headers": { "Authorization": "Bearer ${input:githubcard-key}" } } } }
~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": { "githubcard": { "serverUrl": "https://githubcard.com/mcp", "headers": { "Authorization": "Bearer ghc_live_…" } } } }
~/.codex/config.toml:
[mcp_servers.githubcard]
url = "https://githubcard.com/mcp" bearer_token_env_var = "GHCARD_API_KEY"
Then export GHCARD_API_KEY=ghc_live_… in your shell.
Remote: Streamable HTTP at https://githubcard.com/mcp, header Authorization: Bearer ghc_live_….
Local (stdio): command npx, args ["-y", "@ghcardhq/ghcard", "mcp"], env GHCARD_API_KEY. Add --allow-file-writes to the args to enable update_readme. Needs Node.js 20 or later.
| Tool | Key | What it does |
|---|---|---|
create_card | yes | Create (or reuse) a card for a user or owner/repo. Returns SVG/PNG links and Markdown/HTML embed snippets. Uses one unit of the daily quota |
validate_card | yes | Dry run of create_card: checks ids, Pro features and custom designs, uses no quota |
list_templates | no | Layouts, filterable by scope (profile/repo), Free plan and widget types |
list_palettes | no | Background palettes |
list_components | no | Widget types a card can contain |
get_template_design | no | A template's layout as an editable design document |
get_card_design | yes | The design document of one of your cards |
list_cards | yes | Cards you have created |
delete_card | yes | Delete a card; its links stop working |
get_usage | yes | Your plan and today's remaining quota |
update_readme | local only | Insert or update the card in a Markdown file. Only with ghcard mcp --allow-file-writes |
create_card is idempotent: the same inputs return the same card and link. Card images always show current GitHub data, so there is no need to recreate them.
Failed calls return isError: true with a stable code, a retryable flag and a hint telling the model what to do next.
| Plan | Cards per day |
|---|---|
| Free | 100 |
| Pro | 5000 |
The quota resets at 00:00 UTC. Failed calls are not counted. Free cards carry a small watermark. See pricing.
server.json: the entry in the MCP registry, as com.githubcard/mcpMIT