Skip to main content
Glama
profilekit-mcp

profilekit-mcp

by heznpc

profilekit-mcp

MCP-сервер для ProfileKit. Создавайте SVG-карточки профиля GitHub в ходе диалога — из Claude Code, Codex CLI, приложений ChatGPT или любого другого агента с поддержкой MCP.


Зачем нужен MCP

С тех пор как OpenAI и Anthropic совместно анонсировали MCP Apps в конце 2025 года, один 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 — (адаптер MCP для Apps SDK; см. документацию 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 в фоновом режиме и вернет вам URL + фрагмент markdown, готовый для вставки в ваш README.

Инструменты

Инструмент

Описание

list_cards

Перечисление всех 28 типов карточек с кратким описанием и необходимыми параметрами

list_themes

Список из 17 встроенных тем

render

Создание URL карточки + фрагмента markdown + HTML для заданного типа и параметров

render не загружает SVG. Он возвращает URL и фрагменты кода, чтобы вы могли встроить живое изображение везде, где разрешены внешние теги <img> (GitHub README, dev.to, Hashnode, обложка Notion, обложка слайдов).

Пример диалога

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) — возврат готового фрагмента 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