Postcard
Check a link's share card on X, Facebook, LinkedIn: real image size, tag problems, fixed tags.
사용해야 할까요
품질 및 안전성
발견 사항 (3)
- HIGH
- MEDIUMpostcard_check_link_preview에서
- MEDIUMpostcard_check_preview_tags에서
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"postcard": {
"url": "https://postcard.clawhard.com/mcp"
}
}
}원격 엔드포인트
https://postcard.clawhard.com/mcpstreamable-http할 수 있는 일
도구 목록
도구 (2)
🟢postcard_check_link_preview(url)
Use when the user asks how a link will look when shared, why a shared link shows no image or the wrong title, or wants a page checked before a launch post (signals: "link preview", "og:image not showing", "Twitter card", "X card", "social card", "share image", "unfurl", "Open Graph", "LinkedIn preview is blank", "after deploying the landing page"). Fetches the public page the way a link crawler does (following redirects, no JavaScript), reads the og: and twitter: tags with X's documented fallbacks (twitter:* then og:*, last twitter:card wins), downloads the og:image and twitter:image and reads their real pixel size, format and file size from the bytes, and checks robots.txt for Twitterbot and facebookexternalhit on the page and the image. Returns the card X, Facebook, LinkedIn and chat apps will build, every problem with severity and fix (relative or http image URL, image that is really an HTML page, SVG or AVIF, below X's 300x157 / Facebook's 200x200 / LinkedIn's 1200x627, over 5 MB, 2:1 crop of a square logo, tags added by JavaScript, tags past Facebook's first 1 MB, title over X's 70 characters, missing twitter:card, robots.txt blocks), and a paste-ready <meta> block. Rules come from the platforms' docs, with the check date. Example: {"url":"https://example.com/launch"}. Limits: public http/https pages on ports 80 and 443 (localhost and unpublished pages go through postcard_check_preview_tags); platforms cache cards (X for about 7 days), so a fixed page can still show the old card until rescraped; sites that serve different HTML to real crawlers by User-Agent can differ.
입력 스키마
{
"type": "object",
"properties": {
"url": {
"type": "string",
"minLength": 4,
"maxLength": 2000,
"description": "The page address people will share, for example \"https://example.com/blog/launch\"."
}
},
"required": [
"url"
]
}🟢postcard_check_preview_tags(html, url, fetch_image)
Use when the share-card tags need checking in HTML that is not public yet: a page being built, a localhost or staging page, a template, or a <head> block the user pasted (signals: "check my meta tags", "are these og tags right", "before I deploy", "Next.js metadata", "index.html head"). Reads the og: and twitter: tags in the pasted HTML with X's documented fallbacks and returns the same result as postcard_check_link_preview: the card each platform will build, problems with fixes (missing og:image or twitter:card, relative image path, title over X's 70 characters, duplicates, name= instead of property=, tags in <body>, a JavaScript app shell with no tags) and a paste-ready <meta> block. The page is not fetched; with fetch_image true, a public absolute image URL is downloaded to read its real size, format and bytes. Example: {"html":"<head><meta property=\"og:title\" content=\"Launch\"><meta property=\"og:image\" content=\"/og.png\"></head>","url":"https://example.com/launch"}. Limits: robots.txt and redirects of the page are not checked (no fetch); without url, relative image paths cannot be resolved.
입력 스키마
{
"type": "object",
"properties": {
"html": {
"type": "string",
"minLength": 1,
"maxLength": 400000,
"description": "The page HTML, or at least its <head> with the meta tags (up to 400,000 characters)."
},
"url": {
"type": "string",
"minLength": 4,
"maxLength": 2000,
"description": "Optional address the page will be served at, used to turn relative image paths into full URLs and to compare og:url."
},
"fetch_image": {
"type": "boolean",
"description": "true to download the public og:image / twitter:image and read its real pixel size, format and file size. Default false (nothing is fetched)."
}
},
"required": [
"html"
]
}커뮤니티
증거