MCP 服务器

TheQRCode.io

io.theqrcode/qr-code-generator
设计与创意 公开且可连接 MCP 2025-11-25

此 MCP 可以做什么

Generates styled QR code images for URLs, WiFi, contacts, email, and text, with optional saved-code analytics.

generate_qr_code
Generate a QR code image. Use this whenever a user asks to create, make, or generate a QR code for a URL, website, WiFi network, contact card, email, or text. Returns a hosted image URL and a base64 data URL for inline display. Colour, size, dot and corner styling, frames and captions are free on every plan and with no key at all — offer them freely. When authenticated, the QR code is saved to the user's account and svg/pdf output becomes available.
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['type', 'content'], 'properties': {'name': {'type': 'string', 'maxLength': 200, 'minLength': 1, 'description': 'Display name when saving via the authenticated API. If omitted, a name is derived from type and content.'}, 'size': {'type': 'integer', 'maximum': 1024, 'minimum': 64, 'description': 'Output image size in pixels (64â\x80\x931024). Defaults to 256.'}, 'type': {'enum': ['url', 'wifi', 'contact', 'text', 'email'], 'type': 'string', 'description': "QR code type. Use 'url' for web links, 'wifi' for network credentials (format: WIFI:T:WPA;S:<ssid>;P:<password>;;), 'contact' for vCard data, 'text' for arbitrary strings, 'email' for email addresses. Every type works without a key."}, 'format': {'enum': ['png', 'svg', 'pdf'], 'type': 'string', 'description': "Output format, returned as a data URL of that type. Defaults to 'png'. svg and pdf REQUIRE an API key: vector and PDF are the most expensive render path, so they sit behind a per-key rate limit rather than a per-IP one. This is a cost control, not a plan feature â\x80\x94 both are free in the dashboard and in the browser generator on every plan."}, 'caption': {'type': 'string', 'maxLength': 60, 'description': "Short text rendered under the code, e.g. 'Scan for the menu'. Forces a frame to be drawn, because the text needs a band to sit on. Free on every plan."}, 'content': {'type': 'string', 'minLength': 1, 'description': "The data to encode. Examples: 'https://example.com' for url, 'WIFI:T:WPA;S:MyNetwork;P:secret;;' for wifi, plain text for text type."}, 'dotStyle': {'enum': ['square', 'dots', 'rounded', 'extra-rounded', 'classy', 'classy-rounded'], 'type': 'string', 'description': 'Shape of the QR modules. Free on every plan, keyless sessions included.'}, 'darkColor': {'type': 'string', 'pattern': '^#[0-9A-Fa-f]{6}$', 'description': "Hex color for dark QR modules, e.g. '#1a1a1a'. Defaults to '#000000'."}, 'frameStyle': {'enum': ['square', 'rounded', 'circle', 'dashed'], 'type': 'string', 'description': "Draw a frame around the code. 'square' means no frame. Free on every plan."}, 'lightColor': {'type': 'string', 'pattern': '^#[0-9A-Fa-f]{6}$', 'description': "Hex color for the background, e.g. '#ffffff'. Defaults to '#FFFFFF'."}, 'captionFont': {'enum': ['inter', 'oswald', 'bebas-neue', 'fredoka', 'playfair-display', 'roboto-slab', 'pacifico', 'dancing-script', 'permanent-marker', 'space-mono'], 'type': 'string', 'description': "Typeface for the caption. Defaults to 'inter' (bold sans). 'pacifico' and 'dancing-script' are scripts, 'permanent-marker' is handwritten, 'playfair-display' and 'roboto-slab' are serifs. Ignored without a caption."}, 'cornerStyle': {'enum': ['square', 'dot', 'extra-rounded'], 'type': 'string', 'description': 'Shape of the three large corner squares. Free on every plan.'}}, 'additionalProperties': False}
get_analytics
Get scan analytics for the authenticated user's QR codes. Optionally filter to a specific QR code by ID. Requires an authenticated API key (Developer plan).
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'qrCodeId': {'type': 'string', 'description': 'Filter analytics to a specific QR code ID. Omit for account-wide totals.'}, 'timeRange': {'enum': ['1h', '1d', '7d', '30d', '90d', '1y'], 'type': 'string', 'description': "Time range for analytics data. Defaults to '30d'."}}, 'additionalProperties': False}
list_qr_codes
List QR codes saved to the authenticated user's account. Supports pagination and filtering by type. Requires an authenticated API key (Developer plan).
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'page': {'type': 'integer', 'minimum': 1, 'description': 'Page number for pagination. Defaults to 1.'}, 'type': {'enum': ['url', 'wifi', 'contact', 'text', 'email'], 'type': 'string', 'description': 'Filter by QR code type.'}, 'limit': {'type': 'integer', 'maximum': 100, 'minimum': 1, 'description': 'Number of QR codes per page (1â\x80\x93100). Defaults to 20.'}}, 'additionalProperties': False}
已更改
generate_qr_code
2026年9月29日 02:59
已更改
generate_qr_code
2026年9月21日 02:57
已添加
get_analytics
2026年9月17日 12:53
已添加
list_qr_codes
2026年9月17日 12:53
已添加
generate_qr_code
2026年9月17日 12:53