Skip to main content
Glama
profilekit-mcp

profilekit-mcp

by heznpc

profilekit-mcp

ProfileKit用MCPサーバー。 Claude Code、Codex CLI、ChatGPT Apps、その他MCP対応エージェントから、会話を通じてGitHubプロフィールのSVGカードを作成できます。


MCPの利点

2025年後半にOpenAIとAnthropicがMCP Appsを共同発表して以来、単一のMCPサーバーでClaude Code + Codex CLI + ChatGPTをネイティブにカバーできるようになりました。プラットフォームごとのアダプターは不要です。

Related MCP server: unbiased

インストール

npm install -g @heznpc/profilekit-mcp

エージェントへの登録

Claude Code — リポジトリ内の .claude/settings.json に追加します:

{
  "mcpServers": {
    "profilekit": { "command": "profilekit-mcp" }
  }
}

Codex CLI — ~/.codex/config.toml に追加します:

[mcp_servers.profilekit]
command = "profilekit-mcp"

ChatGPT Apps — (Apps SDK MCPアダプター。接続方法についてはApps SDKドキュメントを参照してください)

使用方法

登録済みのエージェント内で、以下のように尋ねるだけです:

> What ProfileKit cards exist?
> Render a tokyo_night stats card for heznpc.
> Give me a hero banner saying "heznpc" with subtitle "Building the ecosystem AI lives in", wave background, space-grotesk font.
> Build a kanagawa-themed pin card for heznpc/ProfileKit.

エージェントは内部で list_cards / list_themes / render を呼び出し、READMEに貼り付け可能なURLとMarkdownスニペットを返します。

ツール

ツール

説明

list_cards

28種類のカードタイプすべてを、1行の説明と必要なパラメータとともに列挙します

list_themes

17種類の組み込みテーマを一覧表示します

render

指定されたタイプとパラメータに基づいて、カードのURL、Markdown、HTMLスニペットを作成します

render はSVGを直接取得しません。外部の <img> タグが許可されている場所(GitHub README、dev.to、Hashnode、Notionのカバー、スライドのカバーなど)にライブ画像を埋め込めるよう、URLとスニペットを返します。

会話例

You: Render a pin card for heznpc/anvil using the rose_pine theme.

Agent: [calls render(type="pin", params={username: "heznpc", repo: "anvil", theme: "rose_pine"})]

URL:
https://profilekit.vercel.app/api/pin?username=heznpc&repo=anvil&theme=rose_pine

Markdown:
![pin](https://profilekit.vercel.app/api/pin?username=heznpc&repo=anvil&theme=rose_pine)

HTML:
<img src="https://profilekit.vercel.app/api/pin?username=heznpc&repo=anvil&theme=rose_pine" alt="pin" />

ロードマップ

  • v0.2 — ProfileKitの /api/catalog エンドポイントからの動的なカタログ同期(新しいカードがリリースされた際に自動更新)

  • v0.3 — compose_readme(sections) ツール — 1回の呼び出しでブログレイアウトのREADMEスニペット全体を返します

  • v0.4 — オプションのSVGインライン化(マークアップを推論したいエージェントのために、カードコンテンツをレスポンスに取得)

  • v1.0 — 呼び出し元のビジョン/LLM機能を活用したパレット提案ツール(組み込みのモデル呼び出しはなし)

ライセンス

MIT © heznpc

Available Tools

3 tools
list_cardsA

List every ProfileKit card type (stats, hero, snake, ...) with a one-line description and the required params for each. Use this before calling render when the user asks what cards exist or which to use. Catalog is fetched live from ProfileKit on first call and cached per process.

Inputs: no named parameters.

list_themesA

List built-in ProfileKit themes (dark, tokyo_night, kanagawa, rose_pine, ...). Any card accepts ?theme=<name>. For fully custom palettes use ?theme_url= pointing to a JSON gist.

Inputs: no named parameters.

renderA

Build a ProfileKit card URL plus ready-to-paste markdown and HTML snippets for the given card type and params. Does NOT fetch the SVG itself — the URL is what consumers embed. Call list_cards first if unsure which type or what params the user's card accepts.

Inputs: type (required), params, alt.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.3/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool has a distinct purpose: list_cards discovers available card types, list_themes retrieves theme options, and render generates card URLs. There is no overlap between them.

    Naming Consistency4/5

    Tools follow a consistent 'verb_noun' pattern with 'list_' for listing and 'render' for generation. 'render' is a bare verb while others have prefix, but it's minor.

    Tool Count5/5

    With 3 tools covering listing, theming, and rendering, the scope is tight and focused. Each tool is essential and the count is appropriate for a card generation server.

    Completeness3/5

    The tools cover the core workflow of discovering cards and themes and generating URLs, but there is no tool for updating or deleting cards (if such operations exist), nor for fetching the rendered SVG directly.

    Maintenance

    ActivityNo data
    ResponsivenessSyncing

    Related MCP Connectors

    Related MCP Servers