{
  "markdown": "# @chromium-style-qrcode/mcp\n\n[中文文档](README-zh-CN.md)\n\nAn MCP (Model Context Protocol) server for generating Chromium-style QR codes with circular modules, rounded locators, and an optional center image (Dino logo or custom).\n\n## Features\n\n- **Chromium-style rendering** — circular dot modules, rounded locator corners, matching the QR codes generated by Google Chrome\n- **Dino logo** — the iconic Chrome Dino is drawn in the center by default\n- **Custom center image** — supply a Base64-encoded image to replace the Dino\n- **Toggle center image** — set `showLogo: false` to generate a plain QR code\n- **MCP-native** — communicates over stdio, works with any MCP-compatible client\n\n## Installation\n\n> **Note:** The `type: \"stdio\"` field is not required — it's the default transport for MCP servers configured with `command` and `args`.\n\n### Using npx (recommended)\n\nNo installation required:\n\n```jsonc\n{\n  \"mcpServers\": {\n    \"io.github.chromium-style-qrcode/mcp\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@chromium-style-qrcode/mcp\"]\n    }\n  }\n}\n```\n\n### Using bunx\n\n```jsonc\n{\n  \"mcpServers\": {\n    \"io.github.chromium-style-qrcode/mcp\": {\n      \"command\": \"bunx\",\n      \"args\": [\"@chromium-style-qrcode/mcp\"]\n    }\n  }\n}\n```\n\n### Global install\n\n```bash\nnpm install -g @chromium-style-qrcode/mcp\n```\n\nThen configure the MCP client:\n\n```jsonc\n{\n  \"mcpServers\": {\n    \"io.github.chromium-style-qrcode/mcp\": {\n      \"command\": \"chromium-style-qrcode-mcp\"\n    }\n  }\n}\n```\n\n## Tool\n\n### `generate_qr_code`\n\nGenerate a Chromium-style QR code and return it as a PNG image.\n\n#### Parameters\n\n| Parameter | Type | Required | Default | Description |\n|-----------|------|----------|---------|-------------|\n| `text` | `string` | Yes | — | The text or URL to encode |\n| `showLogo` | `boolean` | No | `true` | Whether to show a center logo |\n| `customLogo` | `string` | No | — | Base64-encoded image to use as the center logo instead of the Dino |\n\n#### Examples\n\n**Basic QR code with Dino logo:**\n\n```json\n{\n  \"text\": \"https://example.com\"\n}\n```\n\n**Plain QR code (no center image):**\n\n```json\n{\n  \"text\": \"https://example.com\",\n  \"showLogo\": false\n}\n```\n\n**QR code with custom center image:**\n\n```json\n{\n  \"text\": \"https://example.com\",\n  \"customLogo\": \"<base64-encoded image data>\"\n}\n```\n\n## Development\n\n```bash\n# Install dependencies\nbun install\n\n# Run in development\nbun run start\n\n# Build\nbun run build\n\n# Lint & format\nbun run lint\nbun run format\n```\n\n## Requirements\n\n- Node.js >= 22.14.0\n\n## License\n\n[MIT](LICENSE)\n",
  "bytes": 2522,
  "sha": "4deff635de1d2e5e00ebb32059b93e658ea78c2f15f28701c7b944d6965f02ed",
  "repo_slug": "chromium-style-qrcode/mcp",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_chromium_style_qrcode_mcp_82f25b44/readme"
}